COMBINATORIAL_BLAS 1.6
Loading...
Searching...
No Matches
combblas::maximum< T > Struct Template Reference

Compute the maximum of two values. More...

#include <Operations.h>

Inheritance diagram for combblas::maximum< T >:
Collaboration diagram for combblas::maximum< T >:

Public Member Functions

const T operator() (const T &x, const T &y) const
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()() [1/2]

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.

◆ operator()() [2/2]

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 files: