A utility class that can do common operations with the LUP decomposition, i.e. solving equation systems.
More...
#include <DecomposeLU.hpp>
|
MatrixT | L |
| - Parameters
-
L | Lower triangular matrix, LU=P'A. |
More...
|
|
MatrixT | U |
| - Parameters
-
U | Upper triangular matrix, LU=P'A. |
More...
|
|
Vector< int, Dim, false > | P |
| - Parameters
-
P | Row permutations. LU=P'A, where P' is a matrix whose i-th row's P[i]-th element is one. |
More...
|
|
template<class T, int Dim, eMatrixOrder Order, eMatrixLayout Layout, bool Packed>
class mathter::DecompositionLUP< T, Dim, Order, Layout, Packed >
A utility class that can do common operations with the LUP decomposition, i.e. solving equation systems.
◆ DecompositionLUP()
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=Pb.
If the equation is singular garbage is returned.
- Parameters
-
b | The right hand side vector. |
- Returns
- The solution x.
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
-
P | Row permutations. LU=P'A, where P' is a matrix whose i-th row's P[i]-th element is one. |
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: