IMSL C# Numerical Library

CsSmooth Constructor (Double[], Double[], Double[])

Constructs a smooth cubic spline from noisy data using cross-validation to estimate the smoothing parameter. Weights are supplied by the user.

public CsSmooth(
   double[] xData,
   double[] yData,
   double[] weight
);

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.
weight
A double array containing the relative weights. This array must havethe same length as xData.

See Also

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