svd_inverse | R Documentation |
SVD Inverse Of A Square Matrix This function returns the inverse of a matrix using singular value decomposition. If the matrix is a square matrix, this should be equivalent to using the solve function. If the matrix is not a square matrix, then the result is the Moore-Penrose pseudo inverse.
svd_inverse(x)
x |
the matrix for calculation of inverse |
the inverse of the matrix x
x = diag(4)
svd_inverse(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.