Re: Array Basics

2004-02-25 Thread Dar Scott
On Wednesday, February 25, 2004, at 08:48 AM, Bojsza wrote: on mouseUp put empty into xArray put empty into zArray put "1 2 3" into xArray split xArray by space -- create an array from a list (3x1 array) put "2 3 4" into zArray -- create a 1x3 array matrixMultiply(xArray,zArray) put it i

Re: Array Basics

2004-02-25 Thread Jeanne A. E. DeVoto
At 9:48 AM -0600 2/25/2004, Bojsza wrote: 1. What is the difference between an array and a matrix? There's no basic difference; a matrix is a particular kind of array. (Specifically, a matrix is a two-dimensional array with one-based numeric keys.) [...] put "2 3 4" into zArray -- create a 1x3

Array Basics

2004-02-25 Thread Bojsza
I am starting to forage into arrays and have some very basic questions: 1. What is the difference between an array and a matrix? The following script is to take a 3x1 array and multiply it by a 1x3 array on mouseUp put empty into xArray put empty into zArray put "1 2 3" into xArray spli