#include "../matrix.h"


Go to the source code of this file.
Namespaces | |
| namespace | TBCI |
Defines | |
| #define | SVDFLOAT typename MatrixType::value_type |
| svd_solver.h | |
Functions | |
| template<typename ARG> | |
| double | TBCI::sv_decomp_pythag (ARG a, ARG b) |
| Calculate sqrt (a^2 + b^2) avoiding under/overflows. | |
| template<typename MatrixType, typename VectorType> | |
| void | TBCI::sv_decomp (MatrixType &A, MatrixType &V, VectorType &W) |
| Singular Value Decomposition Decomposes matrix A into U * diag(W) * V^T A is overwritten with U. | |
| template<typename MatrixType, typename VectorType> | |
| void | TBCI::sv_decomp_backsub (const MatrixType &U, const MatrixType &V, const VectorType &W, const VectorType &b, VectorType &x) |
| template<typename VectorType> | |
| static int | TBCI::fix_condition (VectorType &vec, const double cndno=1e-12) |
| template<typename MatrixType, typename VectorType> | |
| VectorType | TBCI::svd_solve (const MatrixType &mat, const VectorType &b, const double cndno=1e-12) |
| The interface to use the SVD solver: Solve the equation mat * x = b. | |
| template<typename MatrixType, typename T> | |
| TVector< T > | TBCI::sv_decomp_backsub (const MatrixType &U, const MatrixType &V, const Vector< T > &W, const Vector< T > &b) |
| template<typename MatrixType, typename T> | |
| TVector< T > | TBCI::svd_solve (const MatrixType &mat, const Vector< T > &b, const double cndno=1e-12) |
| The interface to use the SVD solver: Solve the equation mat * x = b. | |
| #define SVDFLOAT typename MatrixType::value_type |
Singular Value Decomposition matrix solver implementation by Bart Hartgers <bart@etpmod.phys.tue.nl>, 2001-09-05 inspired by Numerical Recipes, ch. 2.6 Ported to TBCI by Kurt Garloff <kurt@garloff.de>, 2001-09-06
Definition at line 15 of file svd_solver.h.
Referenced by TBCI::sv_decomp(), and TBCI::sv_decomp_backsub().
1.5.6