Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
CFloatMatrix Class Reference

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
 

Detailed Description

Data structure for the representation of a matrix of values of the data type float.

Definition at line 56 of file FloatMatrix.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void CFloatMatrix::FreeMemory ( )
private

Definition at line 131 of file FloatMatrix.cpp.

bool CFloatMatrix::LoadFromFile ( const char *  pFileName)

Definition at line 143 of file FloatMatrix.cpp.

float& CFloatMatrix::operator() ( const int  nColumn,
const int  nRow 
)
inline

Definition at line 75 of file FloatMatrix.h.

const float& CFloatMatrix::operator() ( const int  nColumn,
const int  nRow 
) const
inline

Definition at line 78 of file FloatMatrix.h.

float* CFloatMatrix::operator[] ( const int  nRow)
inline

Definition at line 76 of file FloatMatrix.h.

const float* CFloatMatrix::operator[] ( const int  nRow) const
inline

Definition at line 79 of file FloatMatrix.h.

bool CFloatMatrix::SaveToFile ( const char *  pFileName)

Definition at line 200 of file FloatMatrix.cpp.

Member Data Documentation

int CFloatMatrix::columns

Definition at line 89 of file FloatMatrix.h.

float* CFloatMatrix::data

Definition at line 91 of file FloatMatrix.h.

bool CFloatMatrix::m_bOwnMemory
private

Definition at line 95 of file FloatMatrix.h.

int CFloatMatrix::rows

Definition at line 90 of file FloatMatrix.h.


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


asr_ivt
Author(s): Allgeyer Tobias, Hutmacher Robin, Kleinert Daniel, Meißner Pascal, Scholz Jonas, Stöckle Patrick
autogenerated on Mon Dec 2 2019 03:47:28