positive_definite function

Checks if a squared matrix is positive definite and turn it to positive definied if necessary

Checks if a squared matrix is positive definite and turn it to positive definied if necessary

positive_definite(m, c = NULL)

Arguments

  • m: Is a 2x2 matrix.
  • c: Is a small nonegative number.

Returns

The same matrix (if positive definite) or its modification that is positive definite.

  • Maintainer: L. Leticia Ramirez-Ramirez
  • License: GPL-3
  • Last published: 2019-07-15

Useful links