WeightedSavitzkyGolaySmootherSmooth(Double, Double) Method |
Smooths the data with the parameters passed to the constructor.
This method is implemented only for data arrays that have at least 2*m + 1 elements,
where m is the kernel half-width.
Namespace: Altaxo.Calc.RegressionAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic double[] Smooth(
double[] data,
double[]? result
)
Parameters
- data Double
- The input data.
- result Double
-
The output array; may be .
If supplied and has the correct size, it is used for the output.
It may also be the same instance as data; in that case the input is overwritten.
Return Value
Double
The smoothed data. If
result is non-null and has the correct size, it is returned.
Exceptions
See Also