Wiki
Clone wikisymja_android_library / Symbols / UnitStep
UnitStep
UnitStep(expr)
- returns
0
, ifexpr
is less than0
and returns1
, ifexpr
is greater equal than0
.
Examples
>>> UnitStep(-42)
0
Updated
UnitStep(expr)
0
, if expr
is less than 0
and returns 1
, if expr
is greater equal than 0
.>>> UnitStep(-42)
0
Updated