accumulate [MTL Home] Programmers Guide
  Contents | Index |  Search 


Category:fast Component type:function
Prototype
template <int N, class InputIterator, class T, class BinaryOperation>
T accumulate(InputIterator first, count<N>, T init, BinaryOperation binary_op) ;
Description
Accumulate the result of the binary operator applied to the N elements of first and init.
Definition
fast.h
Preconditions
Complexity
Example
Notes
See also

[MTL Home] Copyright © 1998,1999 University of Notre Dame. All Rights Reserved.