Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

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

Search the Archive

InterpolatingFunction::dmwarn: Warning

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5488] InterpolatingFunction::dmwarn: Warning
  • From: Jonathan Rich <rich at earth.nwu.edu>
  • Date: Wed, 11 Dec 1996 03:16:05 -0500
  • Organization: NU Geological Sci.
  • Sender: owner-wri-mathgroup at wolfram.com

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