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
 
template<>
Real GetDeterminant () const
 
template<>
Real GetDeterminant () const
 
template<>
CSquareMatrix< 2 > GetCofactorMatrix () const
 
template<>
Real GetDeterminant () const
 
template<>
Real GetDeterminant () const
 
template<>
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

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

Definition at line 20 of file squarematrix.h.

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

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

Definition at line 33 of file squarematrix.cpp.

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

Find the cofactor matrix.

Definition at line 83 of file squarematrix.h.

template<>
CSquareMatrix< 2 > argos::CSquareMatrix< 2 >::GetCofactorMatrix ( ) const
template<>
Real argos::CSquareMatrix< 1 >::GetDeterminant ( ) const

Definition at line 17 of file squarematrix.cpp.

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

Definition at line 25 of file squarematrix.cpp.

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

Definition at line 62 of file squarematrix.h.

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

Definition at line 120 of file squarematrix.h.

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

Definition at line 110 of file squarematrix.h.

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

Definition at line 38 of file squarematrix.h.

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

Definition at line 25 of file squarematrix.h.