1#ifndef STAN_MATH_OPENCL_PRIM_DIVIDE_HPP
2#define STAN_MATH_OPENCL_PRIM_DIVIDE_HPP
18template <
typename T_a,
19 typename = require_all_kernel_expressions_and_none_scalar_t<T_a>>
20inline auto divide(T_a&& a,
double d) {
elt_divide_< as_operation_cl_t< T_a >, as_operation_cl_t< T_b > > elt_divide(T_a &&a, T_b &&b)
auto divide(T_a &&a, double d)
Returns the elementwise division of the kernel generator expression.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...