1#ifndef STAN_MATH_OPENCL_PRIM_REP_ROW_VECTOR_HPP
2#define STAN_MATH_OPENCL_PRIM_REP_ROW_VECTOR_HPP
30 math::conjunction<is_var<T>, is_matrix_cl<value_type_t<T>>>>* =
nullptr>
32 return rep_matrix<T>(x, 1, n);
auto rep_row_vector(const scalar_type_t< T > &x, int n)
Creates a matrix_cl representing a row vector 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 ...