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

◆ operator+() [15/16]

template<typename VarMat1 , typename VarMat2 , require_any_var_matrix_t< VarMat1, VarMat2 > * = nullptr>
auto stan::math::operator+ ( VarMat1 &&  a,
VarMat2 &&  b 
)
inline

Addition operator for matrix variables.

Template Parameters
VarMat1A matrix of vars or a var with an underlying matrix type.
VarMat2A matrix of vars or a var with an underlying matrix type.
Parameters
aFirst variable operand.
bSecond variable operand.
Returns
Variable result of adding two variables.

Definition at line 277 of file operator_addition.hpp.