ALPSCore reference
Namespaces | Classes | Typedefs | Functions
alps::accumulators Namespace Reference

Namespaces

 impl
 
 wrapped
 

Classes

class  accumulator_wrapper
 
struct  autocorrelation_type
 
class  base_wrapper
 
struct  convergence_type
 
struct  count_type
 
struct  covariance_type
 
class  derived_accumulator_wrapper
 
class  derived_result_wrapper
 
class  derived_wrapper
 
struct  error_type
 
struct  FullBinningAccumulator
 
struct  has_feature
 
struct  has_feature< T, binning_analysis_tag >
 
struct  has_feature< T, count_tag >
 
struct  has_feature< T, error_tag >
 
struct  has_feature< T, max_num_binning_tag >
 
struct  has_feature< T, mean_tag >
 
struct  has_feature< T, weight_tag >
 
struct  has_operator_add
 
struct  has_operator_div
 
struct  has_operator_mul
 
struct  has_operator_sub
 
struct  has_result_type
 
struct  LogBinningAccumulator
 
struct  max_num_binning_type
 
struct  mean_type
 
struct  MeanAccumulator
 
struct  NoBinningAccumulator
 
class  result_wrapper
 
struct  value_type
 
struct  weight_holder_tag
 
struct  weight_type
 

Typedefs

typedef impl::wrapper_set< accumulator_wrapperaccumulator_set
 
typedef impl::wrapper_set< result_wrapperresult_set
 

Functions

result_wrapper operator+ (long double arg1, result_wrapper const &arg2)
 
result_wrapper operator- (long double arg1, result_wrapper const &arg2)
 
result_wrapper operator* (long double arg1, result_wrapper const &arg2)
 
result_wrapper operator/ (long double arg1, result_wrapper const &arg2)
 
std::ostream & operator<< (std::ostream &os, const result_wrapper &arg)
 
detail::printable_type short_print (const result_wrapper &arg)
 Return an "ostream-able" object to print result in a terse format. More...
 
detail::printable_type full_print (const result_wrapper &arg)
 Return an "ostream-able" object to print result in a verbose format. More...
 
template<typename A >
A & extract (result_wrapper &m)
 Return the "raw result" of type A held in the result_wrapper m, or throw. More...
 
template<typename A >
const A & extract (const result_wrapper &m)
 Return the "raw result" of type A held in the result_wrapper m, or throw. More...
 
template<typename AFROM , typename ATO >
result_wrapper cast_raw (const result_wrapper &res)
 Cast to the result_wrapper containing another raw result type, or throw. More...
 
template<template< typename > class AFROM, template< typename > class ATO>
result_wrapper cast (const result_wrapper &res)
 Cast to the result_wrapper containing another raw result type, or throw. More...
 
result_wrapper sin (result_wrapper const &arg)
 
result_wrapper cos (result_wrapper const &arg)
 
result_wrapper tan (result_wrapper const &arg)
 
result_wrapper sinh (result_wrapper const &arg)
 
result_wrapper cosh (result_wrapper const &arg)
 
result_wrapper tanh (result_wrapper const &arg)
 
result_wrapper asin (result_wrapper const &arg)
 
result_wrapper acos (result_wrapper const &arg)
 
result_wrapper atan (result_wrapper const &arg)
 
result_wrapper abs (result_wrapper const &arg)
 
result_wrapper sqrt (result_wrapper const &arg)
 
result_wrapper log (result_wrapper const &arg)
 
result_wrapper sq (result_wrapper const &arg)
 
result_wrapper cb (result_wrapper const &arg)
 
result_wrapper cbrt (result_wrapper const &arg)
 
std::ostream & operator<< (std::ostream &os, const accumulator_wrapper &arg)
 
detail::printable_type short_print (const accumulator_wrapper &arg)
 Return an "ostream-able" object to print accumulator in a terse format. More...
 
detail::printable_type full_print (const accumulator_wrapper &arg)
 Return an "ostream-able" object to print accumulator in a verbose format. More...
 
template<typename A >
A & extract (accumulator_wrapper &m)
 
void reset (accumulator_wrapper &arg)
 
template<typename T >
autocorrelation_type< T >::type autocorrelation (T const &arg)
 
template<typename T >
count_type< T >::type count (T const &arg)
 
template<typename T >
error_type< T >::type error (T const &arg)
 
template<typename T >
max_num_binning_type< T >::type max_num_binning (T const &arg)
 
template<typename T >
mean_type< T >::type mean (T const &arg)
 
template<typename T >
base_wrapper< typename value_type< T >::type > const * weight (T const &arg)
 
template<typename T >
accumulator_setoperator<< (accumulator_set &set, const MeanAccumulator< T > &arg)
 
template<typename T >
accumulator_setoperator<< (accumulator_set &set, const NoBinningAccumulator< T > &arg)
 
template<typename T >
accumulator_setoperator<< (accumulator_set &set, const LogBinningAccumulator< T > &arg)
 
template<typename T >
accumulator_setoperator<< (accumulator_set &set, const FullBinningAccumulator< T > &arg)
 
template<typename T , typename A >
derived_result_wrapper< A > operator/ (T arg, derived_result_wrapper< A > res)
 

Typedef Documentation

Definition at line 570 of file accumulator.hpp.

Definition at line 571 of file accumulator.hpp.

Function Documentation

result_wrapper alps::accumulators::abs ( result_wrapper const &  arg)

Definition at line 275 of file result_wrapper.cpp.

result_wrapper alps::accumulators::acos ( result_wrapper const &  arg)

Definition at line 273 of file result_wrapper.cpp.

result_wrapper alps::accumulators::asin ( result_wrapper const &  arg)

Definition at line 272 of file result_wrapper.cpp.

result_wrapper alps::accumulators::atan ( result_wrapper const &  arg)

Definition at line 274 of file result_wrapper.cpp.

template<typename T >
autocorrelation_type<T>::type alps::accumulators::autocorrelation ( T const &  arg)

Definition at line 59 of file binning_analysis.hpp.

template<template< typename > class AFROM, template< typename > class ATO>
result_wrapper alps::accumulators::cast ( const result_wrapper res)

Cast to the result_wrapper containing another raw result type, or throw.

Template Parameters
AFROMnamed accumulator template name (e.g., FullBinningAccumulator) to convert from
ATOnamed accumulator template name (e.g., NoBinningAccumulator) to convert to

Example:

// ....
const result_wrapper& r1=rset["no_binning"];
result_wrapper r2=cast<FullBinningAccumulator,NoBinningAccumulator>(rset["full_binning"]);
result_wrapper rsum=r1+r2;

Definition at line 372 of file accumulator.hpp.

template<typename AFROM , typename ATO >
result_wrapper alps::accumulators::cast_raw ( const result_wrapper res)

Cast to the result_wrapper containing another raw result type, or throw.

Template Parameters
AFROMraw result type (e.g., NoBinningAccumulator<double>::result_type) to cast from
ATOraw result type (e.g., FullBinningAccumulator<double>::result_type) to cast to

Example:

// ....
const result_wrapper& r1=rset["no_binning"];
result_wrapper r2=cast_raw<FullBinningAccumulator<double>::result_type,
result_wrapper rsum=r1+r2;

Definition at line 350 of file accumulator.hpp.

result_wrapper alps::accumulators::cb ( result_wrapper const &  arg)

Definition at line 279 of file result_wrapper.cpp.

result_wrapper alps::accumulators::cbrt ( result_wrapper const &  arg)

Definition at line 280 of file result_wrapper.cpp.

result_wrapper alps::accumulators::cos ( result_wrapper const &  arg)

Definition at line 267 of file result_wrapper.cpp.

result_wrapper alps::accumulators::cosh ( result_wrapper const &  arg)

Definition at line 270 of file result_wrapper.cpp.

template<typename T >
count_type<T>::type alps::accumulators::count ( T const &  arg)

Definition at line 39 of file count.hpp.

template<typename T >
error_type<T>::type alps::accumulators::error ( T const &  arg)

Definition at line 47 of file error.hpp.

template<typename A >
A& alps::accumulators::extract ( result_wrapper m)

Return the "raw result" of type A held in the result_wrapper m, or throw.

Definition at line 326 of file accumulator.hpp.

template<typename A >
const A& alps::accumulators::extract ( const result_wrapper m)

Return the "raw result" of type A held in the result_wrapper m, or throw.

Definition at line 331 of file accumulator.hpp.

template<typename A >
A& alps::accumulators::extract ( accumulator_wrapper m)

Definition at line 564 of file accumulator.hpp.

detail::printable_type alps::accumulators::full_print ( const result_wrapper arg)

Return an "ostream-able" object to print result in a verbose format.

Definition at line 291 of file result_wrapper.cpp.

detail::printable_type alps::accumulators::full_print ( const accumulator_wrapper arg)

Return an "ostream-able" object to print accumulator in a verbose format.

Definition at line 231 of file accumulator_wrapper.cpp.

result_wrapper alps::accumulators::log ( result_wrapper const &  arg)

Definition at line 277 of file result_wrapper.cpp.

template<typename T >
max_num_binning_type<T>::type alps::accumulators::max_num_binning ( T const &  arg)

Definition at line 104 of file max_num_binning.hpp.

template<typename T >
mean_type<T>::type alps::accumulators::mean ( T const &  arg)

Definition at line 47 of file mean.hpp.

result_wrapper alps::accumulators::operator* ( long double  arg1,
result_wrapper const &  arg2 
)
inline

Definition at line 310 of file accumulator.hpp.

result_wrapper alps::accumulators::operator+ ( long double  arg1,
result_wrapper const &  arg2 
)
inline

Definition at line 304 of file accumulator.hpp.

result_wrapper alps::accumulators::operator- ( long double  arg1,
result_wrapper const &  arg2 
)
inline

Definition at line 307 of file accumulator.hpp.

template<typename T , typename A >
derived_result_wrapper<A> alps::accumulators::operator/ ( arg,
derived_result_wrapper< A >  res 
)

Definition at line 303 of file wrappers.hpp.

result_wrapper alps::accumulators::operator/ ( long double  arg1,
result_wrapper const &  arg2 
)
inline

Definition at line 313 of file accumulator.hpp.

template<typename T >
accumulator_set & alps::accumulators::operator<< ( accumulator_set set,
const MeanAccumulator< T > &  arg 
)

Definition at line 112 of file namedaccumulators.cpp.

template<typename T >
accumulator_set & alps::accumulators::operator<< ( accumulator_set set,
const NoBinningAccumulator< T > &  arg 
)

Definition at line 113 of file namedaccumulators.cpp.

template<typename T >
accumulator_set & alps::accumulators::operator<< ( accumulator_set set,
const LogBinningAccumulator< T > &  arg 
)

Definition at line 114 of file namedaccumulators.cpp.

template<typename T >
accumulator_set & alps::accumulators::operator<< ( accumulator_set set,
const FullBinningAccumulator< T > &  arg 
)

Definition at line 115 of file namedaccumulators.cpp.

std::ostream & alps::accumulators::operator<< ( std::ostream &  os,
const result_wrapper arg 
)

Definition at line 298 of file result_wrapper.cpp.

std::ostream & alps::accumulators::operator<< ( std::ostream &  os,
const accumulator_wrapper arg 
)

Definition at line 220 of file accumulator_wrapper.cpp.

void alps::accumulators::reset ( accumulator_wrapper arg)

Definition at line 238 of file accumulator_wrapper.cpp.

detail::printable_type alps::accumulators::short_print ( const result_wrapper arg)

Return an "ostream-able" object to print result in a terse format.

Definition at line 284 of file result_wrapper.cpp.

detail::printable_type alps::accumulators::short_print ( const accumulator_wrapper arg)

Return an "ostream-able" object to print accumulator in a terse format.

Definition at line 224 of file accumulator_wrapper.cpp.

result_wrapper alps::accumulators::sin ( result_wrapper const &  arg)

Definition at line 266 of file result_wrapper.cpp.

result_wrapper alps::accumulators::sinh ( result_wrapper const &  arg)

Definition at line 269 of file result_wrapper.cpp.

result_wrapper alps::accumulators::sq ( result_wrapper const &  arg)

Definition at line 278 of file result_wrapper.cpp.

result_wrapper alps::accumulators::sqrt ( result_wrapper const &  arg)

Definition at line 276 of file result_wrapper.cpp.

result_wrapper alps::accumulators::tan ( result_wrapper const &  arg)

Definition at line 268 of file result_wrapper.cpp.

result_wrapper alps::accumulators::tanh ( result_wrapper const &  arg)

Definition at line 271 of file result_wrapper.cpp.

template<typename T >
base_wrapper<typename value_type<T>::type> const* alps::accumulators::weight ( T const &  arg)

Definition at line 53 of file weight.hpp.