MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Re: Re: How do I remove operator status?
  • Next by Date: Complex integration
  • Previous by thread: Re: Transpose to multiple lists
  • Next by thread: NMinimize--problem with a min-max problem