MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: how to make conditional summation


On 3/29/05 at 3:42 AM, xiaoxun at gmail.com (Xiao Jun Jun) wrote:

>Say, Sum[f[m],{m,-N,N}] with N != 0 Any suggestions?

Don't use N as a variable name since that is already used by Mathematica to convert numbers between various precisions.

For example

In[1]:= Sum[2*m + 2, {m, -3, 3}]
Out[1]= 14

clearly works fine.
--
To reply via email subtract one hundred and four


  • Prev by Date: exploded plots
  • Next by Date: intersection point from listplots
  • Previous by thread: Re: how to make conditional summation
  • Next by thread: Re: how to make conditional summation