Elementary.Step(Double) Method
Returns the Heaviside step function.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
1 if x is greater than or equal to 0; otherwise 0.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static double Step(
double x
)
Parameters
- x Double
- A real number.
Return Value
Double1 if x is greater than or equal to 0; otherwise 0.