MathGroup Archive 2002

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

Search the Archive

Re: Number of Rows/Columns of a Matrix

  • To: mathgroup at smc.vnet.net
  • Subject: [mg37652] Re: Number of Rows/Columns of a Matrix
  • From: Bill Rowe <listuser at earthlink.net>
  • Date: Thu, 7 Nov 2002 06:42:55 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

On 11/6/02 at 6:54 AM, mukasa at jeol.com (Sseziwa Mukasa) wrote:

>
>On Tuesday, November 5, 2002, at 05:01 AM, Matthias.Bode at oppenheim.de
>wrote:

>>I fail to locate the commands "Rows[mat]", "Columns[mat]" which give
>>the number of rows and columns of a matrix; I believe they exist -
>>and I do know Dimensions[].

>As far as I can tell there are no such prebuild commands in v4.2.  It
>would be trivial to define them however.

While there are any prebuilt commands called Rows and Columns there is also no real need to define them either. The number of rows in a matrix, mat is given by Length[mat] and the number of columns is given by Length[First[mat]]


  • Prev by Date: Re: Not quite a Swell FLOOP?
  • Next by Date: Open notebooks created in Window with Macintosh computers
  • Previous by thread: RE: Number of Rows/Columns of a Matrix
  • Next by thread: How to get the linear independent subset of a list? (Newbie Question)