Constructs a B-spline that interpolates the given data points. The computed B-spline will be order 4 (cubic) and have a default "not-a-knot" spline knot sequence.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public BsInterpolate(
	double[] xData,
	double[] yData
)
Visual Basic (Declaration)
Public Sub New ( _
	xData As Double(), _
	yData As Double() _
)
Visual C++
public:
BsInterpolate(
	array<double>^ xData, 
	array<double>^ yData
)

Parameters

xData
Type: array< System..::.Double >[]()[]
A double array containing the x-coordinates of the data. Values must be distinct.
yData
Type: array< System..::.Double >[]()[]
A double array containing the y-coordinates of the data. The arrays xData and yData must have the same length.

See Also