MathGroup Archive 2006

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

Search the Archive

Array

  • To: mathgroup at smc.vnet.net
  • Subject: [mg69220] Array
  • From: Bruce Colletti <vze269bv at verizon.net>
  • Date: Sun, 3 Sep 2006 01:39:03 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

The command:

   {A[1], A[2], A[3]} = {1, 2, 3}

assigns a value to each A-variable.  However, the command:

   Array[A,3] = {1,2,3}

generates an error message.

What is the difference between the two lines?

Thankx.

Bruce


  • Follow-Ups:
    • Re: Array
      • From: Sseziwa Mukasa <mukasa@jeol.com>
  • Prev by Date: Re: Re: generalized foldlist problem - part 2
  • Next by Date: Re: Dot Product in Cylindrical Coordinates
  • Previous by thread: Re: Mathmatica StyleSheet questions
  • Next by thread: Re: Array