MathGroup Archive 2009

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

Search the Archive

Re: Re: How to Calculatelength of an Spline

  • To: mathgroup at smc.vnet.net
  • Subject: [mg104883] Re: [mg104840] Re: [mg104819] How to Calculatelength of an Spline
  • From: Mark McClure <mcmcclur at unca.edu>
  • Date: Thu, 12 Nov 2009 06:06:22 -0500 (EST)
  • References: <200911101104.GAA20038@smc.vnet.net>

On Wed, Nov 11, 2009 at 3:32 PM, DrMajorBob <btreat1 at austin.rr.com> wrote:
> There's a serious bug in Plot, I think.
> I get the same kernel crash with NIntegrate as you, and I also get a blank
> plot (no crash) with
>
> data = Table[{n, Fibonacci[n]}, {n, 1, 10}];
> sp = Interpolation[data, Method -> "Spline"];
> Plot[sp@x, {n, 1, 10}, PlotRange -> All]

I think you've just got a silly little goof there; your variable in the function
(sp@x) doesn't match the variable in the domain specification ({n,1,10}).

There is clearly a bug, though.  I corresponded with Dan Lichtblau about
it off list.  He confirmed the bug but said that is already fixed in the
development version.

Mark McClure


  • Prev by Date: Re: kernel crash with integrating the derivative of an
  • Next by Date: Re: kernel crash with integrating the derivative of an
  • Previous by thread: Re: How to Calculatelength of an Spline curve between two
  • Next by thread: Re: Re: How to Calculatelength of an Spline