The following matrix:
$\begin{pmatrix} -1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1 \end{pmatrix}$
is an indefinite matrix? Or it is that is a matrix semidefinite negative and semidefinite positive?
I am confused because some texts indicate that the indefinite matrices have non-zero eigenvalues of discordant sign, while others do not specify whether the zero eigenvalues are allowed.
Who should I give a reason? Where can I read a definition to be framed in the house and always follow that?