COMBINATORIAL_BLAS  1.6
combblas::maximum< T > Struct Template Reference

Compute the maximum of two values. More...

#include <Operations.h>

Inheritance diagram for combblas::maximum< T >:

Public Member Functions

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

Detailed Description

template<typename T>
struct combblas::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 154 of file Operations.h.

Member Function Documentation

◆ operator()()

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

Definition at line 157 of file Operations.h.


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