Elementary.Step(Double, Double) Method

Returns the Heaviside step function.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static double Step(
	double x0,
	double x
)

Parameters

x0  Double
The first value where the step function is nonzero.
x  Double
A real number.

Return Value

Double
1 if x is greater than or equal to x0; otherwise 0.

See Also