Re: [sympy] Sympy apart() with complex variables

2021-04-12 Thread Oscar Benjamin
On Mon, 12 Apr 2021 at 14:14, s5s wrote: > > I am trying to do partial fractions involving a complex variable. I was > wondering if one can do this with sympy apart function. Below is the code to > attempt this but it does not return a decomposed expression. > > > from sympy import * > x, y, z

[sympy] Sympy apart() with complex variables

2021-04-12 Thread s5s
Hi, I am trying to do partial fractions involving a complex variable. I was wondering if one can do this with sympy apart function. Below is the code to attempt this but it does not return a decomposed expression. from sympy import * x, y, z = symbols('x, y, z') s= symbols('s', complex=True,