Cubic Spline.Value At Method
Gets the Y-value of the curve at the specified
X-coordinate.
Definition
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The Y-value of the curve at x.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public override double ValueAt(
double x
)
Parameters
- x Double
- A real number.
Return Value
DoubleThe 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.