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

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

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 relative weights. This array must havethe same length as xData.
See Also