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

Data structure and operations for calculating with matrices of arbitrary dimension. More...

#include <Matd.h>

Public Member Functions

 CMatd ()
 
 CMatd (int nRows, int nColumns)
 
 CMatd (const CMatd &m)
 
int GetColumns () const
 
int GetRows () const
 
CMatd GetTransposed ()
 
CMatd Invert () const
 
double & operator() (int nRow, int nColumn) const
 
CMatd operator* (const double s)
 
CVecd operator* (const CVecd &v)
 
CMatd operator* (const CMatd &m)
 
void operator*= (const double s)
 
CMatd operator+ (const CMatd &m)
 
CMatd operator- (const CMatd &m)
 
CMatdoperator= (const CMatd &v)
 
void SetSize (int nRows, int nColumns)
 
bool Unit ()
 
void Zero ()
 
 ~CMatd ()
 

Private Attributes

int m_nColumns
 
int m_nRows
 
double ** m_ppElements
 

Detailed Description

Data structure and operations for calculating with matrices of arbitrary dimension.

Definition at line 61 of file Matd.h.

Constructor & Destructor Documentation

CMatd::CMatd ( )

Definition at line 61 of file Matd.cpp.

CMatd::CMatd ( int  nRows,
int  nColumns 
)

Definition at line 68 of file Matd.cpp.

CMatd::CMatd ( const CMatd m)

Definition at line 75 of file Matd.cpp.

CMatd::~CMatd ( )

Definition at line 86 of file Matd.cpp.

Member Function Documentation

int CMatd::GetColumns ( ) const
inline

Definition at line 92 of file Matd.h.

int CMatd::GetRows ( ) const
inline

Definition at line 91 of file Matd.h.

CMatd CMatd::GetTransposed ( )

Definition at line 367 of file Matd.cpp.

CMatd CMatd::Invert ( ) const

Definition at line 248 of file Matd.cpp.

double & CMatd::operator() ( int  nRow,
int  nColumn 
) const

Definition at line 102 of file Matd.cpp.

CMatd CMatd::operator* ( const double  s)

Definition at line 191 of file Matd.cpp.

CVecd CMatd::operator* ( const CVecd v)

Definition at line 203 of file Matd.cpp.

CMatd CMatd::operator* ( const CMatd m)

Definition at line 127 of file Matd.cpp.

void CMatd::operator*= ( const double  s)

Definition at line 120 of file Matd.cpp.

CMatd CMatd::operator+ ( const CMatd m)

Definition at line 161 of file Matd.cpp.

CMatd CMatd::operator- ( const CMatd m)

Definition at line 176 of file Matd.cpp.

CMatd & CMatd::operator= ( const CMatd v)

Definition at line 109 of file Matd.cpp.

void CMatd::SetSize ( int  nRows,
int  nColumns 
)

Definition at line 340 of file Matd.cpp.

bool CMatd::Unit ( )

Definition at line 234 of file Matd.cpp.

void CMatd::Zero ( )

Definition at line 227 of file Matd.cpp.

Member Data Documentation

int CMatd::m_nColumns
private

Definition at line 99 of file Matd.h.

int CMatd::m_nRows
private

Definition at line 98 of file Matd.h.

double** CMatd::m_ppElements
private

Definition at line 97 of file Matd.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