Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7810

Re: NDSolve output without interpolating function

From Szabolcs Horvát <szhorvat@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: NDSolve output without interpolating function
Date 2012-01-14 07:51 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jerc6j$166$1@smc.vnet.net> (permalink)
References <jeout7$g44$1@smc.vnet.net>

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

NDSolve output without interpolating function william cuervo <wfcuervo@gmail.com> - 2012-01-13 09:52 +0000
  Re: NDSolve output without interpolating function "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2012-01-14 07:57 +0000
  Re: NDSolve output without interpolating function Szabolcs Horvát <szhorvat@gmail.com> - 2012-01-14 07:51 +0000
  Re: NDSolve output without interpolating function "Kevin J. McCann" <Kevin.McCann@umbc.edu> - 2012-01-14 07:52 +0000

csiph-web