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

◆ sum() [1/7]

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

Return the sum of the entries of the specified standard vector.

Template Parameters
Ttype of elements in the vector
Parameters
mVector.
Returns
Sum of vector entries.

Definition at line 23 of file sum.hpp.