Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ select_nonscalar_assignments() [1/2]

template<typename... T_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 stan::math::adjoint_results_cl< T_results >::select_nonscalar_assignments ( T_result &&  result,
T_expression &&  expression 
)
inlineprivate

Selects assignments that have non-scalar var results.

Template Parameters
AssignOpan optional assign_op_cl that dictates whether the object is assigned using standard or compound assign.
T_resulttype of result. This overload is used for non-scalar vars.
T_expressiontype of expression
Parameters
resultresult
expressionexpression
Returns
pair of result and expression or empty tuple (if the result is check or the expression is calc_if<false,T>.

Definition at line 119 of file adjoint_results.hpp.