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.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public CsSmooth(
double[] xData,
double[] yData,
double[] weight
)
Public Sub New (
xData As Double(),
yData As Double(),
weight As Double()
)
public:
CsSmooth(
array<double>^ xData,
array<double>^ yData,
array<double>^ weight
)
new :
xData : float[] *
yData : float[] *
weight : float[] -> CsSmooth
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