Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15672

Re: About Table

From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: About Table
Date 2011-01-28 11:16 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <ihu8hr$1oe$1@smc.vnet.net> (permalink)

Show all headers | View raw


On 1/27/11 at 3:40 AM, olfa.mraihi@yahoo.fr (olfa) wrote:

>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)???!!!

It was returned unevaluated since Mathematica has no way to make
a comparison between elements of the generated list until you
define A.

In Mathematica, the syntax A[index1] becomes A[1],A[2] etc.
These are interpreted by Mathematica as the *function* A
evaluate at 1, 2 etc. It is impossible for Mathematica or anyone
for that matter to determine how A[1] compares with A[2] until A
is defined. Note, this is also true when you think of A[1] as
being a subscripted variable.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: About Table Bill Rowe <readnews@sbcglobal.net> - 2011-01-28 11:16 +0000

csiph-web