Project: #4120

There is a (combined) patch in Trac #4120 including my first three patches, and John Cremona's bug fixes and updates. In addition, John has a list of concerns and bugs to be addressed. Gonzalo Tornaria has additional comments and suggestions.

<<<Table Of Contents>>>

This project addresses (some of) these.

Done

          sage: Q = BinaryQF(4,-4,15)
          sage: M = matrix(ZZ, 2, [1, 1, 0, 1])
          sage: M1 = matrix(ZZ, 2, [1, 0, 1, 1])
          sage: Q * M * M1 == Q * (M * M1)
          False
          sage: Q * M * M1 == Q * (M1 * M)
          True

In Progress

Discussion Needed

              sage: BinaryQF(2, 1, disc = -23)
              2*x^2 + x*y + 3*y^2

        sage: Q * Q.is_equivalent(Q1)[1].transpose() == Q1