#5834: [with patch, positive review] Improvements to quadratic_forms/extras/py
-----------------------------+----------------------------------------------
Reporter: cremona | Owner: justin
Type: enhancement | Status: new
Priority: minor | Milestone: sage-4.0
Component: quadratic forms | Keywords: quadratic forms
-----------------------------+----------------------------------------------
Comment(by cremona):
Thanks, Jon. Your small extra patch looks ok to me but I did not try
applying it.
I had not noticed the other quadratic_nonresidue() routine in
integer_mod_ring.py!
On your other question, it seems rather random. I'm not sure what we can
do about that. In some other languages, if there was a function which
applied to rationals and you give it an integer, the compiler would insert
the necessary coercion. But cannot do that (it would involve making
integer a subclass of rational, which does not seem a good idea!)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5834#comment:6>
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
-~----------~----~----~----~------~----~------~--~---