Piecewise Constant Curve.Slope At Method
Gets the slope of the curve at the specified
X-coordinate.
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
The slope of the curve at the specified X-coordinate.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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.