Re: Noah's List
- To: mathgroup at smc.vnet.net
- Subject: [mg5696] Re: Noah's List
- From: Bob Stagat <stagat at mrcsb.com>
- Date: Sat, 11 Jan 1997 14:29:00 -0500
- Organization: Regional Alliance for Information Networking (RAIN)
- Sender: owner-wri-mathgroup at wolfram.com
Hans Havermann wrote:
>
> I have two lists, x and y, each containing n elements. I would like to
> generate a new list, {{x[[1]],y[[1]]}, {x[[2]],y[[2]]},...
> {x[[n]],y[[n]]}}, but have been unable to figure out a shorthand for it.
> Any help would be much appreciated.
>
> --
> HaHa
> Rarebit Dreams
Looks to me like all you want to do is say...
newlist = Transpose[{x,y}]