MathGroup Archive 2011

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

Search the Archive

Re: About Table

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115983] Re: About Table
  • From: Simon <simonjtyler at gmail.com>
  • Date: Fri, 28 Jan 2011 06:14:10 -0500 (EST)
  • References: <ihrb1f$8or$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... 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