[Date Index] [Thread Index] [Author Index]
Re: NDSolve output without interpolating function
On Fri, 13 Jan 2012 09:52:39 -0000, william cuervo <wfcuervo at gmail.com> wrote: > Hi! > > Is there any way that NDSolve presents the output as a set of data > instead > of as an interpolating function? > > > Thanks! As far as I know, no. However, you can extract the values from the InterpolatingFunction using the (undocumented) forms: ifun["Grid"] to find the locations at which the values are sampled, and ifun["ValuesOnGrid"] to extract the values themselves. These (as well as some other properties) are officially accessible via the DifferentialEquations`InterpolatingFunctionAnatomy` package, which just provides functions for calling the undocumented forms above.