Hi all,

is it possible to increase the index of a symbolic variable.

I tried this.

var('b x')
var('i n', integer=True)
print(var('x:5'))
print(summation(b_i*x(n-i),(i, 0, 4)))


The output should look like this:
b4*x(n - 4) + b3*x(n - 3) + b2*x(n - 2) + b1x(n - 1) + b0x(n)

Error message is: name b_i not defined

Thanx

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sympy/-/E8OpJYemeLUJ.
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.

Reply via email to