Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::step_fun Struct Reference

Detailed Description

Structure to wrap step() so it can be vectorized.

Definition at line 38 of file step.hpp.

#include <step.hpp>

Static Public Member Functions

template<typename T >
static auto fun (const T &y)
 Return zero if the value is less than zero and one otherwise.
 

The documentation for this struct was generated from the following file: