#4132: [with patch, needs review] complex arithmetic passes via pari
------------------------------+---------------------------------------------
Reporter: robertwb | Owner: AlexGhitza
Type: enhancement | Status: assigned
Priority: major | Milestone: sage-3.1.3
Component: basic arithmetic | Resolution:
Keywords: |
------------------------------+---------------------------------------------
Changes (by AlexGhitza):
* summary: complex arithmetic passes via pari => [with patch, needs
review] complex arithmetic passes via pari
Comment:
The attached patch does the following:
* based on Robert's example, gets rid of Pari calls in cos, cosh, sin,
sinh, tan, tanh, exp, sqrt, nth_root, !__pow!__
* adds csc() and sec()
* adds a !__nonzero!__() method to speed up is_zero()
* fixes doctests that were affected by these changes
The patch is currently based on 3.1.3.alpha1, and I'm putting it out as
such so that it can be reviewed. I am aware of some interaction with
patches that were merged in alpha2, so I will rebase it once alpha2 is
out.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4132#comment:5>
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
-~----------~----~----~----~------~----~------~--~---