#4965: [with patch, needs work] Z/nZ[x] via FLINT's zmod_poly
------------------------------+---------------------------------------------
Reporter: malb | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone: sage-3.4
Component: basic arithmetic | Resolution:
Keywords: |
------------------------------+---------------------------------------------
Comment (by robertwb):
malb: Yes, I was missing the fact that I had to change modn and modp, but
in any case I found the bug in the end.
Regarding len, I think it would be useful to have for all univariate
polynomials, but it's not a big deal.
Regarding shifts, I think we already have too many functions, and
shouldn't be introducing even more. I think there should be a
celement_shift (which takes positive and negative values), and the
template {{{__lshift__, __rshift__}}}, and {{{shift}}} all call this. It's
probably the exception to not have specialized shift methods, and in this
case one would manually implement them in celement_shift.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4965#comment:25>
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
-~----------~----~----~----~------~----~------~--~---