MathGroup Archive 2012

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

Search the Archive

Re: NDSolve output without interpolating function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124221] Re: NDSolve output without interpolating function
  • From: "Oleksandr Rasputinov" <oleksandr_rasputinov at hmamail.com>
  • Date: Sat, 14 Jan 2012 02:54:51 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jeout7$g44$1@smc.vnet.net>

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