1#ifndef STAN_MATH_FWD_FUNCTOR_BROADCAST_ARRAY_HPP
2#define STAN_MATH_FWD_FUNCTOR_BROADCAST_ARRAY_HPP
16 std::reference_wrapper<T>
prim_;
19 template <
typename TT>
std::reference_wrapper< T > prim_
broadcast_array(TT &&prim)
require_t< is_fvar< scalar_type_t< std::decay_t< T > > > > require_st_fvar
Require scalar type satisfies is_fvar.
void operator=(const Y &m)
Broadcast array can be assigned a scalar or a vector.
auto sum(const std::vector< T > &m)
Return the sum of the entries of the specified standard vector.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...