The std::transform_inclusive_scan and std::transform_exclusive_scan compute the inclusive/exclusive prefix sum from the results of a transformation applied to each element. Unlike std::partial_sum, the prefix sum is generalized and not evaluated in strict order, requiring associative reduction operation for deterministic results. Compiler Explorer link: https://lnkd.in/eihAmune #cpp #cplusplus #coding #programming #dailybiteofcpp
Juan Antonio Herreros Bragado
Polyrix inc.•456 followers
2yCool, I had completely missed these two.