unit_step( x )

The unit step function in SageMath. Defined by

\[ u(x) = \begin{cases} 0 \ , \ x < 0 \\ 1 \ , \ x \ge 0 \end{cases} \]

Differs from heaviside in definition at the origin.

Plot on the real axis:

Special values:

Related functions:   heaviside

Function category: generalized functions sagemath-docs