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

◆ make_assignment_pair() [2/3]

template<typename... T_results>
template<assign_op_cl AssignOp = assign_op_cl::equals, typename T_result , typename T_expression , require_t< is_without_output< T_expression > > * = nullptr>
static auto stan::math::results_cl< T_results >::make_assignment_pair ( T_result &&  result,
T_expression &&  expression 
)
inlinestaticprotected

If an expression does not need to be calculated this returns an empty tuple.

Template Parameters
AssignOpan optional assign_op_cl that dictates whether the object is assigned using standard or compound assign.
T_resultAn non scalar type that is normally an result_cl operation holding a matrix_cl
T_expressionAn expression of set of operations on matrix_cl and scalar types.
Parameters
resultresult
expressionexpression
Returns
a tuple of pair of result and expression

Definition at line 631 of file multi_result_kernel.hpp.