Re: Transpose to multiple lists
- To: mathgroup at smc.vnet.net
- Subject: [mg55808] Re: Transpose to multiple lists
- From: "Valeri Astanoff" <astanoff at yahoo.fr>
- Date: Wed, 6 Apr 2005 04:07:45 -0400 (EDT)
- References: <d2tf20$qk8$1@smc.vnet.net><d302lk$gs9$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Daniel, You posted the solution "Flatten[ (i = 1; {i++, #} & /@ #) & /@ t , 1] ". It works indeed, but let me quote one of mathematica community's gurus : "Because mathematica provides procedural programming constructs, a programmer with a traditional background is likely to fall into the trap of programming the same way he always has. Unfortunately, the best way of doing something is almost never the procedural way" David B.Wagner - Power programming with mathematica Valeri