IMSL C# Numerical Library

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

Constructs a B-spline that interpolates the given data points and order, using a default "not-a-knot" spline knot sequence.

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

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
An int denoting the order of the B-spline.

See Also

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