checkPD(L,ZeroTolerance=>n)
A matrix is assumed to be positive semidefinite 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.
|
|
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/GraphicalModelsMLE.m2:1758:0.