Click or drag to resize
CsInterpolate Constructor (Double, Double, CsInterpolateCondition, Double, CsInterpolateCondition, Double)
Constructs a cubic spline that interpolates the given data points with specified derivative endpoint conditions.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public CsInterpolate(
	double[] xData,
	double[] yData,
	CsInterpolateCondition typeLeft,
	double valueLeft,
	CsInterpolateCondition typeRight,
	double valueRight
)

Parameters

xData
Type: SystemDouble
A double array containing the x-coordinates of the data. Values must be distinct.
yData
Type: SystemDouble
A double array containing the y-coordinates of the data. The arrays xData and yData must have the same length.
typeLeft
Type: Imsl.MathCsInterpolateCondition
A CsInterpolate.Condition denoting the type of condition at the left endpoint. This can be NotAKnot, FirstDerivative or SecondDerivative.
valueLeft
Type: SystemDouble
A double value at the left endpoint. If typeLeft is NotAKnot this is ignored, Otherwise, it is the value of the specified derivative.
typeRight
Type: Imsl.MathCsInterpolateCondition
A CsInterpolate.Condition denoting the type of condition at the right endpoint. This can be NotAKnot, FirstDerivative or SecondDerivative.
valueRight
Type: SystemDouble
A double value at the right endpoint.
See Also