Definition (signature of matrix)
The signature of a matrix $H$ is the pattern of signs of the ordered subdeterminant of the leading principle minors of $H$.
The following is a human-readable definition: for an $n\times n$ matrix $H$, its signature is the list of the signs of $$ |H_1|, |H_2|, |H_3|, \ldots, |H_n| $$ where $$\begin{align*} H_1 &= \pmat{ H_{11} }, \\ H_2 &= \pmat{H_{11} & H_{12} \\ H_{21} & H_{22}}, \\ H_3 &= \pmat{H_{11} & H_{12} & H_{13} \\ H_{21} & H_{22} & H_{23} \\ H_{31} & H_{32} & H_{33} \\ }, \\ \vdots \\ H_n &= H = \pmat{H_{11} & H_{12} & \ldots & H_{1n} \\ H_{21} & H_{22} & \ldots & H_{2n} \\ \vdots & \vdots & & \vdots \\ H_{n1} & H_{n2} & \ldots & H_{nn}}. \end{align*}$$