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