From: Martin DeMello Date: 2003-01-29T00:01:24+09:00 Subject: Re: Questions from a Ruby Newbie (file io and data structures)... dblack@candle.superlink.net wrote: > On Tue, 28 Jan 2003 christopher.j.meisenzahl@citicorp.com wrote: >> How does a matrix/vector differ from an array? > > Mainly it has a transpose method, which I nonetheless forgot about :-) > > I fear my knowledge of the underlying theory of matrices is very thin; > maybe one of the math people will jump in. The main difference is that a Matrix is rectangular (an Array is a 1-D list; a '2D array' is actually a list of lists). martin