Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11685
| From | "Nasser M. Abbasi" <nma@12000.org> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Sum command |
| Date | 2012-09-09 09:17 +0000 |
| Message-ID | <k2hmqh$puo$1@smc.vnet.net> (permalink) |
| References | <k2et85$km8$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
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
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Sum command Rodrigo AP <digorna@gmail.com> - 2012-09-08 07:48 +0000 Re: Sum command "Nasser M. Abbasi" <nma@12000.org> - 2012-09-09 09:17 +0000
csiph-web