Justin,

I don't think that is the issue here: you are referring to the debate
between using a,2*b,c as coefficeints rather than a,b,c.  But here
*all* the coefficients have been doubled.

Note that we also have

sage: BinaryQF([1,2,3])
x^2 + 2*x*y + 3*y^2

john

On 24 February 2012 16:04, Jacob Hicks <jhi...@math.uga.edu> wrote:
> When I run:
>
> sage: q = QuadraticForm(ZZ,2,[3,2,5])
> sage: q.polynomial()
> 6*x0^2 + 4*x0*x1 + 10*x1^2
>
> I would expect to get half of this result, which is the quadratic form
> as a polynomial.  The doc tests say this is what the behavior should
> be, but I don't understand why.  Is this actually the desired behavior
> and if so what am I misunderstanding?
>
> Thanks,
> --
> Jacob Hicks
>
> --
> To post to this group, send email to sage-support@googlegroups.com
> To unsubscribe from this group, send email to 
> sage-support+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to