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

computing the inverse of a symmetric matrix. More...

#include <STK_InvertSym.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::InvertSymMatrixDispatcher< Matrix, Size_ >

computing the inverse of a symmetric matrix.

Definition at line 258 of file STK_InvertSym.h.

Member Typedef Documentation

◆ Type

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

Definition at line 260 of file STK_InvertSym.h.

Member Function Documentation

◆ run()

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

Definition at line 261 of file STK_InvertSym.h.

262 {
263 switch (m.sizeRows())
264 {
270 }
271 }
static Type invertSymMatrix33(Matrix const &m, CArraySquare< Type, Size_ > &inv)
compute the inverse of the symmetric 3x3 matrix m using only its lower part and store the result in i...
static Type invertSymMatrix44(Matrix const &m, CArraySquare< Type, Size_ > &inv)
compute the inverse of the symmetric 4x4 matrix m using only its lower part and store the result in i...
static Type invertSymMatrixXX(Matrix const &m, CArraySquare< Type, Size_ > &inv)
compute the inverse of the symmetric 4x4 matrix m using only its lower part and store the result in i...
static Type invertSymMatrix11(Matrix const &m, CArraySquare< Type, Size_ > &inv)
compute the inverse of the symmetric matrix m of size 1x1 and store the result in inv.
static Type invertSymMatrix22(Matrix const &m, CArraySquare< Type, Size_ > &inv)
compute the inverse of the symmetric 2x2 matrix m using only its lower part and store the result in i...

References STK::hidden::InvertSymImpl< Matrix, Size_ >::invertSymMatrix11(), STK::hidden::InvertSymImpl< Matrix, Size_ >::invertSymMatrix22(), STK::hidden::InvertSymImpl< Matrix, Size_ >::invertSymMatrix33(), STK::hidden::InvertSymImpl< Matrix, Size_ >::invertSymMatrix44(), and STK::hidden::InvertSymImpl< Matrix, Size_ >::invertSymMatrixXX().


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