1 #ifndef MHO_CompoundReductions_HH__
2 #define MHO_CompoundReductions_HH__
30 static XValueType
value() {
return 0.0; };
45 static inline bool value() {
return false; };
59 static inline int value() {
return 0; };
73 static inline short value() {
return 0; };
87 static inline unsigned int value() {
return 0; };
101 static inline std::size_t
value() {
return 0; };
115 static inline float value() {
return 0.0; };
129 static inline double value() {
return 0.0; };
143 static inline long double value() {
return 0.0; };
157 static inline std::complex< float >
value() {
return std::complex< float >(0.0, 0.0); };
171 static inline std::complex< double >
value() {
return std::complex< double >(0.0, 0.0); };
185 static inline std::complex< long double >
value() {
return std::complex< long double >(0.0, 0.0); };
199 static XValueType
value() {
return 0.0; };
214 static inline bool value() {
return true; };
228 static inline int value() {
return 1; };
242 static inline short value() {
return 1; };
256 static inline unsigned int value() {
return 1; };
270 static inline std::size_t
value() {
return 1; };
284 static inline float value() {
return 1.0; };
298 static inline double value() {
return 1.0; };
309 static inline long double value() {
return 1.0; };
314 static inline std::complex< float >
value() {
return std::complex< float >(1.0, 0.0); };
319 static inline std::complex< double >
value() {
return std::complex< double >(1.0, 0.0); };
324 static inline std::complex< long double >
value() {
return std::complex< long double >(1.0, 0.0); };
330 inline void operator()(XValueType& a,
const XValueType& b) { a += b; }
338 void operator()(XValueType& a,
const XValueType& b) { a *= b; }
Definition: MHO_ChannelLabeler.hh:17
Definition: MHO_CompoundReductions.hh:337
void operator()(XValueType &a, const XValueType &b)
Definition: MHO_CompoundReductions.hh:338
const XValueType identity
Definition: MHO_CompoundReductions.hh:340
Definition: MHO_CompoundReductions.hh:329
void operator()(XValueType &a, const XValueType &b)
Definition: MHO_CompoundReductions.hh:330
const XValueType identity
Definition: MHO_CompoundReductions.hh:332
static bool value()
Returns the identity for the multiplication operation.
Definition: MHO_CompoundReductions.hh:214
static double value()
Returns the identity for the multiplication operation.
Definition: MHO_CompoundReductions.hh:298
static float value()
Returns the identity for the multiplication operation.
Definition: MHO_CompoundReductions.hh:284
static int value()
Returns the identity for the multiplication operation.
Definition: MHO_CompoundReductions.hh:228
static long double value()
Returns the identity for the multiplication operation.
Definition: MHO_CompoundReductions.hh:309
static short value()
Returns the identity for the multiplication operation.
Definition: MHO_CompoundReductions.hh:242
static std::complex< double > value()
Definition: MHO_CompoundReductions.hh:319
static std::complex< float > value()
Definition: MHO_CompoundReductions.hh:314
static std::complex< long double > value()
Definition: MHO_CompoundReductions.hh:324
static std::size_t value()
Returns the identity for the multiplication operation.
Definition: MHO_CompoundReductions.hh:270
static unsigned int value()
Returns the identity for the multiplication operation.
Definition: MHO_CompoundReductions.hh:256
Class MHO_MultiplyIdentity.
Definition: MHO_CompoundReductions.hh:192
static XValueType value()
Returns the identity for the multiplication operation.
Definition: MHO_CompoundReductions.hh:199
static bool value()
Returns the identity for the sum operation.
Definition: MHO_CompoundReductions.hh:45
static double value()
Returns the identity for the sum operation.
Definition: MHO_CompoundReductions.hh:129
static float value()
Returns the identity for the sum operation.
Definition: MHO_CompoundReductions.hh:115
static int value()
Returns the identity for the sum operation.
Definition: MHO_CompoundReductions.hh:59
static long double value()
Returns the identity for the sum operation.
Definition: MHO_CompoundReductions.hh:143
static short value()
Returns the identity for the sum operation.
Definition: MHO_CompoundReductions.hh:73
static std::complex< double > value()
Copies non-active dimension values into index.
Definition: MHO_CompoundReductions.hh:171
static std::complex< float > value()
Copies non-active dimension values into index.
Definition: MHO_CompoundReductions.hh:157
static std::complex< long double > value()
Copies non-active dimension values into index.
Definition: MHO_CompoundReductions.hh:185
static std::size_t value()
Returns the identity for the sum operation.
Definition: MHO_CompoundReductions.hh:101
static unsigned int value()
Returns the identity for the sum operation.
Definition: MHO_CompoundReductions.hh:87
Class MHO_SumIdentity.
Definition: MHO_CompoundReductions.hh:23
static XValueType value()
Returns the identity for the sum operation.
Definition: MHO_CompoundReductions.hh:30