Click or drag to resize
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.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public CsSmoothC2(
	double[] xData,
	double[] yData,
	double[] weight,
	double sigma
)

Parameters

xData
Type: SystemDouble
A double array containing the x-coordinates of the data. Values must be distinct.
yData
Type: SystemDouble
A double array containing the y-coordinates of the data. The arrays xData and yData must have the same length.
weight
Type: SystemDouble
A double array containing the weights. The arrays xData and weight must have the same length.
sigma
Type: SystemDouble
A double value specifying the smoothing parameter. sigma must not be negative.
See Also