Description Usage Arguments Value
View source: R/check_PSD.R View source: R/check_PD.R
Check Positive definite Checks if the given matrix is positive definite.
Check Positive semi-definite Checks if the given matrix is positive definite.
1 2 3 |
M |
Matrix to check whether it is positive definite. |
tol |
Tolerance when comparing smallest eigenvalue to 0. |
TRUE if the matrix is PD, FALSE otherwise.
TRUE if the matrix is PSD, FALSE otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.