Click or drag to resize

CubicSplineInterpolatePchip Method

Create a piecewise cubic Hermite interpolating polynomial from an unsorted set of (x,y) value pairs. Monotone-preserving interpolation with continuous 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 InterpolatePchip(
	IEnumerable<double> x,
	IEnumerable<double> y
)

Parameters

x  IEnumerableDouble
The sample points.
y  IEnumerableDouble
The sample values corresponding to x.

Return Value

CubicSpline
The cubic spline interpolator.
See Also