KUMI v5.0.0
Gorgeous Garnet
Loading...
Searching...
No Matches
Generalized Reductions

Algorithms performing reductions over product types. More...

Topics

 kumi::bit_and
 Callable object computing the bitwise AND of all elements.
 kumi::bit_or
 Callable object computing the bitwise OR of all elements.
 kumi::bit_xor
 Callable object computing the bitwise XOR of all elements.
 kumi::exclusive_scan_left
 Callable object computing the exclusive prefix scan of all elements of a product type using a tail recursive call.
 kumi::exclusive_scan_right
 Callable object computing the exclusive suffix scan of all elements of a product type using a non-tail recursive call.
 kumi::fold_left
 Callable object computing the generalized combination of all elements using a tail recursive call.
 kumi::fold_right
 Callable object computing the generalized combination of all elements using a non-tail recursive call.
 kumi::inclusive_scan_left
 Callable object computing the inclusive prefix scan of all elements of a product type using a tail recursive call.
 kumi::inclusive_scan_right
 Callable object computing the inclusive suffix scan of all elements of a product type using a non-tail recursive call.
 kumi::inner_product
 Callable object computing the inner product (i.e. sum of products).
 kumi::map_reduce
 Callable object performing a tree-like reduction of all elements of a product type. The given map function is applied before executing the reduction to each element of the input.
 kumi::max
 Callable object computing the maximum value of all elements of t.
 kumi::max_flat
 Callable object computing the maximum value of applications of f to all elements of kumi::flatten_all(t).
 kumi::min
 Callable object computing the minimum value of all elements of t.
 kumi::min_flat
 Callable object computing the minimum value of applications of f to all elements of kumi::flatten_all(t).
 kumi::prod
 Callable object computing the product of all elements.
 kumi::reduce
 Callable object performing a tree-like reduction of all elements of a product type.
 kumi::sum
 Callable object computing the sum of all elements.

Detailed Description

Algorithms performing reductions over product types.