Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11674 > unrolled thread
| Started by | Rodrigo AP <digorna@gmail.com> |
|---|---|
| First post | 2012-09-08 07:48 +0000 |
| Last post | 2012-09-09 09:17 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
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
| From | Rodrigo AP <digorna@gmail.com> |
|---|---|
| Date | 2012-09-08 07:48 +0000 |
| Subject | Sum command |
| Message-ID | <k2et85$km8$1@smc.vnet.net> |
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
--
Rodrigo
[toc] | [next] | [standalone]
| From | "Nasser M. Abbasi" <nma@12000.org> |
|---|---|
| Date | 2012-09-09 09:17 +0000 |
| Message-ID | <k2hmqh$puo$1@smc.vnet.net> |
| In reply to | #11674 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web