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() [1/3]

CMatd::CMatd ( )

Definition at line 61 of file Matd.cpp.

◆ CMatd() [2/3]

CMatd::CMatd ( int  nRows,
int  nColumns 
)

Definition at line 68 of file Matd.cpp.

◆ CMatd() [3/3]

CMatd::CMatd ( const CMatd m)

Definition at line 75 of file Matd.cpp.

◆ ~CMatd()

CMatd::~CMatd ( )

Definition at line 86 of file Matd.cpp.

Member Function Documentation

◆ GetColumns()

int CMatd::GetColumns ( ) const
inline

Definition at line 92 of file Matd.h.

◆ GetRows()

int CMatd::GetRows ( ) const
inline

Definition at line 91 of file Matd.h.

◆ GetTransposed()

CMatd CMatd::GetTransposed ( )

Definition at line 367 of file Matd.cpp.

◆ Invert()

CMatd CMatd::Invert ( ) const

Definition at line 248 of file Matd.cpp.

◆ operator()()

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

Definition at line 102 of file Matd.cpp.

◆ operator*() [1/3]

CMatd CMatd::operator* ( const double  s)

Definition at line 191 of file Matd.cpp.

◆ operator*() [2/3]

CVecd CMatd::operator* ( const CVecd v)

Definition at line 203 of file Matd.cpp.

◆ operator*() [3/3]

CMatd CMatd::operator* ( const CMatd m)

Definition at line 127 of file Matd.cpp.

◆ operator*=()

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

Definition at line 120 of file Matd.cpp.

◆ operator+()

CMatd CMatd::operator+ ( const CMatd m)

Definition at line 161 of file Matd.cpp.

◆ operator-()

CMatd CMatd::operator- ( const CMatd m)

Definition at line 176 of file Matd.cpp.

◆ operator=()

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

Definition at line 109 of file Matd.cpp.

◆ SetSize()

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

Definition at line 340 of file Matd.cpp.

◆ Unit()

bool CMatd::Unit ( )

Definition at line 234 of file Matd.cpp.

◆ Zero()

void CMatd::Zero ( )

Definition at line 227 of file Matd.cpp.

Member Data Documentation

◆ m_nColumns

int CMatd::m_nColumns
private

Definition at line 99 of file Matd.h.

◆ m_nRows

int CMatd::m_nRows
private

Definition at line 98 of file Matd.h.

◆ m_ppElements

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 Feb 28 2022 21:44:01