KUMI v4.0.0
Flawless Fluorite
Loading...
Searching...
No Matches
Product Type Generalized Reductions

Algorithms performing reductions over product types. More...

Variables

constexpr bit_and_t kumi::bit_and {}
 Callable object computing the bitwise AND of all elements.
constexpr bit_or_t kumi::bit_or {}
 Callable object computing the bitwise OR of all elements.
constexpr bit_xor_t kumi::bit_xor {}
 Callable object computing the bitwise XOR of all elements.
constexpr exclusive_scan_left_t kumi::exclusive_scan_left {}
 Callable object computing the exclusive prefix scan of all elements of a product type using a tail recursive call.
constexpr exclusive_scan_right_t kumi::exclusive_scan_right {}
 Callable object computing the exclusive suffix scan of all elements of a product type using a non-tail recursive call.
constexpr fold_left_t kumi::fold_left {}
 Callable object computing the generalized combination of all elements using a tail recursive call.
constexpr fold_right_t kumi::fold_right {}
 Callable object computing the generalized combination of all elements using a non-tail recursive call.
constexpr inclusive_scan_left_t kumi::inclusive_scan_left {}
 Callable object computing the inclusive prefix scan of all elements of a product type using a tail recursive call.
constexpr inclusive_scan_right_t kumi::inclusive_scan_right {}
 Callable object computing the inclusive suffix scan of all elements of a product type using a non-tail recursive call.
constexpr map_reduce_t kumi::map_reduce {}
 Callable object performing a tree-like reduction of all elements of a product type. The given map function is applied before excution the reduction to each element of the input.
constexpr max_t kumi::max {}
 Callable object computing the maximum value of all elements of t.
constexpr min_t kumi::min {}
 Callable object computing the maximum value of applications of f to all elements of kumi::flatten_all(t).
constexpr prod_t kumi::prod {}
 Callable object computing the product of all elements.
constexpr reduce_t kumi::reduce {}
 Callable object performing a tree-like reduction of all elements of a product type.
constexpr sum_t kumi::sum {}
 Callable object computing the sum of all elements.