MathGroup Archive 2011

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

Search the Archive

FunctionInterpolation and NIntegrate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg120824] FunctionInterpolation and NIntegrate
  • From: gac <g.crlsn at gmail.com>
  • Date: Thu, 11 Aug 2011 07:55:57 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

f[r_] := NIntegrate[r + s , {s, 0, 1}]
g = FunctionInterpolation[f[r], {r, 0, 1}]

Can anyone explain why this works, yet I get the msg: 

NIntegrate::inumr: "The integrand r+s has evaluated to non-numerical values for all sampling points in the region with boundaries {{0,1}}."

Can the statements be reformed to avoid the msg?

Thanks.

Glenn




  • Prev by Date: Re: How does Clear["Global`*"] work?
  • Next by Date: Re: ListDensityPlot and Legend
  • Previous by thread: Re: Just another Mathematica "Gotcha", and HoldForm bug
  • Next by thread: Re: FunctionInterpolation and NIntegrate