MathGroup Archive 2009

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

Search the Archive

Interpolation: Method->"Spline"

  • To: mathgroup at smc.vnet.net
  • Subject: [mg98192] Interpolation: Method->"Spline"
  • From: dh <dh at metrohm.com>
  • Date: Thu, 2 Apr 2009 04:46:29 -0500 (EST)


Hello,

does anybody know what sort of splines Wolfram choose to implement. One 

would assume that normal splines are the thing to do, but the second 

derivative is not zero at the ends as the following shows:



d = Table[RandomReal[{-1, 1}], {5}]

f = Interpolation[d, Method -> "Spline"];

Plot[f[x], {x, 1, Length[d]},

  Epilog -> Point[Transpose[{Range[Length[d]], d}]]]

Plot[f'[x], {x, 1, Length[d]}]

Plot[f''[x], {x, 1, Length[d]}]



Daniel




  • Prev by Date: A simple ordinary differential equation
  • Next by Date: Re: Deleting entire row and/or column
  • Previous by thread: Re: A simple ordinary differential equation
  • Next by thread: Re: Interpolation: Method->"Spline"