Positive Definite Matrixes

Share:

Description

Checks if a matrix is positive definite and/or forces a matrix to be positive definite.

Usage

1
2

Arguments

x

a square numeric matrix.

Details

The function isPositiveDefinite checks if a square matrix is positive definite.

The function makePositiveDefinite forces a matrix to be positive definite.

Author(s)

Korbinian Strimmer.

Examples

1
2
3
## isPositiveDefinite - 
   # the 3x3 Pascal Matrix is positive define 
   isPositiveDefinite(pascal(3))                

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.