#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>
Go to the source code of this file.
#define ALPS_ACCUMULATOR_INST_MEAN_ACC |
( |
|
r, |
|
|
|
data, |
|
|
|
T |
|
) |
| |
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, |
|
|
|
T |
|
) |
| |
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)) |
#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.