Tpetra Matrix/Vector Services Version of the Day
A type glob containing the types needed for calling Tpetra::RTI::reduce() with individual functors.
|GOP||Type of the operator genop, that generates successive new inputs of the reduction.|
|ROP||Type of the operator that performs the pairwise reduction operations.|
|IOP||Type of the operator that provides (via a zero-argument static function) the initial value of the reduction.|
For reducing a pair of vectors v1, v2, successive reduction elements are generated in a way equivalent to
genop(v1[i], v2[i]) for all indices i of the vector.
For reducing a triple of vectors v1, v2, v3, successive reduction elements are generated in a way equivalent to
genop(v1[i], v2[i], v3[i]) for all indices i of the vector.
Regardless, each genop invocation generates a single value, and the sequence of these values is reduced using the binary operator redop. The initial value of this sequence comes from the static
identity() method of IOP.