Medial Code Documentation
|
Reduction with iterator. More...
Functions | |
template<typename It , typename V = typename It::value_type> | |
V | Reduce (Context const *ctx, It first, It second, V const &init) |
Reduction with iterator.
init must be additive identity. (0 for primitive types)