Click or drag to resize

CubicSplineInterpolateHermite Method

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

Namespace: Altaxo.Calc.Interpolation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static CubicSpline InterpolateHermite(
	IEnumerable<double> x,
	IEnumerable<double> y,
	IEnumerable<double> firstDerivatives
)

Parameters

x  IEnumerableDouble
The sample points.
y  IEnumerableDouble
The sample values corresponding to x.
firstDerivatives  IEnumerableDouble
The first derivatives at the sample points.

Return Value

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