1 #ifndef MATH_SV_DECOMPOSITION_H 2 #define MATH_SV_DECOMPOSITION_H 4 #include "MatrixTemplate.h" 5 #include "DiagonalMatrix.h" 31 bool set(
const MatrixT& A);
32 void setIdentity(
int m,
int n);
33 void setZero(
int m,
int n);
34 void resize(
int m,
int n);
36 void backSub(
const VectorT& b, VectorT& x)
const;
37 void dampedBackSub(
const VectorT& b,T lambda, VectorT& x)
const;
38 void nullspaceComponent(
const VectorT& x,VectorT& xNull)
const;
41 void getInverse(MatrixT& Ainv)
const;
42 void getDampedPseudoInverse(MatrixT& Aplus,T lambda)
const;
43 void getNullspace(MatrixT& N)
const;
78 bool set(
const MatrixT& A);
79 bool setConditioned(
const MatrixT& A);
80 void setIdentity(
int m,
int n);
81 void setZero(
int m,
int n);
82 void resize(
int m,
int n);
84 void backSub(
const VectorT& b, VectorT& x)
const;
85 void dampedBackSub(
const VectorT& b,T lambda, VectorT& x)
const;
86 void nullspaceComponent(
const VectorT& x,VectorT& xNull)
const;
89 void getInverse(MatrixT& Ainv)
const;
90 void getDampedPseudoInverse(MatrixT& Aplus,T lambda)
const;
91 void getNullspace(MatrixT& N)
const;
92 void calcConditioning(
const MatrixT& A);
100 bool preMultiply,postMultiply;
void sortSVs()
sorts the singular values from highest to lowest
Definition: SVDecomposition.cpp:461
Performs a pre/postconditioned singular value decomposition.
Definition: SVDecomposition.h:68
Performs the singular value decomposition.
Definition: SVDecomposition.h:21
A matrix over the field T.
Definition: function.h:10
Contains all definitions in the Math package.
Definition: WorkspaceBound.h:12
A vector over the field T.
Definition: function.h:9
A templated diagonal matrix, represented by a vector of the entries on the diagonal.
Definition: DiagonalMatrix.h:14