My Project
Loading...
Searching...
No Matches
row_col_weight Class Reference

Public Member Functions

 row_col_weight ()
 
 row_col_weight (int, int)
 
 ~row_col_weight ()
 

Data Fields

float * wrow
 
float * wcol
 

Private Attributes

int ym
 
int yn
 

Detailed Description

Definition at line 882 of file matpol.cc.

Constructor & Destructor Documentation

◆ row_col_weight() [1/2]

row_col_weight::row_col_weight ( )
inline

Definition at line 888 of file matpol.cc.

888: ym(0) {}

◆ row_col_weight() [2/2]

row_col_weight::row_col_weight ( int i,
int j )

Definition at line 893 of file matpol.cc.

894{
895 ym = i;
896 yn = j;
897 wrow = (float *)omAlloc(i*sizeof(float));
898 wcol = (float *)omAlloc(j*sizeof(float));
899}
int i
Definition cfEzgcd.cc:132
float * wcol
Definition matpol.cc:887
float * wrow
Definition matpol.cc:887
int j
Definition facHensel.cc:110
#define omAlloc(size)

◆ ~row_col_weight()

row_col_weight::~row_col_weight ( )

Definition at line 900 of file matpol.cc.

901{
902 if (ym!=0)
903 {
904 omFreeSize((ADDRESS)wcol, yn*sizeof(float));
905 omFreeSize((ADDRESS)wrow, ym*sizeof(float));
906 }
907}
void * ADDRESS
Definition auxiliary.h:120
#define omFreeSize(addr, size)

Field Documentation

◆ wcol

float * row_col_weight::wcol

Definition at line 887 of file matpol.cc.

◆ wrow

float* row_col_weight::wrow

Definition at line 887 of file matpol.cc.

◆ ym

int row_col_weight::ym
private

Definition at line 885 of file matpol.cc.

◆ yn

int row_col_weight::yn
private

Definition at line 885 of file matpol.cc.


The documentation for this class was generated from the following file: