Re: Convert Array to Simple List
- To: mathgroup at smc.vnet.net
- Subject: [mg86994] Re: Convert Array to Simple List
- From: kehle at hws.edu
- Date: Fri, 28 Mar 2008 03:16:56 -0500 (EST)
- References: <fsg6j6$iuk$1@smc.vnet.net>
Try these:
Flatten[{{a, b, c}, {d, e, f}, {g, h, i}}]
and
Flatten[Transpose[{{a, b, c}, {d, e, f}, {g, h, i}}]]
On Mar 27, 9:14 am, Pierre <pierre-emile.lhuill... at mines-nancy.org>
wrote:
> I need to convert an Array (List of List) to a simple List by concatening =
the colums or the lines.
>
> e.g. : {{a,b},{c,d}} ==>{a,b,c,d}
> or
> {{a,b},{c,d}} ==>{a,c,b,d}