Re: Part of a matrix or array
- To: mathgroup at smc.vnet.net
- Subject: [mg51378] Re: [mg51334] Part of a matrix or array
- From: Tomas Garza <tgarza01 at prodigy.net.mx>
- Date: Fri, 15 Oct 2004 02:47:37 -0400 (EDT)
- References: <200410141037.GAA14972@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
I suggest you take a look at the add-on LinearAlgebra`MatrixManipulation`.
Therein you will find a number of ways to select parts of a matrix. Now, I
don't know if you can avoid using a 'function' to do what you want.
Tomas Garza
Mexico City
----- Original Message -----
From: "Gregory Lypny" <gregory.lypny at videotron.ca>
To: mathgroup at smc.vnet.net
Subject: [mg51378] [mg51334] Part of a matrix or array
> Hello everyone,
>
> Mathematica has so many functions for accessing parts of arrays that
> I'm not sure which one I should be using to get a submatrix, for
> example, rows 3 to 7 and columns 11 to 14 of matrix X. Should I use
> Take?
>
> Take[X,{3,7},{11,14}]
>
> Is there a more compact way where I don't have to explicit refer to a
> function?
>
> Regards,
>
> Greg
>
>
- References:
- Part of a matrix or array
- From: Gregory Lypny <gregory.lypny@videotron.ca>
- Part of a matrix or array