#include "../matrix.h"#include "../vector.h"


Go to the source code of this file.
Namespaces | |
| namespace | TBCI |
Defines | |
| #define | MLU_MINVAL 5e-16 |
| #define | MLU_RES_WARN 1e-11 |
Functions | |
| template<typename T> | |
| int | TBCI::lu_decomp (Matrix< T > &mat) |
| LU decomposes the TBCI::Matrix mat. | |
| template<typename T> | |
| TVector< T > | TBCI::LU_fwd_subst (const Matrix< T > &lu, const Vector< T > &y) |
| template<typename T> | |
| TVector< T > | TBCI::LU_bkw_subst (const Matrix< T > &lu, const Vector< T > &y) |
| template<typename T> | |
| TVector< T > | TBCI::LU_solve (const Matrix< T > &lu, const Vector< T > &b) |
| template<typename T> | |
| TVector< T > | TBCI::lu_solve (Matrix< T > &mat, const Vector< T > &b) |
| template<typename T> | |
| TMatrix< T > | TBCI::LU_solve (const Matrix< T > &lu, const Matrix< T > &b) |
| template<typename T> | |
| TMatrix< T > | TBCI::lu_solve (Matrix< T > &mat, const Matrix< T > &b) |
| template<typename T> | |
| T | TBCI::LU_det (const Matrix< T > &lu) |
| calculates determinant of an already LU decomposed Matrix | |
| template<typename T> | |
| T | TBCI::lu_det (Matrix< T > &mat) |
| calculates determinant of a Matrix by LU decomposition | |
| template<typename T> | |
| TMatrix< T > | TBCI::LU_invert (const Matrix< T > &mat) |
| Returns the inverse of a already LU decomposed Matrix. | |
| template<typename T> | |
| TMatrix< T > | TBCI::lu_invert (Matrix< T > &mat) |
| Returns the inverse of a Matrix by performing a LU decomposition. | |
LU decomposizes a TBCI::Matrix and solves the vector equation Ax = b
LU_xxxx operates on an already LU decomposed Matrix, whereas lu_xxxx does decompose it and then does * the requested action (eg. determinant calculation ...)
NOTE: the matrix passed as argument to lu_xxxx will be modified!
Definition in file lu_solver.h.
| #define MLU_MINVAL 5e-16 |
| #define MLU_RES_WARN 1e-11 |
1.5.6