opengm::Adder Struct Reference
[Operators]

Addition as a binary operation. More...

#include <adder.hxx>

List of all members.

Static Public Member Functions

template<class T >
static T neutral ()
 neutral element (with return)
template<class T >
static void neutral (T &out)
 neutral element (call by reference)
template<class T >
static T ineutral ()
 inverse neutral element (with return)
template<class T >
static void ineutral (T &out)
 inverse neutral element (call by reference)
template<class T1 , class T2 >
static void op (const T1 &in, T2 &out)
 operation (in-place)
template<class T1 , class T2 , class T3 >
static void op (const T1 &in1, const T2 &in2, T3 &out)
 operation (not in-place)
template<class T1 , class T2 >
static void iop (const T1 &in, T2 &out)
 inverse operation (in-place)
template<class T1 , class T2 , class T3 >
static void iop (const T1 &in1, const T2 &in2, T3 &out)
 inverse operation (not in-place)
static bool hasbop ()
 bool operation flag
template<class T1 , class T2 >
static void hop (const T1 &in, T2 &out)
 hyper-operation (in-place)
template<class T1 , class T2 , class T3 >
static void hop (const T1 &in1, const T2 &in2, T3 &out)
 hyper-operation (not in-place)
template<class T1 , class T2 >
static void ihop (const T1 &in, T2 &out)
 inverse hyper-operation (in-place)
template<class T1 , class T2 , class T3 >
static void ihop (const T1 &in1, const T2 &in2, T3 &out)
 inverse hyper-operation (same type, not in-place)

Detailed Description

Addition as a binary operation.

Examples:

interpixel_boundary_segmentation.cxx, one_to_one_matching.cxx, opengmBuildGrid.cxx, and space_types.cxx.

Definition at line 10 of file adder.hxx.


Member Function Documentation

static bool opengm::Adder::hasbop (  )  [inline, static]

bool operation flag

Definition at line 53 of file adder.hxx.

template<class T1 , class T2 , class T3 >
static void opengm::Adder::hop ( const T1 &  in1,
const T2 &  in2,
T3 &  out 
) [inline, static]

hyper-operation (not in-place)

Definition at line 63 of file adder.hxx.

template<class T1 , class T2 >
static void opengm::Adder::hop ( const T1 &  in,
T2 &  out 
) [inline, static]

hyper-operation (in-place)

Definition at line 58 of file adder.hxx.

template<class T1 , class T2 , class T3 >
static void opengm::Adder::ihop ( const T1 &  in1,
const T2 &  in2,
T3 &  out 
) [inline, static]

inverse hyper-operation (same type, not in-place)

Definition at line 73 of file adder.hxx.

template<class T1 , class T2 >
static void opengm::Adder::ihop ( const T1 &  in,
T2 &  out 
) [inline, static]

inverse hyper-operation (in-place)

Definition at line 68 of file adder.hxx.

template<class T >
static void opengm::Adder::ineutral ( T &  out  )  [inline, static]

inverse neutral element (call by reference)

Definition at line 29 of file adder.hxx.

template<class T >
static T opengm::Adder::ineutral (  )  [inline, static]

inverse neutral element (with return)

Definition at line 24 of file adder.hxx.

template<class T1 , class T2 , class T3 >
static void opengm::Adder::iop ( const T1 &  in1,
const T2 &  in2,
T3 &  out 
) [inline, static]

inverse operation (not in-place)

Definition at line 49 of file adder.hxx.

template<class T1 , class T2 >
static void opengm::Adder::iop ( const T1 &  in,
T2 &  out 
) [inline, static]

inverse operation (in-place)

Definition at line 44 of file adder.hxx.

template<class T >
static void opengm::Adder::neutral ( T &  out  )  [inline, static]

neutral element (call by reference)

Definition at line 19 of file adder.hxx.

template<class T >
static T opengm::Adder::neutral (  )  [inline, static]

neutral element (with return)

Definition at line 14 of file adder.hxx.

template<class T1 , class T2 , class T3 >
static void opengm::Adder::op ( const T1 &  in1,
const T2 &  in2,
T3 &  out 
) [inline, static]

operation (not in-place)

Definition at line 39 of file adder.hxx.

template<class T1 , class T2 >
static void opengm::Adder::op ( const T1 &  in,
T2 &  out 
) [inline, static]

operation (in-place)

Definition at line 34 of file adder.hxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Jun 17 16:31:13 2013 for OpenGM by  doxygen 1.6.3