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