A utility class that can do common operations with the LU decomposition, i.e. solving equation systems.
More...
#include <DecomposeLU.hpp>
|
template<class T2 , int Dim2, eMatrixOrder Order2, eMatrixLayout Layout2, bool Packed2> |
class | DecompositionLUP |
|
template<class T, int Dim, eMatrixOrder Order, eMatrixLayout Layout, bool Packed>
class mathter::DecompositionLU< T, Dim, Order, Layout, Packed >
A utility class that can do common operations with the LU decomposition, i.e. solving equation systems.
◆ DecompositionLU()
template<class T , int Dim, eMatrixOrder Order, eMatrixLayout Layout, bool Packed>
◆ Solvable()
template<class T , int Dim, eMatrixOrder Order, eMatrixLayout Layout, bool Packed>
◆ Solve()
template<class T , int Dim, eMatrixOrder Order, eMatrixLayout Layout, bool Packed>
Solves the equation system Ax=b, that is LUx=b.
If the equation is singular or the LU decomposition fails, garbage is returned.
- Parameters
-
b | The right hand side vector. - Returns
- The solution x.
|
◆ DecompositionLUP
template<class T , int Dim, eMatrixOrder Order, eMatrixLayout Layout, bool Packed>
template<class T2 , int Dim2, eMatrixOrder Order2, eMatrixLayout Layout2, bool Packed2>
template<class T , int Dim, eMatrixOrder Order, eMatrixLayout Layout, bool Packed>
- Parameters
-
L | Lower triangular matrix, LU=P'A. |
template<class T , int Dim, eMatrixOrder Order, eMatrixLayout Layout, bool Packed>
- Parameters
-
U | Upper triangular matrix, LU=P'A. |
The documentation for this class was generated from the following file: