Performs the lower/upper triangular decomposition of a matrix PA = LU. The results are put into the matricies L, U, and P (pivot), and sign (representing even (positive) or odd (negative) row swaps. LU stores both L and U (all diagonal elements of L are implied 1).
Definition at line 434 of file MatrixFunctors.hpp.
#include <MatrixFunctors.hpp>
Public Member Functions | |
| template<class BaseClass2 > | |
| void | backSub (RefVectorBase< T, BaseClass2 > &v) const |
| T | det (void) |
| LUDecomp () | |
| template<class BaseClass > | |
| void | operator() (const ConstMatrixBase< T, BaseClass > &m) |
Public Attributes | |
| Matrix< T > | LU |
| int | parity |
| Parity. More... | |
| Vector< int > | Pivot |
| The pivot array. More... | |
|
inline |
Definition at line 437 of file MatrixFunctors.hpp.
|
inline |
Compute inverse(m)*v, where *this is LUD(m), via back substitution Solution overwrites input Vector v
| MatrixException |
Definition at line 514 of file MatrixFunctors.hpp.
|
inline |
compute determinant from LUD
| MatrixException |
Definition at line 548 of file MatrixFunctors.hpp.
|
inline |
Does the decomposition.
| MatrixException |
Definition at line 443 of file MatrixFunctors.hpp.
| Matrix<T> gnsstk::LUDecomp< T >::LU |
The matrix in LU-decomposed form: L and U together; all diagonal elements of L are implied 1.
Definition at line 557 of file MatrixFunctors.hpp.
| int gnsstk::LUDecomp< T >::parity |
Parity.
Definition at line 561 of file MatrixFunctors.hpp.
| Vector<int> gnsstk::LUDecomp< T >::Pivot |
The pivot array.
Definition at line 559 of file MatrixFunctors.hpp.