Re: Simple List manipulation question
- To: mathgroup at smc.vnet.net
- Subject: [mg58486] Re: [mg58476] Simple List manipulation question
- From: "David Park" <djmp at earthlink.net>
- Date: Mon, 4 Jul 2005 02:24:07 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Dan,
list = {{1, 2, 3, 4, 5}, {1, 4, 9, 16, 25}};
Transpose[list]
{{1, 1}, {2, 4}, {3, 9}, {4, 16}, {5, 25}}
David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/
From: DAN BIKLE [mailto:dbikle at gmail.com]
To: mathgroup at smc.vnet.net
Dear Mathematica Experts,
Suppose I have a list like this:
{{1, 2, 3, 4, 5}, {1, 4, 9, 16, 25}}
Is there a quick way to transform it into this:
{{1,1},{2,4},{3,9},{4,16},{5,25}}
??
-Dan
--
dbikle at gmail.com