Re: Sum command
- To: mathgroup at smc.vnet.net
- Subject: [mg128019] Re: Sum command
- From: "Nasser M. Abbasi" <nma at 12000.org>
- Date: Sun, 9 Sep 2012 05:10:07 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
- References: <k2et85$km8$1@smc.vnet.net>
- Reply-to: nma at 12000.org
On 9/8/2012 2:48 AM, Rodrigo AP wrote: > Dear group, > > How could I get: Sum[f[i],{i,7/2,4}]=f[4] or Sum[f[i],{i,3/2,2}]=f[2] ? I > mean, I want the iterator running over the integers only ... > > Regards > In[4]:= Last@Sum[f[i],{i,7/2,4,1/2}] Out[4]= f[4] In[7]:= Last@Sum[f[i],{i,3/2,2,1/2}] Out[7]= f[2] --Nasser