pseudoinverse: Invert first K eigendirections of the matrix.
Description
Invert first K
eigendirections of the matrix. If K
is
not specified the functions takes direction with eigencalues grater
than given treshold th
.
If th
is also not specified then all direction are inverted
(equivalent to solve
)
Usage
pseudoinverse(M, K = NULL, th = NULL)
Arguments
K
number of directions to invert
th
fixed treshold for eigenvalues
Value
Pseudoinverse matrix