Skip to contents

Is matrix positive definite. Same check as mvtnorm does.

Usage

isMatrixPositiveDefinite(matrix, tol = 1e-06)

Arguments

matrix

matrix to check

tol

tolerance when checking the eigenvalues