Stan Math Library
4.9.0
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
ScalarA
type of the first scalar
ScalarB
type of the second scalar
Parameters
a
first scalar
b
second scalar
Returns
the sum of the scalars
Definition at line
23
of file
add.hpp
.
stan
math
[
Stan Home Page
]
© 2011–2019, Stan Development Team.