CubicSplineInterpolatePchipInplace Method |
Create a piecewise cubic Hermite interpolating polynomial from an unsorted set of (x,y) value pairs.
Monotone-preserving interpolation with continuous first derivative.
WARNING: Works in-place and can thus causes the data array to be reordered.
Namespace: Altaxo.Calc.InterpolationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static CubicSpline InterpolatePchipInplace(
double[] x,
double[] y
)
Parameters
- x Double
- Sample points (will be sorted in-place).
- y Double
- Sample values corresponding to x (will be permuted accordingly).
Return Value
CubicSplineThe cubic spline interpolator.
See Also