Description Usage Arguments Details Value See Also
invsqrt_psd_matrix
takes a square, positive semi-definite matrix and returns the inverse square root of that matrix (via the eigenvalue decomposition by way of tolerance_eigen
).
1 |
x |
A square matrix (presumably positive semi-definite) |
Note that invsqrt_psd_matrix
uses tolerance_eigen(...,tol=1e-13)
with the tolerance fixed at 1e-13. This enforces an "acceptably zero" value for eigenvalues, and also stops the computation if any eigenvalues are not zero or positive (within the tolerance parameter). If the computation is halted, that means the matrix was not positive semi-definite.
A matrix. The inverse square root of the x
matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.