11 #ifndef HRPUTIL_MATRIX_SOLVERS_H_INCLUDED 12 #define HRPUTIL_MATRIX_SOLVERS_H_INCLUDED 39 const int dim = M.rows();
40 dmatrix E = dmatrix::Identity(dim,dim);
int solveLinearEquationSVD(const dmatrix &_a, const dvector &_b, dvector &_x, double _sv_ratio)
dmatrix inverse(const dmatrix &M)
double det(const dmatrix &_a)
int calcSRInverse(const dmatrix &_a, dmatrix &_a_sr, double _sr_ratio, dmatrix _w)
int calcPseudoInverse(const dmatrix &_a, dmatrix &_a_pseu, double _sv_ratio)
int solveLinearEquation(const dmatrix &_a, const dvector &_b, dvector &_x, double _sv_ratio)
int calcEigenVectors(const dmatrix &_a, dmatrix &_evec, dvector &_eval)
int solveLinearEquationLU(dmatrix a, const dmatrix &b, dmatrix &out_x)