MathGroup Archive 2008

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

Search the Archive

Error messages from FunctionInterpolation (bug?)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88535] Error messages from FunctionInterpolation (bug?)
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Thu, 8 May 2008 04:10:44 -0400 (EDT)
  • Organization: University of Bergen

I know that this is a misuse of FunctionInterpolation, but this should 
not happen:

In[1]:=
sin = f/.First@NDSolve[{f''[x]+f[x]==0,f[0]==0,f'[0]==1},f,{x,0,10}]

Out[1]= InterpolatingFunction[{{0.,10.}},<>]

In[2]:= FunctionInterpolation[sin[x],{x,0,10}]

During evaluation of In[2]:= Take::take: Cannot take positions 1 through 
3 in {1,1}. >>
During evaluation of In[2]:= Take::take: Cannot take positions 1 through 
3 in {1.,1.}. >>
During evaluation of In[2]:= Take::take: Cannot take positions 1 through 
3 in {1,1}. >>
During evaluation of In[2]:= General::stop: Further output of Take::take 
will be suppressed during this calculation. >>

Out[2]= InterpolatingFunction[{{0,10}},<>]






  • Prev by Date: Re: Question about alignment in Grid and TableForm
  • Next by Date: Re: Symbolic Optimization Problem
  • Previous by thread: Definite integral problem
  • Next by thread: Re: Error messages from FunctionInterpolation (bug?)