Re: Convert Array to Simple List
- To: mathgroup at smc.vnet.net
- Subject: [mg87004] Re: Convert Array to Simple List
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Fri, 28 Mar 2008 03:18:49 -0500 (EST)
On 3/27/08 at 8:15 AM, pierre-emile.lhuillier at mines-nancy.org (Pierre) 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} Look up Flatten in the documentation, i.e., In[1]:= Flatten[{{a, b}, {c, d}}] Out[1]= {a,b,c,d}