#4120: New code for binary quadratic forms
-------------------------+--------------------------------------------------
Reporter: justin | Owner: tbd
Type: enhancement | Status: new
Priority: major | Milestone:
Component: algebra | Keywords:
-------------------------+--------------------------------------------------
The code supporting binary quadratic forms, in
quadratic_forms/binary_qf.py, is missing some functionality, and relies on
Magma and Pari. The patch in this ticket provides the following changes:
- tests for equivalence, normal, positive and negative definite,
indefinite, primitive forms
- normalize a form
- action of matrix on a form
- find content; factor indefinite forms
In addition:
- reduce() no longer calls Pari
- some cleanup: is_reduced() is rewritten; polynomial() replaced with an
instance variable (poly)
Doctests are in place for the new code, so the file remains at 100%
coverage.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4120>
SAGE <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---