CsSmooth Constructor (Double, Double) |
Constructs a smooth cubic spline from noisy data using
cross-validation to estimate the smoothing parameter. All of the
points have equal weights.
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public CsSmooth(
double[] xData,
double[] yData
)
Public Sub New (
xData As Double(),
yData As Double()
)
public:
CsSmooth(
array<double>^ xData,
array<double>^ yData
)
new :
xData : float[] *
yData : 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.
See Also