Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Reducing large InterpolatingFunction objects' topicStudent Support Forum > General > Archives > "Reducing large InterpolatingFunction objects"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Bill Simpson
07/09/13 02:17am

Since we have no idea what your gigabyte interpolating function might come from or what it might look like it is somewhat difficult to give definite specific advice.

Evaluate this

In[1]:= sol = NDSolve[{x Sin[x] == y'[x], y[0] == 0}, y[x], {x, 0, 1}]

Out[1]= {{y[x] -> InterpolatingFunction[{{0.,1.}},<>][x]}}

In[2]:= FullForm[sol]

Out[2]= ...SmallExampleSnipped...

You might try ListPlot on some of those lists of constants. You are trying to see how to poke around inside the undocumented internals of an InterpolatingFunction. When you think you have enough understanding then you can try list hacking to delete 99% of the data points, keep enough of the structure that evaluation doesn't fail and see if you can accomplish what you are looking for.

URL: ,

Subject (listing for 'Reducing large InterpolatingFunction objects')
Author Date Posted
Reducing large InterpolatingFunction objects Michael 07/08/13 10:33am
Re: Reducing large InterpolatingFunction objects Peter Pein 07/09/13 01:08am
Re: Re: Reducing large InterpolatingFunction ob... Michael 07/15/13 05:46am
Re: Reducing large InterpolatingFunction objects Bill Simpson 07/09/13 02:17am
< Previous CommentHelp | Reply To Comment | Reply To Topic