On Sun, Mar 4, 2012 at 2:40 PM, waytin <[email protected]> wrote:
> Hello, I am new to sympy and I want to find the way to manipulate
> infinite series, like adding, multiplying two series.
> Like this,
> http://maxima.sourceforge.net/docs/manual/en/maxima_28.html#Item_003a-sum
>
> I can find such function in the docs. Could anyone help me?
> Thank you very much.
>
>
Check out the Sum and Product classes (and summation and product function
which try to do the respective operations if they can):
>>> summation(i**2,(i,1,4))*Sum(1/i**2,(i,1,oo))
30*Sum(i**(-2), (i, 1, oo))
>>> Product(i,(i,1,4))
Product(i, (i, 1, 4))
>>> _.doit()
24
>>> product(i, (i, 1, 4))
24
/c
--
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.