MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: About Table


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... at 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.



  • Prev by Date: Re: About Table
  • Next by Date: Re: About Table
  • Previous by thread: Re: About Table
  • Next by thread: Re: About Table