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

Compute the bitwise exclusive OR of two integral values. More...

#include <Operations.h>

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

Public Member Functions

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

Detailed Description

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

Compute the bitwise exclusive OR of two integral values.

This binary function object computes the bitwise exclusive OR 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_BXOR.

Definition at line 286 of file Operations.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename T>
T combblas::bitwise_xor< T >::operator() ( const T & x,
const T & y ) const
inline
Returns
x ^ y.

Definition at line 289 of file Operations.h.

◆ operator()() [2/2]

template<typename T>
T combblas::bitwise_xor< T >::operator() ( const T & x,
const T & y ) const
inline
Returns
x ^ y.

Definition at line 289 of file Operations.h.


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