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.0.0

Syntax

C#
public CsSmooth(
	double[] xData,
	double[] yData,
	double[] weight
)
Visual Basic (Declaration)
Public Sub New ( _
	xData As Double(), _
	yData As Double(), _
	weight As Double() _
)
Visual C++
public:
CsSmooth(
	array<double>^ xData, 
	array<double>^ yData, 
	array<double>^ weight
)

Parameters

xData
Type: array< System..::.Double >[]()[]
A double array containing the x-coordinates of the data. Values must be distinct.
yData
Type: array< System..::.Double >[]()[]
A double array containing the y-coordinates of the data. The arrays xData and yData must have the same length.
weight
Type: array< System..::.Double >[]()[]
A double array containing the relative weights. This array must havethe same length as xData.

See Also