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

◆ sum() [5/7]

template<typename T , require_not_var_t< T > * = nullptr>
T stan::math::sum ( const std::vector< T > &  m)
inline

Return the sum of the values in the specified standard vector.

Template Parameters
TType of elements summed.
Parameters
mStandard vector to sum.
Returns
Sum of elements.

Definition at line 33 of file sum.hpp.