I ask this because I'm programming a function that does only take a symmetric positive definite matrix as input. But now I'm told give to the function the negation of such a matrix. That makes no sense to me, because I think it's negative definite then.
To check for a matrix to be symmetric positive definite, does it suffice to check, that it is symmetric and then to check that all its real eigenvalues are positive?