1#ifndef STAN_MATH_OPENCL_PRIM_DOT_SELF_HPP
2#define STAN_MATH_OPENCL_PRIM_DOT_SELF_HPP
20 require_all_kernel_expressions_and_none_scalar_t<T>* =
nullptr>
elt_multiply_< as_operation_cl_t< T_a >, as_operation_cl_t< T_b > > elt_multiply(T_a &&a, T_b &&b)
auto sum(const std::vector< T > &m)
Return the sum of the entries of the specified standard vector.
auto dot_self(const T &a)
Returns squared norm of a vector or matrix.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...