1 #ifndef STAN_MATH_REV_SCAL_FUN_STEP_HPP 2 #define STAN_MATH_REV_SCAL_FUN_STEP_HPP
The variable implementation base class.
Independent (input) and dependent (output) variables for gradients.
const double val_
The value of this variable.
int step(const T y)
The step, or Heaviside, function.
vari * vi_
Pointer to the implementation of this variable.