getWittIndex betaBy the Witt Decomposition Theorem, any non-degenerate form decomposes uniquely as $\beta \cong n \mathbb{H} \oplus \beta_a$ where the form $\beta_a$ is anisotropic. The integer $n$ is called the Witt index of $\beta$. See for instance [L05, I.4.3].
[L05] T.Y. Lam, "Introduction to quadratic forms over fields," American Mathematical Society, 2005.
The object getWittIndex is a method function.
The source of this document is in A1BrouwerDegrees/Documentation/AnisotropicDimensionDoc.m2:76:0.