IMSL C# Numerical Library

BsInterpolate Constructor (Double[], Double[], Int32, Double[])

Constructs a B-spline that interpolates the given data points, using the specified order and knots.

public BsInterpolate(
   double[] xData,
   double[] yData,
   int order,
   double[] knot
);

Parameters

xData
A double array containing the x-coordinates of the data. Values must be distinct.
yData
A double array containing the y-coordinates of the data. The arrays xData and yData must have the same length.
order
A int denoting the order of the spline.
knot
A double array containing the knot sequence for the B-spline.

See Also

BsInterpolate Class | Imsl.Math Namespace | BsInterpolate Constructor Overload List