Stan Math Library
4.9.0
Automatic Differentiation
|
Return the step, or heaviside, function applied to the specified variable (stan).
See step() for the double-based version.
The derivative of the step function is zero everywhere but at 0, so for convenience, it is taken to be everywhere zero,
\(\mbox{step}(x) = 0\).
a | Variable argument. |