Piecewise Constant Curve.Slope At Method
Gets the slope 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 slope of the curve at the specified X-coordinate.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public override double SlopeAt(
double x
)
Parameters
- x Double
- A real number.
Return Value
DoubleThe slope of the curve at the specified X-coordinate.
Remarks
For most values of x, this method returns 0. The only exception is on the boundary of an interval, when the curve is discontinuous. In this case, the result is NaN.