Hello. Trying to execute the following minimal example throws SymPy
into an infinite loop. (Obviously this is an extract from my actual
program.) I tried debugging using eric5 but beyond that the problem
occurs within the Ra() function, I couldn't find out anything. Can
please anyone tell me what I am doing wrong?
from sympy import symbols,summation,binomial,Function
i,n,j=symbols('i n j', integer=True)
t=symbols('t',real=True)
ival=Function('ival')
def Ra(i) : return
summation((-1)**(i+j)*binomial(i,j)*binomial(n,i)*ival(j),(j,0,i))
print(summation(t**i*Ra(i),(i,0,5)))
Thanks!
--
Shriramana Sharma
--
You received this message because you are subscribed to the Google Groups
"sympy" 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?hl=en.