|
linear-library
|
LU decomposition with partial pivoting. More...
#include <DecomposeLU.hpp>
Public Member Functions | |
| DecomposeLU (const VectorMatrix< T > &m) | |
| DecomposeLU (VectorMatrix< T > &&m) | |
| T | det () const |
| Determinant matrix A Computed as: det(A) = det(P) * product(diag(U)) | |
| VectorMatrix< T > | inv () const |
| const std::vector< std::vector< T > > & | getU () const |
| const std::vector< std::vector< T > > & | getL () const |
| const std::vector< int > & | getP () const |
LU decomposition with partial pivoting.
Decompose matrix A such that: PA = LU
Where: P is permutation matrix L is lower triangular with unit diagonal U is upper triangular
|
inline |
|
inline |
| T LinearAlgebra::DecomposeLU< T >::det | ( | ) | const |
Determinant matrix A Computed as: det(A) = det(P) * product(diag(U))
|
inline |
|
inline |
|
inline |
| VectorMatrix< T > LinearAlgebra::DecomposeLU< T >::inv | ( | ) | const |