#20017: implement cos and sin of power series
-------------------------+-------------------------------------------------
Reporter: | Owner:
chapoton | Status: needs_review
Type: | Milestone: sage-7.1
enhancement | Resolution:
Priority: major | Merged in:
Component: | Reviewers:
calculus | Work issues:
Keywords: | Commit:
Authors: | a7cb277b2445abe758660cd058ebdb05d3d16cab
Frédéric Chapoton | Stopgaps:
Report Upstream: N/A |
Branch: |
u/chapoton/20017 |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by rws):
You're practically substituting into the series for `x`. This is fast for
small order but may not be optimal for say 1000 coefficients.
You may be interested in general in a timing comparison. For Symengine
there is a benchmark to compute `sin(x+x^2)*cos(x+x^2)` to order 1000
which needs 120ms using the Flint implementation on my machine. Your
branch at the moment takes 2.1s which is not too bad.
--
Ticket URL: <http://trac.sagemath.org/ticket/20017#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.