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

Compute the minimum of two values. More...

#include <Operations.h>

Inheritance diagram for minimum< T >:

Public Member Functions

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

Detailed Description

template<typename T>
struct minimum< T >

Compute the minimum of two values.

This binary function object computes the minimum 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_MIN.

Definition at line 171 of file Operations.h.

Member Function Documentation

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

Definition at line 174 of file Operations.h.

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