positiveDefinite {fBasics} | 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.
## isPositiveDefinite - # the 3x3 Pascal Matrix is positive define isPositiveDefinite(pascal(3))