Elementary.Step Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

Step(Double) Returns the Heaviside step function.
Step(Double, Double) Returns the Heaviside step function.

Step(Double)

Returns the Heaviside step function.
C#
public static double Step(
	double x
)

Parameters

x  Double
A real number.

Return Value

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

Step(Double, Double)

Returns the Heaviside step function.
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