Data structure for the representation of a matrix of values of the data type double. More...
#include <DoubleMatrix.h>
Public Member Functions | |
CDoubleMatrix () | |
CDoubleMatrix (int nColumns, int nRows, bool bHeaderOnly=false) | |
CDoubleMatrix (const CDoubleMatrix *pMatrix, bool bHeaderOnly=false) | |
CDoubleMatrix (const CDoubleMatrix &matrix, bool bHeaderOnly=false) | |
double & | operator() (const int nColumn, const int nRow) |
const double & | operator() (const int nColumn, const int nRow) const |
double * | operator[] (const int nRow) |
const double * | operator[] (const int nRow) const |
~CDoubleMatrix () | |
Public Attributes | |
int | columns |
double * | data |
int | rows |
Private Member Functions | |
void | FreeMemory () |
bool | LoadFromFileText (const char *pFileName) |
Private Attributes | |
bool | m_bOwnMemory |
Data structure for the representation of a matrix of values of the data type double.
Definition at line 54 of file DoubleMatrix.h.
Definition at line 61 of file DoubleMatrix.cpp.
CDoubleMatrix::CDoubleMatrix | ( | int | nColumns, |
int | nRows, | ||
bool | bHeaderOnly = false |
||
) |
Definition at line 69 of file DoubleMatrix.cpp.
CDoubleMatrix::CDoubleMatrix | ( | const CDoubleMatrix * | pMatrix, |
bool | bHeaderOnly = false |
||
) |
Definition at line 104 of file DoubleMatrix.cpp.
CDoubleMatrix::CDoubleMatrix | ( | const CDoubleMatrix & | matrix, |
bool | bHeaderOnly = false |
||
) |
Definition at line 86 of file DoubleMatrix.cpp.
Definition at line 121 of file DoubleMatrix.cpp.
void CDoubleMatrix::FreeMemory | ( | ) | [private] |
Definition at line 131 of file DoubleMatrix.cpp.
bool CDoubleMatrix::LoadFromFileText | ( | const char * | pFileName | ) | [private] |
double& CDoubleMatrix::operator() | ( | const int | nColumn, |
const int | nRow | ||
) | [inline] |
Definition at line 69 of file DoubleMatrix.h.
const double& CDoubleMatrix::operator() | ( | const int | nColumn, |
const int | nRow | ||
) | const [inline] |
Definition at line 72 of file DoubleMatrix.h.
double* CDoubleMatrix::operator[] | ( | const int | nRow | ) | [inline] |
Definition at line 70 of file DoubleMatrix.h.
const double* CDoubleMatrix::operator[] | ( | const int | nRow | ) | const [inline] |
Definition at line 73 of file DoubleMatrix.h.
Definition at line 83 of file DoubleMatrix.h.
double* CDoubleMatrix::data |
Definition at line 85 of file DoubleMatrix.h.
bool CDoubleMatrix::m_bOwnMemory [private] |
Definition at line 89 of file DoubleMatrix.h.
Definition at line 84 of file DoubleMatrix.h.