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

With 50/50 chances, return a one of the operants. More...

#include <Operations.h>

Inheritance diagram for combblas::RandReduce< T >:

Public Member Functions

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

Public Attributes

MTRand M
 

Detailed Description

template<typename T>
struct combblas::RandReduce< T >

With 50/50 chances, return a one of the operants.

Definition at line 185 of file Operations.h.

Constructor & Destructor Documentation

◆ RandReduce()

template<typename T>
combblas::RandReduce< T >::RandReduce ( )
inline

Definition at line 192 of file Operations.h.

Member Function Documentation

◆ operator()()

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

Definition at line 188 of file Operations.h.

Member Data Documentation

◆ M

template<typename T>
MTRand combblas::RandReduce< T >::M

Definition at line 200 of file Operations.h.


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