Data structure for the representation of a matrix of values of the data type float. More...
#include <FloatMatrix.h>
Public Member Functions | |
CFloatMatrix () | |
CFloatMatrix (int nColumns, int nRows, bool bHeaderOnly=false) | |
CFloatMatrix (const CFloatMatrix *pMatrix, bool bHeaderOnly=false) | |
CFloatMatrix (const CFloatMatrix &matrix, bool bHeaderOnly=false) | |
bool | LoadFromFile (const char *pFileName) |
float & | operator() (const int nColumn, const int nRow) |
const float & | operator() (const int nColumn, const int nRow) const |
float * | operator[] (const int nRow) |
const float * | operator[] (const int nRow) const |
bool | SaveToFile (const char *pFileName) |
~CFloatMatrix () | |
Public Attributes | |
int | columns |
float * | data |
int | rows |
Private Member Functions | |
void | FreeMemory () |
Private Attributes | |
bool | m_bOwnMemory |
Data structure for the representation of a matrix of values of the data type float.
Definition at line 56 of file FloatMatrix.h.
CFloatMatrix::CFloatMatrix | ( | ) |
Definition at line 62 of file FloatMatrix.cpp.
CFloatMatrix::CFloatMatrix | ( | int | nColumns, |
int | nRows, | ||
bool | bHeaderOnly = false |
||
) |
Definition at line 70 of file FloatMatrix.cpp.
CFloatMatrix::CFloatMatrix | ( | const CFloatMatrix * | pMatrix, |
bool | bHeaderOnly = false |
||
) |
Definition at line 104 of file FloatMatrix.cpp.
CFloatMatrix::CFloatMatrix | ( | const CFloatMatrix & | matrix, |
bool | bHeaderOnly = false |
||
) |
Definition at line 87 of file FloatMatrix.cpp.
CFloatMatrix::~CFloatMatrix | ( | ) |
Definition at line 121 of file FloatMatrix.cpp.
|
private |
Definition at line 131 of file FloatMatrix.cpp.
bool CFloatMatrix::LoadFromFile | ( | const char * | pFileName | ) |
Definition at line 143 of file FloatMatrix.cpp.
|
inline |
Definition at line 75 of file FloatMatrix.h.
|
inline |
Definition at line 78 of file FloatMatrix.h.
|
inline |
Definition at line 76 of file FloatMatrix.h.
|
inline |
Definition at line 79 of file FloatMatrix.h.
bool CFloatMatrix::SaveToFile | ( | const char * | pFileName | ) |
Definition at line 200 of file FloatMatrix.cpp.
int CFloatMatrix::columns |
Definition at line 89 of file FloatMatrix.h.
float* CFloatMatrix::data |
Definition at line 91 of file FloatMatrix.h.
|
private |
Definition at line 95 of file FloatMatrix.h.
int CFloatMatrix::rows |
Definition at line 90 of file FloatMatrix.h.