Re: lists
- To: mathgroup@smc.vnet.net
- Subject: [mg10514] Re: [mg10479] lists
- From: "C. Woll" <carlw@u.washington.edu>
- Date: Tue, 20 Jan 1998 02:23:02 -0500
Hi Paul, One idea is to use Transpose and Flatten. If l1={{1},{2},{3}} l2={{1a},{2a},{3a}} then Flatten[Transpose[{l1,l2}],1] will do the trick Carl Woll Dept of Physics U of Wash On Fri, 16 Jan 1998 Paul.Hanson@colorado.edu wrote: > Hola! > So, if you have a couple of lists: > {{1},{2},{3},{4}....{n}} > and > {{1a},....{na}} > and I want to combine them such that, > {{1},{1a},{2},{2a}....{n},{na}} > > How do I get there? Thanks in advance for the help. > > Paul Hanson > > -- > * * > * * > /\ */\* > / \ / \ /\ > >