CubicSpline.ValueAt Method

Gets the Y-value of the curve at the specified X-coordinate.

Definition

Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public override double ValueAt(
	double x
)

Parameters

x  Double
A real number.

Return Value

Double
The Y-value of the curve at x.

Remarks

If x is less than the lower bound of the first interval, the value is that of the cubic polynomial on the first interval extended to the left. If x is greater than the upper bound of the last interval, the value is that of the cubic polynomial on the last interval extended to the right.

See Also