template<class T> T sum

(const Vector<T> &v)

Sum all elements.

Documentation

Sum all elements.
Parameters:
- v a vector
Returns:
scalar = contraction of v.
See Also:
ScalProd

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.