Developer documentation
Version 3.0.3-105-gd3941f44
Least-squares & Moore-Penrose pseudo-inverse

Functions

template<class MatrixType >
Eigen::Matrix< typename MatrixType::Scalar, Eigen::Dynamic, Eigen::Dynamic > MR::Math::pinv (const MatrixType &M)
 return Moore-Penrose pseudo-inverse of M More...
 
template<class MatrixType >
size_t MR::Math::rank (const MatrixType &M)
 

Detailed Description

Function Documentation

◆ pinv()

template<class MatrixType >
Eigen::Matrix< typename MatrixType::Scalar, Eigen::Dynamic, Eigen::Dynamic > MR::Math::pinv ( const MatrixType &  M)
inline

return Moore-Penrose pseudo-inverse of M

Definition at line 39 of file least_squares.h.

◆ rank()

template<class MatrixType >
size_t MR::Math::rank ( const MatrixType &  M)
inline

Definition at line 48 of file least_squares.h.