calculate Pseudo-inverse of a Matrix using RcppArmadillo
a simple wrapper to call Armadillo's pinv function
armaGinv(x, tol = NULL)
x |
numeric matrix |
tol |
numeric: maximum singular value to be considered |
Pseudo-inverse
mat <- matrix(rnorm(12),3,4) pinvmat <- armaGinv(mat)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.