Click or drag to resize

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.Interpolation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public 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

CubicSpline
A cubic spline interpolation based on the sorted Hermite data.
See Also