Given a multivariate polynomial f that is homogeneous of degree 2, this returns a symmetric matrix representing the same quadratic form.
The symmetric matrix giving the quadratic form on the lattice L.
The quadratic form associated to the lattice L, as a multivariate polynomial.
The quadratic form for a symmetric matrix M, as a multivariate polynomial.