Rule that kills kernel
- To: mathgroup at smc.vnet.net
- Subject: [mg84655] Rule that kills kernel
- From: dh <dh at metrohm.ch>
- Date: Tue, 8 Jan 2008 01:33:57 -0500 (EST)
Hello, the following snipet worked well in version 5.1 but kills the kernel in version:6.0 for Microsoft Windows (32-bit) (June 19, 2007). This snipet replaces every InterpolationFunction by the argument/function value pairs at the interpolation points. Does anybody has a hint or an explanation: rules:={x:InterpolatingFunction[_,_,{y_},__]}:>Evaluate[{#,x[#]}&]/@y rules Note that it does not help to write the pure function as: Function[t,Evaluate[{t,x[t]}]] to make sure the Evaluate is not executed too early. kindly, Daniel Huber