MathGroup Archive 2001

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

Search the Archive

Re: Saved Interpolating Functions Don't Work When Called ???

  • To: mathgroup at smc.vnet.net
  • Subject: [mg29365] Re: Saved Interpolating Functions Don't Work When Called ???
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 15 Jun 2001 02:23:36 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <9g9nl4$jed$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

I don't know *what* you are doing but

sol = NDSolve[{x''[t] + x[t] == 0, x[0] == 0, x'[0] == 1}, x[t], {t, 0,
Pi}];
sol >> test.m;

sol1 = << test.m

work as expected.

Regards
  Jens


Cheng-Pang Liu wrote:
> 
> I solved some differential equations and saved the resulting interpolating
> functions in data files. Later on when I tried to import them, it seemed
> that Mathematica 4.0 do not interpret them, so instead of getting
> 
> "{y->InterpolatingFunctions[ ... ]}",
> 
> I got the whole definition without any evaluating.
> 
> It is even more strange that:
> 
> 1. If the size of interpolating function is small, then it is O.K.
> 
> 2. I tried Mathematica 3.0 and it works fine.
> 
> Anybody have idea?
> 
> Thanks!
> 
> C.P.


  • Prev by Date: Re: Importing EPS
  • Next by Date: Odd behavior of InterpolationFunction derivative
  • Previous by thread: Saved Interpolating Functions Don't Work When Called ???
  • Next by thread: Truth in inequalities