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

◆ make_zeroed_arena()

template<typename Input >
constexpr auto stan::math::internal::make_zeroed_arena ( Input &&  input)
inlineconstexpr

Creates an arena type that is the same type as the input and initialized with zeros.

Template Parameters
Inputtuple, std::vector, Eigen type, or scalar
Parameters
inputThe input to be converted to an arena type
Returns
An arena type with the same structure as the input and initialized to zeros

Definition at line 18 of file make_zeroed_arena.hpp.