svd_solver.h File Reference

#include "../matrix.h"

Include dependency graph for svd_solver.h:

This graph shows which files directly or indirectly include this file:

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 Documentation

#define SVDFLOAT   typename MatrixType::value_type

svd_solver.h

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

Id
svd_solver.h,v 1.1.2.15 2006/08/13 20:06:01 garloff Exp

Definition at line 15 of file svd_solver.h.

Referenced by TBCI::sv_decomp(), and TBCI::sv_decomp_backsub().


Generated on Wed Nov 20 09:28:43 2013 for TBCI Numerical high perf. C++ Library by  doxygen 1.5.6