1#ifndef STAN_MATH_REV_FUN_STEP_HPP
2#define STAN_MATH_REV_FUN_STEP_HPP
28 return var(
new vari(a.vi_->val_ < 0.0 ? 0.0 : 1.0));
T step(const T &y)
The step, or Heaviside, function.
vari_value< double > vari
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...