Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ fun()

template<typename T >
static auto stan::math::step_fun::fun ( const T &  y)
inlinestatic

Return zero if the value is less than zero and one otherwise.

Template Parameters
Ttype of argument
Parameters
yargument
Returns
step(y)

Definition at line 47 of file step.hpp.