Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Re: About Table

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115969] Re: About Table
  • From: Peter Pein <petsie at dordos.net>
  • Date: Fri, 28 Jan 2011 06:11:31 -0500 (EST)
  • References: <ihrb1f$8or$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


  • Prev by Date: Re: About Table
  • Next by Date: Re: variable dimension of domain of integration
  • Previous by thread: Re: About Table
  • Next by thread: Re: About Table