1#ifndef STAN_MATH_OPENCL_REV_LOG_INV_LOGIT_DIFF_HPP
2#define STAN_MATH_OPENCL_REV_LOG_INV_LOGIT_DIFF_HPP
30template <
typename T_x,
typename T_y,
31 require_all_prim_or_rev_kernel_expression_t<T_x, T_y>* =
nullptr,
32 require_any_var_t<T_x, T_y>* =
nullptr,
33 require_any_not_stan_scalar_t<T_x, T_y>* =
nullptr>
Represents an arithmetic matrix on the OpenCL device.
elt_multiply_< as_operation_cl_t< T_a >, as_operation_cl_t< T_b > > elt_multiply(T_a &&a, T_b &&b)
expressions_cl< T_expressions... > expressions(T_expressions &&... expressions)
Deduces types for constructing expressions_cl object.
fvar< T > expm1(const fvar< T > &x)
adjoint_results_cl< T_results... > adjoint_results(T_results &&... results)
Deduces types for constructing adjoint_results_cl object.
fvar< T > log_inv_logit_diff(const fvar< T > &x, const fvar< T > &y)
Returns fvar with the natural logarithm of the difference of the inverse logits of the specified argu...
var_value< plain_type_t< T > > make_callback_var(T &&value, F &&functor)
Creates a new var initialized with a callback_vari with a given value and reverse-pass callback funct...
T value_of(const fvar< T > &v)
Return the value of the specified variable.
fvar< T > inv_logit(const fvar< T > &x)
Returns the inverse logit function applied to the argument.
fvar< T > inv(const fvar< T > &x)
typename internal::arena_type_impl< std::decay_t< T > >::type arena_t
Determines a type that can be used in place of T that does any dynamic allocations on the AD stack.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...