IMSL C# Numerical Library

CsSmooth Constructor (Double[], Double[])

Constructs a smooth cubic spline from noisy data using cross-validation to estimate the smoothing parameter. All of the points have equal weights.

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

See Also

CsSmooth Class | Imsl.Math Namespace | CsSmooth Constructor Overload List