positiveDefinite | R Documentation |
Checks if a matrix is positive definite and/or forces a matrix to be positive definite.
isPositiveDefinite(x)
makePositiveDefinite(x)
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.
Korbinian Strimmer.
# the 3x3 Pascal Matrix is positive define
isPositiveDefinite(pascal(3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.