1#ifndef STAN_MATH_OPENCL_REV_OPERANDS_AND_PARTIALS_HPP 
    2#define STAN_MATH_OPENCL_REV_OPERANDS_AND_PARTIALS_HPP 
   25        partials_vec_(partials_),
 
   27  inline auto& 
partial() noexcept { 
return partials_; }
 
   28  inline auto& 
operand() const noexcept { 
return operands_; }
 
   30  static constexpr int size() { 
return 0; }
 
ops_partials_edge(const var_value< Op > &ops)
 
var_value< Op > operands_
 
auto & partial() noexcept
 
auto & operand() const noexcept
 
static constexpr int size()
 
broadcast_array< partials_t > partials_vec_
 
An edge holds both the operands and its associated partial derivatives.
 
require_t< is_kernel_expression_lhs< std::decay_t< T > > > require_kernel_expression_lhs_t
Require type satisfies is_kernel_expression_lhs.
 
auto constant(const T a, int rows, int cols)
Matrix of repeated values in kernel generator expressions.
 
int64_t cols(const T_x &x)
Returns the number of columns in the specified kernel generator expression.
 
int64_t rows(const T_x &x)
Returns the number of rows in the specified kernel generator expression.
 
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...