Prototypes | Header File(s) | |
template <class T> | ||
T |
sum(const RWMathVec<T>&) |
<rw/math/mathvec.h> |
Returns the sum of the elements of the vector. For example, if x = [1, 4, 3, 4], then y = 12.
©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.