checkPD(L,ZeroTolerance=>n)
A matrix is assumed to be positive definite if for all eigenvalues e:
- realPart e > ZeroTolerance
- abs imaginaryPart e <= ZeroTolerance
If a matrix contains an imaginary part below the tolerance level, then only the real part is reported in the output.
|
|