Search⌘ K

Reduce

Explore the C++17 parallel execution algorithms reduce and transform_reduce. Understand how to efficiently reduce ranges and perform map-reduce operations for optimized code.

We'll cover the following...

The six new algorithms that are typically used for parallel execution are also known under the name prefix sum. If the given binary callables are not associative and commutative, the behavior of the algorithms is undefined.

reduce

This reduces the elements of the range. init is the start value.

...