Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

10.44 prod()

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

10.44.1 Description

Takes a vector xi with n elements as an argument and returns the product of the elements of the vector. For example, if x = [1, 4, 3], then y = 12.


Previous fileTop of DocumentContentsIndexNext file

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