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

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
 

Detailed Description

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

Definition at line 54 of file DoubleMatrix.h.

Constructor & Destructor Documentation

◆ CDoubleMatrix() [1/4]

CDoubleMatrix::CDoubleMatrix ( )

Definition at line 61 of file DoubleMatrix.cpp.

◆ CDoubleMatrix() [2/4]

CDoubleMatrix::CDoubleMatrix ( int  nColumns,
int  nRows,
bool  bHeaderOnly = false 
)

Definition at line 69 of file DoubleMatrix.cpp.

◆ CDoubleMatrix() [3/4]

CDoubleMatrix::CDoubleMatrix ( const CDoubleMatrix pMatrix,
bool  bHeaderOnly = false 
)

Definition at line 104 of file DoubleMatrix.cpp.

◆ CDoubleMatrix() [4/4]

CDoubleMatrix::CDoubleMatrix ( const CDoubleMatrix matrix,
bool  bHeaderOnly = false 
)

Definition at line 86 of file DoubleMatrix.cpp.

◆ ~CDoubleMatrix()

CDoubleMatrix::~CDoubleMatrix ( )

Definition at line 121 of file DoubleMatrix.cpp.

Member Function Documentation

◆ FreeMemory()

void CDoubleMatrix::FreeMemory ( )
private

Definition at line 131 of file DoubleMatrix.cpp.

◆ LoadFromFileText()

bool CDoubleMatrix::LoadFromFileText ( const char *  pFileName)
private

◆ operator()() [1/2]

double& CDoubleMatrix::operator() ( const int  nColumn,
const int  nRow 
)
inline

Definition at line 69 of file DoubleMatrix.h.

◆ operator()() [2/2]

const double& CDoubleMatrix::operator() ( const int  nColumn,
const int  nRow 
) const
inline

Definition at line 72 of file DoubleMatrix.h.

◆ operator[]() [1/2]

double* CDoubleMatrix::operator[] ( const int  nRow)
inline

Definition at line 70 of file DoubleMatrix.h.

◆ operator[]() [2/2]

const double* CDoubleMatrix::operator[] ( const int  nRow) const
inline

Definition at line 73 of file DoubleMatrix.h.

Member Data Documentation

◆ columns

int CDoubleMatrix::columns

Definition at line 83 of file DoubleMatrix.h.

◆ data

double* CDoubleMatrix::data

Definition at line 85 of file DoubleMatrix.h.

◆ m_bOwnMemory

bool CDoubleMatrix::m_bOwnMemory
private

Definition at line 89 of file DoubleMatrix.h.

◆ rows

int CDoubleMatrix::rows

Definition at line 84 of file DoubleMatrix.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 Feb 28 2022 21:44:01