Square CoCalc Logo
FeaturesSoftwarePricingInfoPoliciesShareSupport Try Sign InSign Up
Path: support / 2014-11-17-quadratic-forms.sagews
Description:

Examples for support purposes.

Views: 1079172
License: GPL3
Image: ubuntu2004-dev
Project: Support and Testing
Raw | Embed | Download |
BinaryQF_reduced_representatives(-47)
[x^2 + x*y + 12*y^2, 2*x^2 - x*y + 6*y^2, 2*x^2 + x*y + 6*y^2, 3*x^2 - x*y + 4*y^2, 3*x^2 + x*y + 4*y^2]
for f in BinaryQF_reduced_representatives(-47): print list(f)
[1, 1, 12] [2, -1, 6] [2, 1, 6] [3, -1, 4] [3, 1, 4]