Re: lists
- To: mathgroup@smc.vnet.net
- Subject: [mg10522] Re: [mg10479] lists
- From: Lou Talman <me@talmanl.mscd.edu>
- Date: Tue, 20 Jan 1998 02:23:09 -0500
If
A = {{1}, {2},...,{n}}
and
B = {{1a}, {2a},...,{na}},
then
Flatten[Transpose[{A, B}], 1]
does what you want.
--Lou Talman
Begin forwarded message:
From: Paul.Hanson@colorado.edu
To: mathgroup@smc.vnet.net
Subject: [mg10522] [mg10479] lists
Organization: University of Colorado at Boulder
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
--
* *
* *
/\ */\*
/ \ / \ /\