|
[Date Index]
[Thread Index]
[Author Index]
Re: NDSolve output without interpolating function
- To: mathgroup at smc.vnet.net
- Subject: [mg124210] Re: NDSolve output without interpolating function
- From: Szabolcs Horvát <szhorvat at gmail.com>
- Date: Sat, 14 Jan 2012 02:51:02 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <jeout7$g44$1@smc.vnet.net>
On 2012.01.13. 11:52, william cuervo wrote:
> Hi!
>
> Is there any way that NDSolve presents the output as a set of data instead
> of as an interpolating function?
>
For anything NDSolve-related, I recommend looking at this part of the docs:
http://reference.wolfram.com/mathematica/tutorial/NDSolveOverview.html
(This is literally book length!)
For your query about the points, see here:
http://reference.wolfram.com/mathematica/tutorial/NDSolvePackages.html
First load the DifferentialEquations`InterpolatingFunctionAnatomy` package.
Then InterpolatingFunctionCoordinates[ifun] will give you the list of
coordinates. You can then map ifun (the interpolating function) to this
list to get the function values.
But note that an interpolating function has more than just this: it
also has the values of the derivatives, but just the function values itself.
Hope this helps.
--
Szabolcs Horvát
Mma QA site proposal: http://area51.stackexchange.com/proposals/37304
Prev by Date:
Function return type in Compile
Next by Date:
Re: NDSolve output without interpolating function
Previous by thread:
Re: NDSolve output without interpolating function
Next by thread:
Importing data via jump drive issue.
|