#4296: [with patch, needs review] univariate polynomial power ignores 2nd
argument
------------------------------+---------------------------------------------
Reporter: zimmerma | Owner: somebody
Type: defect | Status: new
Priority: critical | Milestone: sage-3.4
Component: basic arithmetic | Resolution:
Keywords: |
------------------------------+---------------------------------------------
Comment (by mabshoff):
Replying to [comment:7 robertwb]:
> Ah, good point.
:)
> I'm not sure how I feel about throwing the symbolic x around all around,
though I guess efficiency doesn't matter too much here.
Yeah, I would consider it a good idea to get this in as is and open
another ticket to make this more efficient.
> Also, just looking at the code it can be very inefficient--it computes
{{{(a^b)}}} in full, then divides by the modulus taking the remainder.
This is fine for small exponents, but for anything large is wasteful.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4296#comment:8>
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
-~----------~----~----~----~------~----~------~--~---