IMSL C# Numerical Library

CsShape Constructor 

Construct a cubic spline interpolant which is consistent with the concavity of the data.

public CsShape(
   double[] xData,
   double[] yData
);

Parameters

xData
A double array containing the x-coordinates of the data. Values must be distinct.
yData
A double array containing the y-coordinates of the data. The arrays xData and yData must have the same length.

Exceptions

Exception Type Condition
TooManyIterationsException is thrown if the iteration did not converge.
SingularMatrixException is thrown if matrix is singular.

See Also

CsShape Class | Imsl.Math Namespace