Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15966 > unrolled thread
| Started by | Peter Pein <petsie@dordos.net> |
|---|---|
| First post | 2011-01-28 11:11 +0000 |
| Last post | 2011-01-28 11:11 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: About Table Peter Pein <petsie@dordos.net> - 2011-01-28 11:11 +0000
| From | Peter Pein <petsie@dordos.net> |
|---|---|
| Date | 2011-01-28 11:11 +0000 |
| Subject | Re: About Table |
| Message-ID | <ihu89s$1gr$1@smc.vnet.net> |
On 27.01.2011 09:40, olfa wrote:
> Hi Mathematica community,
>
> when evaluating this input (with shift+enter):
> m + Max[Table[A[index1], {index1, i, N}]]
>
> I obtain the output:
> m + Table[A[index1], {index1, i, N}]
>
> How to explain why the function Max wasn't maintained (I mean why it
> was ignored by mathematica)???!!!
>
> Thank you very much.
>
Hi,
with meaningful input, you'll get
In[1]:= With[{i = 3, n = 5},
m + Max[Table[A[index1], {index1, i, n}]]
]
Out[1]= m + Max[A[3], A[4], A[5]]
and do not use function names as variables.
Peter
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web