Click or drag to resize

CubicSplineInterpolateNatural Method

Create a natural cubic spline interpolation from an unsorted set of (x,y) value pairs and zero second derivatives at the two boundaries.

Namespace: Altaxo.Calc.Interpolation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static CubicSpline InterpolateNatural(
	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