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

◆ add() [2/15]

template<typename T_a , typename T_b , require_all_prim_or_rev_kernel_expression_t< T_a, T_b > * = nullptr, require_any_var_t< T_a, T_b > * = nullptr, require_any_not_stan_scalar_t< T_a, T_b > * = nullptr>
auto stan::math::add ( T_a &&  a,
T_b &&  b 
)
inline

Addition of two reverse mode matrices and/or kernel generator expressions.

Template Parameters
T_atype of first expression
T_btype of second expression
Parameters
afirst expression
bsecond expression
Returns
The sum of the given arguments

Definition at line 31 of file add.hpp.