Reduction Scalar TypesΒΆ

Types designed to hold the result of parallel_reduce(), while using the corresponding builtin reducers.

Class template

Description

Builtin Reducer

FirstLocScalar

stores the first location that satisfies a condition

FirstLoc

LastLocScalar

stores the last location that satisfies a condition

LastLoc

MinMaxLocScalar

stores a minimum, a maximum, and their respective locations

MinMaxLoc

MinMaxScalar

stores a minimum value and a maximum value

MinMax

ValLocScalar

stores a single value and its location

MinLoc, MaxLoc