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


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

Re: NDSolve output without interpolating function

From "Kevin J. McCann" <kjm@KevinMcCann.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: NDSolve output without interpolating function
Date 2012-01-16 11:49 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jf12ri$5fh$1@smc.vnet.net> (permalink)
References <201201130951.EAA16470@smc.vnet.net> <jercor$1f0$1@smc.vnet.net>

Show all headers | View raw


Oliver,

Wow! How did you find these? I always thought something like this should 
be around, but resorted to rather tedious ways of getting at the data.

Thanks for putting this out. As far as I know, it is not in the 
documentation.

Kevin

On 1/14/2012 3:01 AM, Oliver Ruebenkoenig wrote:
> On Fri, 13 Jan 2012, william cuervo wrote:
>
>> Hi!
>>
>> Is there any way that NDSolve presents the output as a set of data instead
>> of as an interpolating function?
>>
>>
>> Thanks!
>>
>
> Hi,
>
> how about
>
> s = y /. First@
>      NDSolve[{y'[x] == y[x] Cos[x + y[x]], y[0] == 1}, y, {x, 0, 30}]
>
> s["ValuesOnGrid"]
>
> s["Methods"]
>
> Oliver
>

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


Thread

Re: NDSolve output without interpolating function Oliver Ruebenkoenig <ruebenko@wolfram.com> - 2012-01-14 08:01 +0000
  Re: NDSolve output without interpolating function "Nasser M. Abbasi" <nma@12000.org> - 2012-01-14 22:21 +0000
  Re: NDSolve output without interpolating function "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2012-01-15 09:53 +0000
  Re: NDSolve output without interpolating function "Kevin J. McCann" <kjm@KevinMcCann.com> - 2012-01-16 11:49 +0000
  Re: NDSolve output without interpolating function DrMajorBob <btreat1@austin.rr.com> - 2012-01-17 08:37 +0000

csiph-web