STK++ 0.9.13
STK::hidden::InvertMatrixDispatcher< Matrix, Size_ > Struct Template Reference

computing the inverse of a matrix. More...

#include <STK_Invert.h>

Public Types

typedef Matrix::Type Type
 

Static Public Member Functions

static Type run (Matrix const &m, CArraySquare< Type, Size_ > &inv)
 

Detailed Description

template<class Matrix, int Size_>
struct STK::hidden::InvertMatrixDispatcher< Matrix, Size_ >

computing the inverse of a matrix.

Definition at line 295 of file STK_Invert.h.

Member Typedef Documentation

◆ Type

template<class Matrix , int Size_>
typedef Matrix::Type STK::hidden::InvertMatrixDispatcher< Matrix, Size_ >::Type

Definition at line 297 of file STK_Invert.h.

Member Function Documentation

◆ run()

template<class Matrix , int Size_>
static Type STK::hidden::InvertMatrixDispatcher< Matrix, Size_ >::run ( Matrix const m,
CArraySquare< Type, Size_ > &  inv 
)
inlinestatic

Definition at line 298 of file STK_Invert.h.

299 {
300 switch (m.sizeRows())
301 {
307 }
308 }
static Type invertMatrix44(Matrix const &m, CArraySquare< Type, Size_ > &inv)
compute the inverse of the 4x4 matrix m and store the result in inv.
Definition STK_Invert.h:143
static Type invertMatrix33(Matrix const &m, CArraySquare< Type, Size_ > &inv)
compute the inverse of the 3x3 matrix m and store the result in inv.
Definition STK_Invert.h:105
static Type invertMatrix11(Matrix const &m, CArraySquare< Type, Size_ > &inv)
compute the inverse of the 1x1 matrix and store the result in inv.
Definition STK_Invert.h:61
static Type invertMatrix22(Matrix const &m, CArraySquare< Type, Size_ > &inv)
compute the inverse of the 2x2 matrix m and store the result in inv.
Definition STK_Invert.h:79
static Type invertMatrixXX(Matrix const &m, CArraySquare< Type, Size_ > &inv)
compute the inverse of the matrix m and store the result in inv.
Definition STK_Invert.h:276

References STK::hidden::InvertMatrixImpl< Matrix, Size_ >::invertMatrix11(), STK::hidden::InvertMatrixImpl< Matrix, Size_ >::invertMatrix22(), STK::hidden::InvertMatrixImpl< Matrix, Size_ >::invertMatrix33(), STK::hidden::InvertMatrixImpl< Matrix, Size_ >::invertMatrix44(), and STK::hidden::InvertMatrixImpl< Matrix, Size_ >::invertMatrixXX().


The documentation for this struct was generated from the following file: