Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15672 > unrolled thread
| Started by | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| First post | 2011-01-28 11:16 +0000 |
| Last post | 2011-01-28 11:16 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: About Table Bill Rowe <readnews@sbcglobal.net> - 2011-01-28 11:16 +0000
| From | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| Date | 2011-01-28 11:16 +0000 |
| Subject | Re: About Table |
| Message-ID | <ihu8hr$1oe$1@smc.vnet.net> |
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 top | Article view | comp.soft-sys.math.mathematica
csiph-web