IMSL C# Numerical Library

CsSmoothC2 Constructor (Double[], Double[], Double[], Double)

Constructs a smooth cubic spline from noisy data using an algorithm based on Reinsch (1967) with weights supplied by the user.

public CsSmoothC2(
   double[] xData,
   double[] yData,
   double[] weight,
   double sigma
);

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 weights. The arrays xData and weight must have the same length.
sigma
A double value specifying the smoothing parameter. sigma must not be negative.

See Also

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