#18393: make Expression.series return an element of SR[[]]
-------------------------------+------------------------
Reporter: rws | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.7
Component: calculus | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------+------------------------
Comment (by rws):
Replying to [comment:2 nbruin]:
> - What's the variable of `SR[[]]`?
A symbolic variable is given as argument of `series`. The ring variable
will have the same name and thus override it on new input from the user.
> Does it support multivariate power series?
At the moment `series` takes one symbol.
> - How does `f=(x^2+y^2+1)` coerce into `SR[['x']]`? Note that `f` is
already an element of `SR`, so by default it would be a "constant" in
`SR[['x']]`.
As above the `series` argument determines the name of the series variable,
so it also determines what is being done with the expression. Already now:
{{{
sage: (1+x+y).series(x,5)
(y + 1) + 1*x
}}}
(However, the `coefficient` functions don't work with "exact" series atm)
--
Ticket URL: <http://trac.sagemath.org/ticket/18393#comment:3>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.