1 #ifndef _theplu_yat_utility_svd_ 2 #define _theplu_yat_utility_svd_ 35 #include <gsl/gsl_linalg.h> 156 int golub_reinsch(
void);
163 int modified_golub_reinsch(
void);
Definition: MatrixBase.h:54
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.
SVD(const MatrixBase &Ain)
Constructs an SVD object using the matrix Ain as only input. The input matrix is copied for further u...
void decompose(SVDalgorithm algo=GolubReinsch)
This function will perform SVD with the method specified by algo.
const Matrix & V(void) const
Access to the V matrix.
Interface to GSL matrix.
Definition: Matrix.h:104
const Vector & s(void) const
Access to the s vector.
const Matrix & U(void) const
Access to the U matrix.
SVDalgorithm
Definition: SVD.h:66
void solve(const VectorBase &b, Vector &x)
Solve the system using the decomposition of A.
Definition: MatrixMutable.h:58