Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

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


  • Prev by Date: BSpline function
  • Next by Date: Help for solving this Integrate[Sqrt[t*(1-t)* (t-z),{t,0,z} ] NEW!!!!
  • Previous by thread: Re: BSpline function
  • Next by thread: Re: How to unflatten an array ?