Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: how to make conditional summation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55584] Re: how to make conditional summation
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Wed, 30 Mar 2005 03:21:34 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

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