ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Class template RecordableObservable

alps::RecordableObservable

Synopsis

// In header: <alps/alea/recordableobservable.h>

template<typename T = double, typename SIGN = double> 
class RecordableObservable {
public:
  // types
  typedef T    value_type;
  typedef SIGN sign_type; 

  // construct/copy/destruct
  RecordableObservable();
  ~RecordableObservable();

  // public member functions
  void operator<<(const value_type &);
  void add(const value_type &);
  void add(const value_type &, sign_type);
};

Description

RecordableObservable public construct/copy/destruct

  1. RecordableObservable();
    just a default constructor
  2. ~RecordableObservable();

RecordableObservable public member functions

  1. void operator<<(const value_type & x);
    add another measurement to the observable
  2. void add(const value_type & x);
    add another measurement to the observable
  3. void add(const value_type & x, sign_type s);
    add an explcitly signed measurement to the observable
Copyright © 1994, 2002-2004, 2012 Matthias Troyer, Synge Todo, Maximilian Poprawe

PrevUpHomeNext