is.posDef | R Documentation |
Checks if a given matrix is positive definited
is.posDef(matrix)
matrix |
a (non-empty) numeric matrix of data values. |
A logical value: True/False.
A <- matrix(c(1,2,2,1), nrow = 2, byrow = TRUE) is.posDef(A) B <- matrix(c(1,2,3,3,1,2,1,2,1), nrow = 3, byrow = TRUE) is.posDef(B)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.