#6119: deprecate taylor() in favor of series()
---------------------------+------------------------------------------------
Reporter: robertwb | Owner: burcin
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.7.2
Component: calculus | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
---------------------------+------------------------------------------------
Changes (by burcin):
* milestone: sage-4.7.1 => sage-4.7.2
Old description:
> Ginac has series about zero, it should be easy to shift to get the series
> about any point.
New description:
Symbolic expressions have two methods to obtain series expansions. The
`taylor()` method is a wrapper around maxima's `taylor` command. The
result of this is not always a Taylor series, which leads to confusions.
The `series()` method was introduced in the pynac-based symbolics. ATM, it
is a thin wrapper around GiNaC series expansions. This also plays well
with the symbolic functions, etc. introduced based on Pynac/GiNaC.
We should deprecate the `taylor()` method and add an `algorith=` argument
to `series()`. The default behavior can be to call GiNaC and fall back to
maxima if that fails.
--
Comment:
From comment:6:ticket:9555:
> The taylor() method is cruft left over from pre-pynac symbolics. We
should deprecate it in favor of the series() method. It's perfectly
acceptable to give Puiseux series as a result of a call to .series(). I
expect this to be done in #6119, where we add an algorithm= option to
.series(). The default behavior can be to call pynac and fall back to
maxima if that returns an error.
In short, we should change this ticket to cover this transition. Series
expansions in Pynac need more work to match what maxima does. That should
be tracked on the pynac issue tracker:
https://bitbucket.org/burcin/pynac/issues
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6119#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 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.