Opened 7 years ago
Last modified 6 years ago
#15830 new defect
extracting coefficient x-1 out of symbolic series wrong
Reported by: | dkrenn | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-6.4 |
Component: | symbolics | Keywords: | symbolic, series, coefficient, wrong |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
sage: x.series(x==1,10).coefficient(x-1,0) x
which is wrong. It should be 1
, which can be seen by
sage: x.series(x==1,10) 1 + 1*(x - 1)
We also have wrong results here:
sage: x.series(x==1,10).coefficient(x-1,1) 0 sage: x.series(x==1,10).coefficient(x-1) 0
Change History (3)
comment:1 Changed 7 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:2 Changed 7 years ago by
- Milestone changed from sage-6.3 to sage-6.4
comment:3 Changed 6 years ago by
Note: See
TracTickets for help on using
tickets.
Also
coefficient
can only deal with monomials:Different ticket?