MathGroup Archive 1999

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

Search the Archive

Re: matrix to list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg20849] [mg20849] Re: matrix to list
  • From: "Seth Chandler" <SChandler at uh.edu>
  • Date: Wed, 17 Nov 1999 03:41:10 -0500 (EST)
  • Organization: University of Houston
  • References: <80nh18$290@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I believe the Flatten command will do exactly what you intend.
Flatten[{{2,3,4},{5,6,7}}] will yield {2,3,4,5,6,7}.


<niels_sandmann at my-deja.com> wrote in message
news:80nh18$290 at smc.vnet.net...
> Hi
> How do you transform a matrix in to a list?
>
> For Instance the matrix {{1, 2, 4}, {7, 3, 43}, {10, 2, 11}, {12, 12,
> 3}, {34, 22, 0}} should be converted to
> {1,2,4,7,3,43,10,2,11,12,12,3,34,22,0}
>
> Mvh, Niels Sandmann
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>




  • Prev by Date: Convex Hull
  • Next by Date: Spell Checking in Version 4
  • Previous by thread: matrix to list
  • Next by thread: Cryptography