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

computing the inverse of a matrix. More...

#include <STK_InvertUpperTriangular.h>

Public Types

typedef Matrix::Type Type
 

Static Public Member Functions

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

Detailed Description

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

computing the inverse of a matrix.

Definition at line 189 of file STK_InvertUpperTriangular.h.

Member Typedef Documentation

◆ Type

Definition at line 191 of file STK_InvertUpperTriangular.h.

Member Function Documentation

◆ run()

Definition at line 192 of file STK_InvertUpperTriangular.h.

193 {
194 switch (m.sizeRows())
195 {
201 }
202 }
static Type invertUpperTriangular22(Matrix const &m, Array2DUpperTriangular< Type > &inv)
compute the inverse of the 2x2 matrix m and store the result in inv.
static Type invertUpperTriangularXX(Matrix const &m, Array2DUpperTriangular< Type > &inv)
compute the inverse of the upper triangular matrix m and store the result in inv.
static Type invertUpperTriangular33(Matrix const &m, Array2DUpperTriangular< Type > &inv)
compute the inverse of the 3x3 matrix m and store the result in inv.
static Type invertUpperTriangular11(Matrix const &m, Array2DUpperTriangular< Type > &inv)
compute the inverse of the 1x1 matrix and store the result in inv.
static Type invertUpperTriangular44(Matrix const &m, Array2DUpperTriangular< Type > &inv)
compute the inverse of the 4x4 matrix m and store the result in inv.

References STK::hidden::InvertUpperTriangularImpl< Matrix, Size_ >::invertUpperTriangular11(), STK::hidden::InvertUpperTriangularImpl< Matrix, Size_ >::invertUpperTriangular22(), STK::hidden::InvertUpperTriangularImpl< Matrix, Size_ >::invertUpperTriangular33(), STK::hidden::InvertUpperTriangularImpl< Matrix, Size_ >::invertUpperTriangular44(), and STK::hidden::InvertUpperTriangularImpl< Matrix, Size_ >::invertUpperTriangularXX().


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