MathGroup Archive 2011

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

Search the Archive

Re: About Table


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