Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: Insulating data from code

  • To: mathgroup at
  • Subject: [mg66530] Re: Insulating data from code
  • From: "J Siehler" <jsiehler at>
  • Date: Fri, 19 May 2006 03:39:24 -0400 (EDT)
  • References: <e4ekai$9av$>
  • Sender: owner-wri-mathgroup at

Hm, maybe a minor cosmetic improvement:

partitionedAs[a_, b_] := ReplacePart[b, a, Position[b, _, {-1}, Heads
->False], MapIndexed[#2 &, a]]

  • Prev by Date: Re: Fancy pictures in 3D
  • Next by Date: queuing network model
  • Previous by thread: Insulating data from code
  • Next by thread: Re: Insulating data from code