Updates:
Status: Accepted
Comment #10 on issue 2820 by [email protected]: expand() doesn't work in
the denominator
http://code.google.com/p/sympy/issues/detail?id=2820
This still doesn't always work.
In [11]: n = -1 + 1/x
In [12]: z=n/x/(-n)**2-1/n/x
In [13]: z.expand()
Out[13]:
1 1 1
- ───────── - ────── + ─────────────
1 -x + 1 ⎛ 1⎞
x - 2 + ─ x⋅⎜x - 2 + ─⎟
x ⎝ x⎠
In [14]: z.expand(deep=True)
Out[14]:
1 1 1
- ───────── - ────── + ─────────────
1 -x + 1 ⎛ 1⎞
x - 2 + ─ x⋅⎜x - 2 + ─⎟
x ⎝ x⎠
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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/sympy-issues?hl=en.