ALPSCore reference
Namespaces | Macros
accumulators.cpp File Reference
#include <alps/accumulators_.hpp>
#include <alps/accumulators/accumulator.hpp>
#include <alps/accumulators/namedaccumulators.hpp>
Include dependency graph for accumulators.cpp:

Go to the source code of this file.

Namespaces

 alps
 
 alps::accumulators
 
 alps::accumulators::wrapped
 

Macros

#define ALPS_ACCUMULATOR_MEAN_IMPL(r, data, T)
 
#define ALPS_ACCUMULATOR_ERROR_IMPL(r, data, T)
 
#define ALPS_ACCUMULATOR_OPERATOR_CALL(r, data, T)
 
#define ALPS_ACCUMULATOR_MEAN_IMPL(r, data, T)
 
#define ALPS_ACCUMULATOR_ERROR_IMPL(r, data, T)
 
#define ALPS_ACCUMULATOR_ADD_ACCUMULATOR(r, type, T)
 

Macro Definition Documentation

#define ALPS_ACCUMULATOR_ADD_ACCUMULATOR (   r,
  type,
 
)

Definition at line 200 of file accumulators.cpp.

#define ALPS_ACCUMULATOR_ERROR_IMPL (   r,
  data,
 
)
Value:
template<> T virtual_result_wrapper<virtual_accumulator_wrapper>::error_impl(T) const { \
return m_ptr->error<T>(); \
}

Definition at line 154 of file accumulators.cpp.

#define ALPS_ACCUMULATOR_ERROR_IMPL (   r,
  data,
 
)
Value:
T virtual_accumulator_wrapper::error_impl(T) const { \
return m_ptr->error<T>(); \
}

Definition at line 154 of file accumulators.cpp.

#define ALPS_ACCUMULATOR_MEAN_IMPL (   r,
  data,
 
)
Value:
template<> T virtual_result_wrapper<virtual_accumulator_wrapper>::mean_impl(T) const { \
return m_ptr->mean<T>(); \
}

Definition at line 146 of file accumulators.cpp.

#define ALPS_ACCUMULATOR_MEAN_IMPL (   r,
  data,
 
)
Value:
T virtual_accumulator_wrapper::mean_impl(T) const { \
return m_ptr->mean<T>(); \
}

Definition at line 146 of file accumulators.cpp.

#define ALPS_ACCUMULATOR_OPERATOR_CALL (   r,
  data,
 
)
Value:
virtual_accumulator_wrapper & virtual_accumulator_wrapper::operator()(T const & value) { \
(*m_ptr)(value); \
return (*this); \
}

Definition at line 122 of file accumulators.cpp.