1#ifndef STAN_MATH_OPENCL_KERNELS_DEVICE_FUNCTIONS_BETA_HPP 
    2#define STAN_MATH_OPENCL_KERNELS_DEVICE_FUNCTIONS_BETA_HPP 
   10namespace opencl_kernels {
 
   12static constexpr const char* beta_device_function
 
   14      "#ifndef STAN_MATH_OPENCL_KERNELS_DEVICE_FUNCTIONS_BETA\n" 
   15      "#define STAN_MATH_OPENCL_KERNELS_DEVICE_FUNCTIONS_BETA\n" STRINGIFY(
 
   25          double beta(
double a, 
double b) {
 
double beta(double a, double b)
Return the beta function applied to the specified arguments.
 
fvar< T > lgamma(const fvar< T > &x)
Return the natural logarithm of the gamma function applied to the specified argument.
 
fvar< T > exp(const fvar< T > &x)
 
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...