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

◆ subtract() [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::subtract ( const ScalarA &  a,
const ScalarB &  b 
)
inline

Return the result of subtracting the second scalar from the first scalar.

Template Parameters
ScalarAtype of the first scalar
ScalarBtype of the second scalar
Parameters
afirst scalar
bsecond scalar
Returns
difference between first scalar and second scalar

Definition at line 24 of file subtract.hpp.