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

utility class allowing to call the correct static function computing the inverse of a matrix. More...

#include <STK_InvertLowerTriangular.h>

Public Types

typedef Matrix::Type Type
 

Static Public Member Functions

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

Detailed Description

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

utility class allowing to call the correct static function computing the inverse of a matrix.

Definition at line 189 of file STK_InvertLowerTriangular.h.

Member Typedef Documentation

◆ Type

Definition at line 191 of file STK_InvertLowerTriangular.h.

Member Function Documentation

◆ run()

Definition at line 192 of file STK_InvertLowerTriangular.h.

193 {
194 switch (m.sizeRows())
195 {
201 }
202 }
static Type invertLowerTriangularXX(Matrix const &m, Array2DLowerTriangular< Type > &inv)
compute the inverse of the lower triangular matrix m and store the result in inv.
static Type invertLowerTriangular11(Matrix const &m, Array2DLowerTriangular< Type > &inv)
compute the inverse of the 1x1 matrix and store the result in inv.
static Type invertLowerTriangular33(Matrix const &m, Array2DLowerTriangular< Type > &inv)
compute the inverse of the 3x3 matrix m and store the result in inv.
static Type invertLowerTriangular22(Matrix const &m, Array2DLowerTriangular< Type > &inv)
compute the inverse of the 2x2 matrix m and store the result in inv.
static Type invertLowerTriangular44(Matrix const &m, Array2DLowerTriangular< Type > &inv)
compute the inverse of the 4x4 matrix m and store the result in inv.

References STK::hidden::InvertLowerTriangularImpl< Matrix, Size_ >::invertLowerTriangular11(), STK::hidden::InvertLowerTriangularImpl< Matrix, Size_ >::invertLowerTriangular22(), STK::hidden::InvertLowerTriangularImpl< Matrix, Size_ >::invertLowerTriangular33(), STK::hidden::InvertLowerTriangularImpl< Matrix, Size_ >::invertLowerTriangular44(), and STK::hidden::InvertLowerTriangularImpl< Matrix, Size_ >::invertLowerTriangularXX().


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