PiecewiseConstantCurve.SlopeAt 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.4
C#
public override double SlopeAt(
	double x
)

Parameters

x  Double
A real number.

Return Value

Double
The 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.

See Also