Moore-Penrose pseudo-inverse of a matrix
pinv(x, tol = -1)ginv.evgam(x, tol = sqrt(.Machine$double.eps))
a matrix
a scalar
A matrix
This function is merely a wrapper for Armadillo's pinv function with its
default settings, which, in particular uses the divide-and-conquer
method. If tol
isn't provided Armadillo's default for pinv is used.
ginv.evgam
mimics ginv using Armadillo's pinv.
http://arma.sourceforge.net/docs.html#pinv