Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

Behavior of Array[]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg19444] Behavior of Array[]
  • From: jslater at cs.wright.edu (Joseph C. Slater)
  • Date: Wed, 25 Aug 1999 01:25:14 -0400
  • Organization: Wright State University
  • Sender: owner-wri-mathgroup at wolfram.com

I've been using Mathematica for many years and one thing still puzzles me.
Elements of the array defined by the variable 'a' can be obtained using
a[[i,j]]=expression. However, the command Array creates arrays comprised
of elements named in the form 'a[i,j]'. Note the single brackets.
Everything I see in the Mathematica book about brackets says that these
are functions. This seems inconsistant to me. Shouldn't they be listed as
'a[[i,j]]' until they are defined? What are the single brackets supposed
to mean if not elements of the array 'a'?
Thanks in advance,

Joe Slater

-- 
________________________________________________________________
Dr. Joseph C. Slater             mailto:joseph.slater at wright.edu
Mechanical and Materials Engineering    office:+1 (937) 775-5085
Wright State University                    fax:+1 (937) 775-5009
Dayton, OH 45435               http://www.cs.wright.edu/~jslater


  • Prev by Date: Simultaneous nonlinear Regression of two data sets
  • Next by Date: Mathematica on linux help
  • Previous by thread: Re: Simultaneous nonlinear Regression of two data sets
  • Next by thread: Re: Behavior of Array[]