std::valarray::sum
From Cppreference
T sum() const;
|
||
Computes the sum of the elements.
The function can be used only if operator+= is defined for type T.
Contents |
[edit] Parameters
(none)
[edit] Return value
The sum of the elements.
[edit] Example
This section is incomplete |
[edit] See also
applies a function to every element of a valarray (public member function) |