Re: How to unflatten an array ?
- To: mathgroup at smc.vnet.net
- Subject: [mg112812] Re: How to unflatten an array ?
- From: Mark Adler <madler at alumni.caltech.edu>
- Date: Fri, 1 Oct 2010 05:42:45 -0400 (EDT)
- References: <i81j69$9v8$1@smc.vnet.net>
Don't know if it's the most efficient, but I would do this: Partition[{{#1, #2}, #3} & @@@ a2, 3] === a1 True Mark