IMSL C# Numerical Library

CsAkima Constructor 

Constructs the Akima cubic spline interpolant to the given data points.

public CsAkima(
   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.

Exceptions

Exception Type Condition
ArgumentException is thrown if the arrays xData and yData do not have the same length

See Also

CsAkima Class | Imsl.Math Namespace