#include "InverseMatrix.hpp"
Go to the source code of this file.
Namespaces | |
namespace | kn |
Functions | |
Matrix< double > | kn::inverseMatrixSVD (const Matrix< double > &m) |
Compute the inverse of a given square matrix The inverse is given by A^(-1) = V*[1/D]*U^(t) with V, D and U computed with the SVD. | |
Matrix< double > | kn::pseudoInverseMatrixSVD (const Matrix< double > &m) |
Compute the pseudo-inverse of a given singular matrix The pseudo-inverse is given by A^(+) = (A^(T)*A)^(-1)*A^(T) (A^(T)*A)^(-1) is computed using SVD inverting process. | |
Matrix< double > | kn::inverseMatrixGaussianElimination (const Matrix< double > &m, const bool total=false) |
Compute the inverse of a given square matrix The inverse is computed with a gaussian elimination. | |
Matrix< double > | kn::pseudoInverseMatrixGaussianElimination (const Matrix< double > &m, const bool total=false) |
Compute the pseudo-inverse of a given singular matrix The pseudo-inverse is given by A^(+) = (A^(T)*A)^(-1)*A^(T) (A^(T)*A)^(-1) is computed using a gaussian elimation inverting process. |