SmoothingCubicSplineBaseInterpolate(IReadOnlyListDouble, IReadOnlyListDouble, Double, IReadOnlyListDouble) Method |
Evaluates either a cross validated cubic spline (standardDeviation set to a negative value),
or a smoothing cubic spline (standardDeviation set to a non-negative value).
Namespace: Altaxo.Calc.InterpolationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public void Interpolate(
IReadOnlyList<double> x,
IReadOnlyList<double> y,
double standardDeviation,
IReadOnlyList<double>? dy
)
Parameters
- x IReadOnlyListDouble
- The abscissae values.
- y IReadOnlyListDouble
- The ordinate values.
- standardDeviation Double
-
If set to a negative value, a cross validated cubic spline is evaluated (in this case the parameter dy must be null).
If set to a non-negative value, and parameter dy is null, the value designates the standard deviation) of the ordinate values.
If set to a non-negative value, and parameter dy is not null, the value designates a scaling factor for the values in dy.
- dy IReadOnlyListDouble
-
Relative standard deviation of the error associated with the data point i.
Each element must be positive. The values are scaled so that their mean square value is 1, and unscaled again on normal exit.
The mean square value of the elements is returned in MeanSquareOfInputStandardDeviation on normal exit.
If the absolute standard deviations are known, these should be provided here and the
parameter standardDeviation should then be set to 1.
If the relative standard deviations are unknown, set each element to 1, or set this parameter to null.
See Also