ALPSCore reference
Namespaces | Macros
mean.cpp File Reference
#include <boost/preprocessor/tuple/to_seq.hpp>
#include <boost/preprocessor/seq/for_each.hpp>
#include <alps/config.hpp>
#include <alps/accumulators/feature/mean.hpp>
#include <alps/hdf5/vector.hpp>
Include dependency graph for mean.cpp:

Go to the source code of this file.

Namespaces

 alps
 
 alps::accumulators
 
 alps::accumulators::impl
 

Macros

#define ALPS_ACCUMULATOR_VALUE_TYPES_SEQ   BOOST_PP_TUPLE_TO_SEQ(ALPS_ACCUMULATOR_VALUE_TYPES_SIZE, (ALPS_ACCUMULATOR_VALUE_TYPES))
 
#define ALPS_ACCUMULATOR_INST_MEAN_ACC(r, data, T)
 
#define NUMERIC_FUNCTION_IMPLEMENTATION(FUNCTION_NAME)
 
#define NUMERIC_FUNCTION_IMPLEMENTATION(FUNCTION_NAME)
 
#define ALPS_ACCUMULATOR_INST_MEAN_RESULT(r, data, T)
 

Macro Definition Documentation

#define ALPS_ACCUMULATOR_INST_MEAN_ACC (   r,
  data,
 
)
Value:
template class Accumulator<T, mean_tag, \
Accumulator<T, count_tag, AccumulatorBase<T>>>;

Definition at line 104 of file mean.cpp.

#define ALPS_ACCUMULATOR_INST_MEAN_RESULT (   r,
  data,
 
)
Value:
template class Result<T, mean_tag, \
Result<T, count_tag, ResultBase<T>>>;

Definition at line 189 of file mean.cpp.

#define ALPS_ACCUMULATOR_VALUE_TYPES_SEQ   BOOST_PP_TUPLE_TO_SEQ(ALPS_ACCUMULATOR_VALUE_TYPES_SIZE, (ALPS_ACCUMULATOR_VALUE_TYPES))

Definition at line 15 of file mean.cpp.

#define NUMERIC_FUNCTION_IMPLEMENTATION (   FUNCTION_NAME)
Value:
template<typename T, typename B> \
void Result<T, mean_tag, B>:: FUNCTION_NAME () { \
B:: FUNCTION_NAME (); \
using std:: FUNCTION_NAME ; \
using alps::numeric:: FUNCTION_NAME ; \
m_mean = FUNCTION_NAME (m_mean); \
}

Definition at line 174 of file mean.cpp.

#define NUMERIC_FUNCTION_IMPLEMENTATION (   FUNCTION_NAME)
Value:
template<typename T, typename B> \
void Result<T, mean_tag, B>:: FUNCTION_NAME () { \
B:: FUNCTION_NAME (); \
using alps::numeric:: FUNCTION_NAME ; \
using alps::numeric:: FUNCTION_NAME ; \
m_mean = FUNCTION_NAME (m_mean); \
}

Definition at line 174 of file mean.cpp.