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

◆ add() [3/15]

template<typename ScalarA , typename ScalarB , require_all_stan_scalar_t< ScalarA, ScalarB > * = nullptr, require_all_not_var_t< ScalarA, ScalarB > * = nullptr>
return_type_t< ScalarA, ScalarB > stan::math::add ( const ScalarA &  a,
const ScalarB &  b 
)
inline

Return the sum of the specified scalars.

Template Parameters
ScalarAtype of the first scalar
ScalarBtype of the second scalar
Parameters
afirst scalar
bsecond scalar
Returns
the sum of the scalars

Definition at line 23 of file add.hpp.