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.0.0
Syntax
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.
- typeLeft
- Type: Imsl.Math..::.CsInterpolate..::.Condition
A CsInterpolate.Condition denoting the type of condition at the left endpoint.
This can be NotAKnot, FirstDerivative or
SecondDerivative.
- valueLeft
- Type: System..::.Double
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.Math..::.CsInterpolate..::.Condition
A CsInterpolate.Condition denoting the type of condition at the right endpoint.
This can be NotAKnot, FirstDerivative or
SecondDerivative.
- valueRight
- Type: System..::.Double
A double value at the right endpoint.
See Also