|
Gadget
|
This is the class used to calculate a LU decomposition of a rectangular matrix to solve the matrix equation A = bx. More...
#include <ludecomposition.h>

Public Member Functions | |
| LUDecomposition () | |
| This is the default LUDecomposition constructor. More... | |
| LUDecomposition (const DoubleMatrix &A) | |
| This is the LUDecomposition constructor for a given DoubleMatrix. More... | |
| ~LUDecomposition () | |
| This is the default LUDecomposition destructor. More... | |
| DoubleVector | Solve (const DoubleVector &b) |
| This function will solve the matrix equation A = bx and return the resulting DoubleVector. More... | |
| double | getLogDet () |
| This function will return the log of the determinate of the matrix. More... | |
| int | isIllegal () |
| This function will return the flag to denote whether the algorithm will fail. More... | |
This is the class used to calculate a LU decomposition of a rectangular matrix to solve the matrix equation A = bx.
|
inline |
This is the default LUDecomposition constructor.
| LUDecomposition::LUDecomposition | ( | const DoubleMatrix & | A | ) |
This is the LUDecomposition constructor for a given DoubleMatrix.
| A | is the DoubleMatrix that will be decomposed into a lower triangular matrix L and an upper triangular matrix U |
|
inline |
This is the default LUDecomposition destructor.
|
inline |
This function will return the log of the determinate of the matrix.
|
inline |
This function will return the flag to denote whether the algorithm will fail.
| DoubleVector LUDecomposition::Solve | ( | const DoubleVector & | b | ) |
This function will solve the matrix equation A = bx and return the resulting DoubleVector.
| b | is the DoubleVector that is to be used to solve the matrix equation A = bx |