CubicSplineInterpolateHermiteInplace Method |
Create a Hermite cubic spline interpolation from an unsorted set of (x,y) value pairs and their slope (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 InterpolateHermiteInplace(
double[] x,
double[] y,
double[] firstDerivatives
)
Parameters
- x Double
- Sample points (will be sorted in-place).
- y Double
- Sample values corresponding to x (will be permuted accordingly).
- firstDerivatives Double
- First derivative values at the sample points (will be permuted accordingly).
Return Value
CubicSplineA cubic spline interpolation based on the sorted Hermite data.
See Also