Constructs a cubic spline that interpolates the given data points.

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

Syntax

C#
public CsInterpolate(
	double[] xData,
	double[] yData
)
Visual Basic (Declaration)
Public Sub New ( _
	xData As Double(), _
	yData As Double() _
)
Visual C++
public:
CsInterpolate(
	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