template<typename... T_results>
class stan::math::adjoint_results_cl< T_results >
Represents results that are adjoints of vars in kernel generrator expressions.
Definition at line 19 of file adjoint_results.hpp.
|
static std::string | get_kernel_source_impl (const std::tuple< std::pair< T_res, T_expressions >... > &assignment_pairs) |
| Implementation of kernel source generation.
|
|
static void | assignment_impl (const std::tuple< std::pair< T_res, T_expressions >... > &assignment_pairs) |
| Implementation of assignments of expressions to results.
|
|
static void | assignment_impl (const std::tuple<> &) |
| Implementation of assignments of no expressions to no results.
|
|
static auto | make_assignment_pair (T_result &&result, T_expression &&expression) |
| Makes a std::pair of one result and one expression and wraps it into a tuple.
|
|
static auto | make_assignment_pair (T_result &&result, T_expression &&expression) |
| If an expression does not need to be calculated this returns an empty tuple.
|
|
static std::tuple | make_assignment_pair (T_check &&result, T_pass &&pass) |
| Checks on scalars are done separately in this overload instead of in kernel.
|
|
|
template<typename T_expression > |
auto | select_scalar_assignments (const var &result, T_expression &&expression) |
| Selects assignments that have scalar var results.
|
|
template<typename T_result , typename T_expression , require_all_not_same_t< T_result, var > * = nullptr> |
auto | select_scalar_assignments (T_result &&result, T_expression &&expression) |
| Selects assignments that have scalar var results.
|
|
template<assign_op_cl AssignOp, typename T_result , typename T_expression , require_not_stan_scalar_t< T_result > * = nullptr, require_st_var< T_result > * = nullptr> |
auto | select_nonscalar_assignments (T_result &&result, T_expression &&expression) |
| Selects assignments that have non-scalar var results.
|
|
template<assign_op_cl AssignOp, typename T_result , typename T_expression , std::enable_if_t< is_stan_scalar< T_result >::value||!is_var< scalar_type_t< T_result > >::value > * = nullptr> |
auto | select_nonscalar_assignments (T_result &&result, T_expression &&expression) |
| Selects assignments that have non-scalar var results.
|
|