MathGroup Archive 2008

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

Search the Archive

Rule that kills kernel

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84642] Rule that kills kernel
  • From: dh <dh at metrohm.ch>
  • Date: Tue, 8 Jan 2008 01:27:04 -0500 (EST)


Hello,

Consider my previous post. In between I found that in version 6 a 

"HoldPattern" is needed:

rules:=HoldPattern[x:InterpolatingFunction[_,_,{y_},__]]:>Evaluate[{#,x[#]}&]/@y;

rules

However, in version 5.1 the HoldPattern produces the following error 

message:

Part::partw: Part 1 of _ does not exist.



kindly, Daniel huber




  • Prev by Date: PC ram problems with M6
  • Next by Date: Prime Number Calculation
  • Previous by thread: PC ram problems with M6
  • Next by thread: Rule that kills kernel