#18669: Use PARI to compute rational_diagonal_form()
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.8
Component: quadratic forms | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/use_pari_to_compute_rational_diagonal_form__|
3ee588dd37871a4a28e7db768e66ab4a44dacd3e
Dependencies: #18656 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
The rational diagonal form is far from unique, so there is no
contradiction.
The quadratic form corresponding to
{{{
[ 1/2 0]
[ 0 -1/2]
}}}
is
{{{
Quadratic form in 2 variables over Rational Field with coefficients:
[ 1/4 0 ]
[ * 1/4 ]
}}}
which is equivalent to the old result (just rescale the first vector by a
factor 2).
--
Ticket URL: <http://trac.sagemath.org/ticket/18669#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.