MathGroup Archive 2006

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

Search the Archive

Re: Re: How to get range of InterpolatingFunction ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg64048] Re: [mg64032] Re: How to get range of InterpolatingFunction ?
  • From: Brett Champion <brettc at wolfram.com>
  • Date: Sun, 29 Jan 2006 05:57:20 -0500 (EST)
  • References: <drct5m$j01$1@smc.vnet.net> <200601280723.CAA14713@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

There is a utility package

     DifferentialEquations`InterpolatingFunctionAnatomy`

mentioned in the NDSolve Advanced Documentation that provides functions 
for getting information out of InterpolatingFunctions.  The advantage of 
the package is that it will work, even if the internal details of the 
interpolating function change.

The function in the package you want is InterpolatingFunctionDomain, and 
there's documentation for it in the following location in the help 
browser:

Built in Functions / Advanced Documentation / Differential Equationss / 
NDSolve / DifferentialEquations Utility Packages / 
InterpolatingFunctionAnatomy

Alternately, here is a really long URL to the same information on the 
Wolfram web site.

<http://documents.wolfram.com/mathematica/Built-inFunctions/AdvancedDocumentation/DifferentialEquations/NDSolve/DifferentialEquationsUtilityPackages/InterpolatingFunctionAnatomy.html>

Brett Champion
Wolfram Research


On Sat, 28 Jan 2006, Borut Levart wrote:

> You can extract this information from the InterpolatingFunction-object
> with Part, ie. [[]]. If your solution is sol
>
> sol = {y -> InterpolatingFunction[{{0., 3.}}, <>]}
>
> then (y /. sol)[[1, 1]] will give you the list {0, 3}.
>
> Bye,
> Bo
>


  • Prev by Date: Solve, D, and summations
  • Next by Date: Re: Repeated sequence
  • Previous by thread: Re: How to get range of InterpolatingFunction ?
  • Next by thread: Re: How to get range of InterpolatingFunction ?