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