Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg66530] Re: Insulating data from code
  • From: "J Siehler" <jsiehler at gmail.com>
  • Date: Fri, 19 May 2006 03:39:24 -0400 (EDT)
  • References: <e4ekai$9av$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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