[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,

[sympy] SymPy subs().evalf() vs evalf(subs=dict(...))

2020-10-12 Thread s5s
Hi, First, apologies if this has been discussed before. I'm browsing through the tutorial and encountered what appears to be an inaccuracy in the documentation. In particular, I am reading Basic Operations section which states