MathGroup Archive 2012

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

Search the Archive

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.



  • Prev by Date: Re: NDSolve output without interpolating function
  • Next by Date: Function return type in Compile
  • Previous by thread: Re: NDSolve output without interpolating function
  • Next by thread: Re: NDSolve output without interpolating function