Bug in solving quadratic equations

asked 2020-07-03 23:38:09 +0100

btw47 gravatar image

I would like to use the QuadraticForm solve() method to find vectors of given length in root lattices. Unfortunately this method often produces the answer 0.

A minimal example: to find a vector in the E8 lattice of length two:

QuadraticForm(QQ, CartanMatrix(['E', 8])).solve(2)


(0, 0, 0, 0, 0, 0, 0, 0)

edit retag flag offensive close merge delete