argos::CSquareMatrix< DIM > Class Template Reference

#include <squarematrix.h>

Inheritance diagram for argos::CSquareMatrix< DIM >:
Collaboration diagram for argos::CSquareMatrix< DIM >:

Public Member Functions

 CSquareMatrix ()
 
 CSquareMatrix (const CMatrix< DIM, DIM > &c_other)
 
void SetIdentityMatrix ()
 
bool IsIdentityMatrix ()
 
Real GetDeterminant () const
 
CSquareMatrix< DIM > GetCofactorMatrix () const
 Find the cofactor matrix. More...
 
CSquareMatrix< DIM > GetTransposed () const
 
CSquareMatrix< DIM > GetInverse () const
 
Real GetDeterminant () const
 
Real GetDeterminant () const
 
CSquareMatrix< 2 > GetCofactorMatrix () const
 
Real GetDeterminant () const
 
Real GetDeterminant () const
 
CSquareMatrix< 2 > GetCofactorMatrix () const
 
- Public Member Functions inherited from argos::CMatrix< DIM, DIM >
 CMatrix ()
 
 CMatrix (const Real *pf_values)
 
 CMatrix (const CMatrix< ROWS, COLS > &c_matrix)
 
CMatrix< ROWS, COLS > & operator= (const CMatrix< ROWS, COLS > &c_matrix)
 
Realoperator() (UInt32 un_row, UInt32 un_col)
 
Real operator() (UInt32 un_row, UInt32 un_col) const
 
Real operator() (UInt32 un_idx) const
 
Realoperator() (UInt32 un_idx)
 
void Set (const Real *f_values)
 
void SetZero ()
 
CMatrix< COLS, ROWS > GetTransposed () const
 
void GetSubMatrix (CMatrix< SMROWS, SMCOLS > &c_sub_matrix, UInt32 un_offset_row, UInt32 un_offset_col) const
 
bool operator== (const CMatrix< ROWS, COLS > &c_matrix) const
 
CMatrix< ROWS, COLS > & operator+= (const CMatrix< ROWS, COLS > &c_matrix)
 
CMatrix< ROWS, COLS > & operator-= (const CMatrix< ROWS, COLS > &c_matrix)
 
CMatrix< ROWS, COLS > & operator*= (Real f_scale)
 
CMatrix< ROWS, COLS > & operator*= (const CMatrix< COLS, COLS > &c_matrix)
 
CMatrix< ROWS, COLS > operator+ (const CMatrix< ROWS, COLS > &c_matrix) const
 
CMatrix< ROWS, COLS > operator- (const CMatrix< ROWS, COLS > &c_matrix) const
 
CMatrix< ROWS, COLS > operator- () const
 
CMatrix< ROWS, OTRCOLS > operator* (const CMatrix< COLS, OTRCOLS > &c_matrix) const
 

Additional Inherited Members

- Protected Attributes inherited from argos::CMatrix< DIM, DIM >
Real m_pfValues [ROWS *COLS]
 

Detailed Description

template<UInt32 DIM>
class argos::CSquareMatrix< DIM >

Definition at line 17 of file squarematrix.h.

Constructor & Destructor Documentation

◆ CSquareMatrix() [1/2]

template<UInt32 DIM>
argos::CSquareMatrix< DIM >::CSquareMatrix ( )
inline

Definition at line 20 of file squarematrix.h.

◆ CSquareMatrix() [2/2]

template<UInt32 DIM>
argos::CSquareMatrix< DIM >::CSquareMatrix ( const CMatrix< DIM, DIM > &  c_other)
inline

Definition at line 22 of file squarematrix.h.

Member Function Documentation

◆ GetCofactorMatrix() [1/3]

CSquareMatrix< 2 > argos::CSquareMatrix< 2 >::GetCofactorMatrix ( ) const

Definition at line 33 of file squarematrix.cpp.

◆ GetCofactorMatrix() [2/3]

template<UInt32 DIM>
CSquareMatrix<DIM> argos::CSquareMatrix< DIM >::GetCofactorMatrix ( ) const
inline

Find the cofactor matrix.

Definition at line 83 of file squarematrix.h.

◆ GetCofactorMatrix() [3/3]

CSquareMatrix< 2 > argos::CSquareMatrix< 2 >::GetCofactorMatrix ( ) const

◆ GetDeterminant() [1/5]

Real argos::CSquareMatrix< 1 >::GetDeterminant ( ) const

Definition at line 17 of file squarematrix.cpp.

◆ GetDeterminant() [2/5]

Real argos::CSquareMatrix< 2 >::GetDeterminant ( ) const

Definition at line 25 of file squarematrix.cpp.

◆ GetDeterminant() [3/5]

template<UInt32 DIM>
Real argos::CSquareMatrix< DIM >::GetDeterminant ( ) const
inline

Definition at line 62 of file squarematrix.h.

◆ GetDeterminant() [4/5]

Real argos::CSquareMatrix< 1 >::GetDeterminant ( ) const

◆ GetDeterminant() [5/5]

Real argos::CSquareMatrix< 2 >::GetDeterminant ( ) const

◆ GetInverse()

template<UInt32 DIM>
CSquareMatrix<DIM> argos::CSquareMatrix< DIM >::GetInverse ( ) const
inline

Definition at line 120 of file squarematrix.h.

◆ GetTransposed()

template<UInt32 DIM>
CSquareMatrix<DIM> argos::CSquareMatrix< DIM >::GetTransposed ( ) const
inline

Definition at line 110 of file squarematrix.h.

◆ IsIdentityMatrix()

template<UInt32 DIM>
bool argos::CSquareMatrix< DIM >::IsIdentityMatrix ( )
inline

Definition at line 38 of file squarematrix.h.

◆ SetIdentityMatrix()

template<UInt32 DIM>
void argos::CSquareMatrix< DIM >::SetIdentityMatrix ( )
inline

Definition at line 25 of file squarematrix.h.