Function uw12::linalg::p_inv

Function Documentation

inline Mat uw12::linalg::p_inv(const Mat &mat, const double threshold = 1e-10)

Calculate the pseudo-inverse of matrix mat using the given threshold.