1#ifndef STAN_MATH_OPENCL_PRIM_FUN_INV_SQUARE_HPP
2#define STAN_MATH_OPENCL_PRIM_FUN_INV_SQUARE_HPP
19template <
typename T_x,
20 typename = require_all_kernel_expressions_and_none_scalar_t<T_x>>
21inline auto inv(T_x&& x) {
elt_divide_< as_operation_cl_t< T_a >, as_operation_cl_t< T_b > > elt_divide(T_a &&a, T_b &&b)
fvar< T > inv(const fvar< T > &x)
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...