PiecewiseConstantCurve.SlopeAt Method

Definition

Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0

Overload List

SlopeAt(Double[]) Gets the slopes of the curve at the specified X-coordinates.
SlopeAt(Double) Gets the slope of the curve at the specified X-coordinate.
SlopeAt(ReadOnlySpan<Double>) Gets the slopes of the curve at the specified X-coordinates.
SlopeAt(Vector<Double>) Gets the slopes of the curve at the specified X-coordinates.
SlopeAt(ReadOnlySpan<Double>, Span<Double>) Gets the slopes of the curve at the specified X-coordinates.

SlopeAt(Double)

Gets the slope of the curve at the specified X-coordinate.
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