Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

10.56 sum()

PrototypesHeader File(s)
template <class T>
T
sum(const RWMathVec<T>&)
<rw/math/mathvec.h>

10.56.1 Description

Returns the sum of the elements of the vector. For example, if x = [1, 4, 3, 4], then y = 12.


Previous fileTop of DocumentContentsIndexNext file

©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.