powered by
a simple wrapper to call Armadillo's pinv function
armaGinv(x, tol = NULL)
numeric matrix
numeric: maximum singular value to be considered
Pseudo-inverse
# NOT RUN { mat <- matrix(rnorm(12),3,4) pinvmat <- armaGinv(mat) # }
Run the code above in your browser using DataLab