View source: R/create_matrices.R
pseudo_invert | R Documentation |
Pseudo-inversion is where a vector has each non-zero element inverted and each zero element remains untouched. This is useful for pseudoinverting matrices that only have non-zero entries on the leading diagonal.
pseudo_invert(vec)
vec |
A vector of numbers |
A vector of pseudo-inverted numbers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.