anisotropicDimension(beta)
By Witt decomposition, any form decomposes uniquely as $\beta \cong k \mathbb{H} \oplus \beta_a$ where the form $\beta_a$ is anisotropic. The rank of $\beta_a$ is called the anisotropic dimension of $\beta$.
The anisotropic dimension of a form defined over the rationals is the maximum of the anistropic dimension at each of the completions of $\mathbb{Q}$.
The object anisotropicDimension is a method function.