First time here? Check out the FAQ!
asked 1 year ago
How to do the opposite? Given gm, how to compute coefficients of quadratic form qf?
gm
qf
qf=QuadraticForm(ZZ, 4, [4, -12, 8, -4, 12, -16, 8, 6, -6, 2]) gm=qf.Gram_matrix() gm
[ 4 -6 4 -2] [-6 12 -8 4] [ 4 -8 6 -3] [-2 4 -3 2]