Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

matrix-posDefinite

Positive Definite Matrixes


Description

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

Usage

isPositiveDefinite(x)
makePositiveDefinite(x)

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

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

fBasics

Rmetrics - Markets and Basic Statistics

v3042.89.1
GPL (>= 2)
Authors
Diethelm Wuertz [aut], Tobias Setz [cre], Yohan Chalabi [ctb] Martin Maechler [ctb]
Initial release
2017-11-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.