boost::mpi::maximum — Compute the maximum of two values.
// In header: <boost/mpi/operations.hpp> template<typename T> struct maximum { // types typedef ; typedef ; typedef ; // public member functions (, ) ; };
This binary function object computes the maximum of the two values it is given. When used with MPI and a type T that has an associated, built-in MPI data type, translates to MPI_MAX.
T
MPI_MAX
maximum
( x, y) ;
Returns:
the maximum of x and y.