1#ifndef STAN_MATH_OPENCL_PRIM_REP_ARRAY_HPP 
    2#define STAN_MATH_OPENCL_PRIM_REP_ARRAY_HPP 
   31        math::conjunction<is_var<T>, is_matrix_cl<value_type_t<T>>>>* = 
nullptr>
 
   33  return rep_matrix<T>(x, n, 1);
 
auto rep_array(const scalar_type_t< T > &x, int n)
Creates a matrix_cl representing an array by replicating the input value.
 
std::enable_if_t< math::disjunction< Checks... >::value > require_any_t
If any condition is true, template is enabled.
 
typename scalar_type< T >::type scalar_type_t
 
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...