Here is a code snippet (for test purposes):
from sympy import symbols, I, oo, Sum, exp
a, s, t, j = symbols('a s t j')
ex = Sum(a*exp((2*s + 1)*I*t), (s, -oo, oo))
print(ex)
ex = ex.subs(s, j)
print(ex)
The subs statement has no effect. Is there another way to do this?
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/57c9522d-7e3b-42be-88cb-1834a3d49efdn%40googlegroups.com.