Click or drag to resize

NaturalCubicSplineParabolicInterpolation Method

Handles the case when there are exactly three tabulated points.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
protected override double ParabolicInterpolation(
	double x
)

Parameters

x  Double
Point to interpolate.

Return Value

Double
Interpolated value.
Remarks
A parabola is fitted through the three tabulated points and is used to interpolate values between the left and right endpoints. If the point to interpolate falls outside this range the value of the left endpoint is returned, in the case that x is less than the left tabulated point and the value at the right endpoint is returned in the case that x is greater than the right tabulated point.
See Also