Namespace:
Imsl.Math
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
[SerializableAttribute] public class CsInterpolate : Spline |
Visual Basic (Declaration) |
---|
<SerializableAttribute> _ Public Class CsInterpolate _ Inherits Spline |
Visual C++ |
---|
[SerializableAttribute] public ref class CsInterpolate : public Spline |
Remarks
CsInterpolate computes a cubic spline
interpolant to a set of data points
for
. The breakpoints of the spline
are the abscissas. Endpoint conditions are automatically determined by
the program. These conditions correspond to the "not-a-knot" condition
(see de Boor 1978), which requires that the third derivative of the
spline be continuous at the second and next-to-last breakpoint. If
n is 2 or 3, then the linear or quadratic interpolating
polynomial is computed, respectively.
If the data points arise from the values of a smooth, say,
function f, i.e.
, then the error will behave in a
predictable fashion. Let
be the breakpoint
vector for the above spline interpolant. Then, the maximum absolute
error satisfies
![|f-s|_{[\xi_0,\xi_n]} \le C \left\|f^{(4)}\right\|_{[{\xi_0 ,\xi_n }]}
|\xi|^4](eqn/eqn_1043.png)

For more details, see de Boor (1978, pages 55-56).