Click or drag to resize

CubicSplineInterpolateHermiteSorted Method

Create a Hermite cubic spline interpolation from a set of (x,y) value pairs and their slope (first derivative), sorted ascendingly by x.

Namespace: Altaxo.Calc.Interpolation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static CubicSpline InterpolateHermiteSorted(
	double[] x,
	double[] y,
	double[] firstDerivatives
)

Parameters

x  Double
Sample points, sorted ascendingly.
y  Double
Sample values corresponding to x.
firstDerivatives  Double
First derivative values at the sample points.

Return Value

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