Description Usage Arguments Details Author(s) Examples
Checks if a matrix is positive definite and/or forces a matrix to be positive definite.
1 2 |
x |
a square numeric matrix. |
The function isPositiveDefinite
checks if a square
matrix is positive definite.
The function makePositiveDefinite
forces
a matrix to be positive definite.
These functions were originally implimented in fUtilities Copyright: (c) 1999-2008 Diethelm Wuertz and Rmetrics Foundation URL: http://www.rmetrics.org
Korbinian Strimmer.
1 2 3 | ## isPositiveDefinite -
# is the 3x3 identity matrix positive definate?
isPositiveDefinite(diag(c(1,1,1)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.