1 #ifndef _theplu_yat_utility_svd_ 2 #define _theplu_yat_utility_svd_ 35 #include <gsl/gsl_linalg.h> 158 int golub_reinsch(
void);
165 int modified_golub_reinsch(
void);
SVD(const Matrix &Ain)
Constructs an SVD object using the matrix Ain as only input. The input matrix is copied for further u...
The Department of Theoretical Physics namespace as we define it.
This is the yat interface to GSL vector.
Definition: Vector.h:59
Singular Value Decomposition.
Definition: SVD.h:56
This is the yat interface to GSL vector.
Definition: VectorBase.h:55
~SVD(void)
The destructor.
void decompose(SVDalgorithm algo=GolubReinsch)
This function will perform SVD with the method specified by algo.
Interface to GSL matrix.
Definition: Matrix.h:74
const Vector & s(void) const
Access to the s vector.
SVDalgorithm
Definition: SVD.h:66
void solve(const VectorBase &b, Vector &x)
Solve the system using the decomposition of A.
const Matrix & U(void) const
Access to the U matrix.
const Matrix & V(void) const
Access to the V matrix.