All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
maximum< T > Struct Template Reference

Compute the maximum of two values. More...

#include <Operations.h>

Inheritance diagram for maximum< T >:

Public Member Functions

const T operator() (const T &x, const T &y) const

Detailed Description

template<typename T>
struct maximum< T >

Compute the maximum of two values.

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.

Definition at line 153 of file Operations.h.

Member Function Documentation

template<typename T >
const T maximum< T >::operator() ( const T &  x,
const T &  y 
) const
the maximum of x and y.

Definition at line 156 of file Operations.h.

The documentation for this struct was generated from the following file: