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.InterpolationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
CubicSplineA cubic spline interpolation based on the supplied Hermite data.
See Also