Mathematica 9 is now available
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: [mg55563] Re: [mg55545] how to make conditional summation
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Wed, 30 Mar 2005 03:20:57 -0500 (EST)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

If f[0] is defined

Sum[f[m],{m,-N,N}]-f[0]

If f[0] is not defined, either

Sum[f[m]+f[-m],{m,1,N}]

or 

f[0]=0;

Sum[f[m],{m,-N,N}]


Bob Hanlon

> 
> From: "Xiao Jun Jun" <xiaoxun at gmail.com>
To: mathgroup at smc.vnet.net
> Date: 2005/03/29 Tue AM 03:42:29 EST
> To: mathgroup at smc.vnet.net
> Subject: [mg55563] [mg55545] how to make conditional summation
> 
> Hi, All,
> 
> Say, Sum[f[m],{m,-N,N}] with N != 0
> Any suggestions?
> 
> Regards.
> Xun 
> 
> 
> 

Bob Hanlon
Chantilly, VA


  • Prev by Date: subtle dumb question
  • Next by Date: Re: Position function
  • Previous by thread: Re: how to make conditional summation
  • Next by thread: Re: how to make conditional summation