Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15733 > unrolled thread

Re: About Table

Started bySimon <simonjtyler@gmail.com>
First post2011-01-28 11:14 +0000
Last post2011-01-28 11:14 +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.


Contents

  Re: About Table Simon <simonjtyler@gmail.com> - 2011-01-28 11:14 +0000

#15733 — Re: About Table

FromSimon <simonjtyler@gmail.com>
Date2011-01-28 11:14 +0000
SubjectRe: About Table
Message-ID<ihu8em$1l3$1@smc.vnet.net>
Because Table[] does not evaluate if the index limits are not numbers,
Max[] is acting on a single object, and the biggest element in a set
of one is that one element.  You can test this by running Max[symb] on
some arbitrary symbol.

So Table[] isn't evaluated, which means that Max[] trivially
evaluates.
The m + ... part is completely superfluous.

Simon


On Jan 27, 7:40 pm, olfa <olfa.mra...@yahoo.fr> 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.

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web