2 #ifndef OPENGM_OPERATION_WEIGTED_OPERATIONS_HXX
3 #define OPENGM_OPERATION_WEIGTED_OPERATIONS_HXX
9 struct WeightedOperations{
11 template<
class OP,
class T1,
class T2>
12 static inline void weightedMean(
const T2& in1,
const T2& in2,
const T1& w, T2& out)
25 template<
class OP,
class T1,
class T2>
26 static inline void wop(
const T2& in,
const T1& w, T2& out)
37 template<
class OP,
class T1,
class T2>
38 static inline void iwop(
const T2& in,
const T1& w, T2& out)
50 template<
class OP,
class T1,
class T2>
51 static inline void wiop(
const T2& in,
const T1& w, T2& out)
62 template<
class OP,
class T1,
class T2>
63 static inline void iwiop(
const T2& in,
const T1& w, T2& out)
79 #endif // #ifndef OPENGM_OPERATION_WEIGTED_OPERATIONS_HXX
#define OPENGM_ASSERT(expression)