Automatic Differentiation
 
Loading...
Searching...
No Matches
step.hpp File Reference

Go to the source code of this file.

Classes

struct  stan::math::step_fun
 Structure to wrap step() so it can be vectorized. More...
 

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T , require_stan_scalar_t< T > * = nullptr>
stan::math::step (const T &y)
 The step, or Heaviside, function.
 
template<typename T , require_container_t< T > * = nullptr>
auto stan::math::step (const T &x)
 Return the elementwise application of step() to specified argument container.