IndefiniteMatrixQ¶
Test whether a matrix is explicitly indefinite, i.e. whether the Hermitian part of the matrix has both positive and negative eigenvalues.
A positive definite matrix is not indefinite:
IndefiniteMatrixQ¶Test whether a matrix is explicitly indefinite, i.e. whether the Hermitian part of the matrix has both positive and negative eigenvalues.
A positive definite matrix is not indefinite: