pseudoInverse {gbutils} | R Documentation |
Compute a pseudo-inverse matrix
Description
Compute a pseudo-inverse matrix using singular value decomposition and setting very small singular values to zero.
Usage
pseudoInverse(a, tol = 1e-07)
Arguments
a |
a matrix |
tol |
a number, the threshold for non-zero singular values. |
Details
The singular value decomposition of a
is computed and singular
values smaller than tol
are set to zero. The result is formed
using the standard formula.
Value
a matrix
Examples
##---- Should be DIRECTLY executable !! ----
[Package gbutils version 0.5 Index]