|
Tpetra Matrix/Vector Services
Version of the Day
|
Reduction function object that combines pairs of T1, T2. More...
#include <MultiPrecCG.hpp>
Inherits binary_function< pair< T1, T2 >, pair< T1, T2 >, pair< T1, T2 > >, and binary_function< pair< T1, T2 >, pair< T1, T2 >, pair< T1, T2 > >.
Reduction function object that combines pairs of T1, T2.
pair_op is a reduction function object that takes two arguments of a specified precision and multiplies them using a different precision.
A pair_op takes a binary operator "op" of type Op, whose arguments may be of types T1 or T2. It uses op to combine the elements of two pairs of (T1,T2) pairwise: the first element of the first pair with the first element of the second pair, and the second element of the first pair with the second element of the second pair.
| T1 | Type of the first element in the input pairs. |
| T2 | Type of the second element in the input pairs. |
| Op | A binary operator for which operator()(T1,T1) and operator()(T2,T2) are syntactically correct. |
Definition at line 106 of file RTIExample.cpp.
1.7.6.1