Adobe Source Libraries 2.0.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
reduce.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  adobe

Functions

template<typename I, typename Op>
std::iterator_traits< I >::value_type reduce_nonzeros (I f, I l, Op op, ADOBE_VALUE_TYPE(I) z=adobe::identity_element< Op >()())
 reduce implementation
template<typename I, typename Op>
std::iterator_traits< I >::value_type add_to_counter (I f, I l, Op op, ADOBE_VALUE_TYPE(I) x, ADOBE_VALUE_TYPE(I) z=adobe::identity_element< Op >()())
 reduce implementation
template<typename I, typename Op>
std::iterator_traits< I >::value_type reduce_balanced (I f, I l, Op op, ADOBE_VALUE_TYPE(I) z=adobe::identity_element< Op >()())
 reduce implementation