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

Returns a special value (passed to the constructor of the functor) when both operants disagree. More...

#include <Operations.h>

Inheritance diagram for combblas::SetIfNotEqual< T >:

Public Member Functions

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

Public Attributes

valuetoset
 

Detailed Description

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

Returns a special value (passed to the constructor of the functor) when both operants disagree.

Definition at line 207 of file Operations.h.

Constructor & Destructor Documentation

◆ SetIfNotEqual()

template<typename T >
combblas::SetIfNotEqual< T >::SetIfNotEqual ( value)
inline

Definition at line 220 of file Operations.h.

Member Function Documentation

◆ operator()()

template<typename T >
const T combblas::SetIfNotEqual< T >::operator() ( const T &  x,
const T &  y 
)
inline

Definition at line 209 of file Operations.h.

Member Data Documentation

◆ valuetoset

template<typename T >
T combblas::SetIfNotEqual< T >::valuetoset

Definition at line 220 of file Operations.h.


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