Re: [sympy] Summation of function

2015-02-04 Thread Francesco Bonazzi
On Wednesday, February 4, 2015 at 12:41:45 AM UTC+1, Aaron Meurer wrote: But do they actually use summation convention, as if i=0.5..2.5 meant i = 0.5, 1.5, 2.5? A spin state is usually represented by an N-dim vector, upon which act NxN matrices. The energies associated with these N

Re: [sympy] Summation of function

2015-02-03 Thread Christophe Bal
the summation function used in sympy. The code should be according to the documentation but for summation, As @asmeurer had mentioned earlier to me that- he is not sure regarding the summation function. That what sympy should be doing with it. https://groups.google.com/forum/#!topic/sympy

Re: [sympy] Summation of function

2015-02-03 Thread Gaurav Dhingra
Hi, I want to know about the summation function used in sympy. The code should be according to the documentation but for summation, As @asmeurer had mentioned earlier to me that- he is not sure regarding the summation function. That what sympy should be doing with it. https://groups.google.com

Re: [sympy] Summation of function

2015-02-03 Thread Christophe Bal
. *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French math teacher in a Lycée **and **Python **amateur developer* 2015-02-03 9:01 GMT+01:00 Gaurav Dhingra axyd0...@gmail.com: Hi, I want to know about the summation function used in sympy

Re: [sympy] Summation of function

2015-02-03 Thread Gaurav Dhingra
to know about the summation function used in sympy. The code should be according to the documentation but for summation, As @asmeurer had mentioned earlier to me that- he is not sure regarding the summation function. That what sympy should be doing with it. https://groups.google.com/forum/#!topic

Re: [sympy] Summation of function

2015-02-03 Thread Aaron Meurer
**et développeur Python amateur* *---* *French math teacher in a Lycée **and **Python **amateur developer* 2015-02-03 9:01 GMT+01:00 Gaurav Dhingra axyd...@gmail.com: Hi, I want to know about the summation function used in sympy. The code should be according to the documentation

Re: [sympy] Summation of function

2015-02-03 Thread Gaurav Dhingra
**and **Python **amateur developer* 2015-02-03 9:01 GMT+01:00 Gaurav Dhingra axyd...@gmail.com: Hi, I want to know about the summation function used in sympy. The code should be according to the documentation but for summation, As @asmeurer had mentioned earlier to me that- he is not sure regarding

Re: [sympy] Summation of function

2015-02-03 Thread Aaron Meurer
On Tue, Feb 3, 2015 at 1:52 PM, Francesco Bonazzi franz.bona...@gmail.com wrote: On Tuesday, February 3, 2015 at 8:18:58 PM UTC+1, Aaron Meurer wrote: Do physics applications actually use summation notation with noninteger limits? If so, what convention do they use? Summing over the

[sympy] Summation of function

2015-01-22 Thread Gaurav Dhingra
Hi all I ran the following the following code In[10]: simplify(summation((k), (k, 2, 4.7))) == simplify(summation((k), (k, 2, 4.4))) Out[10]: False I read the documentation of summation function, so according to it the summation includes all the integer values from start to end. But does not

Re: [sympy] Summation of function

2015-01-22 Thread Aaron Meurer
See https://github.com/sympy/sympy/issues/5822 for a discussion on this. I'm not sure what convention SymPy should take, but the documentation ought to match it. Aaron Meurer On Thu, Jan 22, 2015 at 7:56 PM, Gaurav Dhingra axyd0...@gmail.com wrote: Hi all I ran the following the following

[sympy] summation of function

2015-01-14 Thread Gaurav Dhingra
Hi Is this a bug ? from __future__ import division from sympy import * x, y, z, t = symbols('x y z t') k, m, n = symbols('k m n', integer=True) f, g, h = symbols('f g h', cls=Function) Documentation can be found at http://docs.sympy.org/0.7.6. summation(1/((k+3.5)*(k+8)), (k, 1, n))