Description Usage Arguments Value Examples
Checks a matrix to determine if it is symmetric positive-definite.
1 |
x |
matrix: numeric matrix which should be checked to see if it is symmetric positive-definite. |
logical: TRUE if the supplied matrix is symmetric positive-definite, FALSE otherwise.
1 2 | is_sym_pos_def(matrix(c(2.51, 2.01, 2.01, 1.74), 2, 2)) # => TRUE
is_sym_pos_def(matrix(c(1, 1, 1, 1), 2, 2)) # => FALSE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.