MathGroup Archive 1996

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

Search the Archive

InterpolatingFunction::dmwarn: Warning


Can anyone explain why the following code generates the
above warning?

secsperyear = 365.25*24*60*60;
Nt=56;
deltat = secsperyear/Nt;
seasonaltime = n deltat;
testtable=Table[{x,x^2},{x,0,secsperyear,secsperyear/100}];
interpFunc=Interpolation[testtable];

seasonaltime1=3.15576*10^7;

interpFunc[seasonaltime1]; (* no domain warning message *)
n=Nt;
interpFunc[seasonaltime]; (* this DOES produce domain-warning message?!
yet SameQ[seasonaltime,seasonaltime1] is True?! *)

I am totally mystified!  Is this a bug in InterpolatingFunction?

Thanks for any advice or explanations.

Jonathan Rich
rich at earth.nwu.edu


  • Prev by Date: Exporting an Animation
  • Next by Date: Re: EPS files produced by Mathematica 3.0
  • Previous by thread: Exporting an Animation
  • Next by thread: Re: InterpolatingFunction::dmwarn: Warning