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

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

Syntax

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

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.
order
Type: System..::.Int32
A int denoting the order of the spline.
knot
Type: array< System..::.Double >[]()[]
A double array containing the knot sequence for the B-spline.

See Also