1#ifndef STAN_MATH_PRIM_META_BROADCAST_ARRAY_HPP
2#define STAN_MATH_PRIM_META_BROADCAST_ARRAY_HPP
36template <
typename T,
typename S,
typename Enable =
void>
54template <
typename ViewElt,
typename T>
56 enum { R = T::RowsAtCompileTime, C = T::ColsAtCompileTime };
promote_scalar_t< ViewElt, T > T_arg
void add_write_event(Y &&)
require_t< is_eigen< std::decay_t< T > > > require_eigen_t
Require type satisfies is_eigen.
ViewElt & operator()(int)
Not implemented so cannot be called.
T & col(int)
Not implemented so cannot be called.
void operator=(const Y &)
Not implemented so cannot be called.
ViewElt & operator[](int)
Not implemented so cannot be called.
void operator-=(T_arg)
Not implemented so cannot be called.
void operator=(const T_arg &)
Not implemented so cannot be called.
T & row(int)
Not implemented so cannot be called.
void operator+=(T_arg)
Not implemented so cannot be called.
void operator=(const Y &m)
Broadcast array can be assigned a scalar or a vector.
T & operator[](int)
Not implemented so cannot be called.
typename promote_scalar_type< std::decay_t< T >, std::decay_t< S > >::type promote_scalar_t
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 ...