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

◆ select_nonscalar_assignments() [2/2]

template<typename... T_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 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 results that are either scalars or not vars.
T_expressiontype of expression
Parameters
resultresult
expressionexpression
Returns
empty tuple

Definition at line 139 of file adjoint_results.hpp.