pinv | R Documentation |
Calculate the Moore-Penrose pseudoinverse of a matrix.
pinv(x, tol = sqrt(.Machine$double.eps))
x |
A matrix. |
tol |
The relative tolerance for detecting non-zero singular values. |
A matrix giving the pseudoinverse of x
.
set.seed(1)
x <- diag(10) + rnorm(100)
pinv(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.