invgen | R Documentation |
Calculates the Moore-Penrose generalized inverse of a matrix X.
invgen(a, tol)
a |
Matrix for which the Moore-Penrose inverse is required. |
tol |
A relative tolerance to detect zero singular values. |
A Moore-Penrose generalized inverse matrix for X.
solve
,svd
,eigen
mat1<-matrix(rnorm(100),ncol=10)
print(invgen(mat1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.