#6064: allow rationals in kronecker_symbol and legendre_symbol
---------------------------+------------------------------------------------
Reporter: tornaria | Owner: tornaria
Type: enhancement | Status: new
Priority: major | Milestone:
Component: number theory | Keywords:
---------------------------+------------------------------------------------
With sage-4.0.alpha0:
{{{
sage: kronecker(2/3,7)
...
TypeError: no conversion of this rational to integer
}}}
Same for {{{kronecker_symbol}}} and {{{legendre_symbol}}}. However, it
does make sense for these to be defined on rationals.
This is actually used by {{{is_padic_square}}} when used with rationals,
and triggered by some of the new quadratic form doctests.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6064>
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
-~----------~----~----~----~------~----~------~--~---