ALPSCore reference
|
#include <mean.hpp>
Public Types | |
typedef alps::accumulators::mean_type< B >::type | mean_type |
typedef Result< T, mean_tag, typename B::result_type > | result_type |
Public Member Functions | |
Accumulator () | |
Accumulator (Accumulator const &arg) | |
template<typename ArgumentPack > | |
Accumulator (ArgumentPack const &args, typename std::enable_if<!is_accumulator< ArgumentPack >::value, int >::type=0) | |
mean_type const | mean () const |
void | operator() (T const &val) |
template<typename S > | |
void | print (S &os, bool terse=false) const |
void | save (hdf5::archive &ar) const |
void | load (hdf5::archive &ar) |
void | reset () |
template<typename A > | |
void | merge (const A &rhs) |
Merge the sum (mean) of given accumulator of type A into this sum (mean) More... | |
Static Public Member Functions | |
static std::size_t | rank () |
static bool | can_load (hdf5::archive &ar) |
Protected Member Functions | |
T const & | sum () const |
typedef alps::accumulators::mean_type<B>::type alps::accumulators::impl::Accumulator< T, mean_tag, B >::mean_type |
typedef Result<T, mean_tag, typename B::result_type> alps::accumulators::impl::Accumulator< T, mean_tag, B >::result_type |
|
inline |
|
inline |
|
inline |
|
static |
void alps::accumulators::impl::Accumulator< T, mean_tag, B >::load | ( | hdf5::archive & | ar | ) |
auto alps::accumulators::impl::Accumulator< T, mean_tag, B >::mean | ( | ) | const |
|
inline |
Merge the sum (mean) of given accumulator of type A into this sum (mean)
rhs | Accumulator to merge |
void alps::accumulators::impl::Accumulator< T, mean_tag, B >::operator() | ( | T const & | val | ) |
|
inline |
|
inlinestatic |
|
inline |
void alps::accumulators::impl::Accumulator< T, mean_tag, B >::save | ( | hdf5::archive & | ar | ) | const |
|
protected |