![]() |
Home | Libraries | License | Support | People | ALPS Web Site |
alps::SignedObservable
// In header: <alps/alea/signedobservable.h> template<typename OBS, typename SIGN = double> class SignedObservable : public alps::AbstractSignedObservable< OBS, SIGN >, public alps::RecordableObservable< OBS::value_type, SIGN > { public: // types typedef OBS observable_type; typedef SIGN sign_type; typedef AbstractSignedObservable< OBS, SIGN > base_type; typedef observable_type::value_type value_type; // the data type of the observable typedef average_type< value_type >::type result_type; // the data type of averages and errors typedef std::size_t count_type; // the count data type: an integral type typedef change_value_type< value_type, double >::type time_type; // the data type for autocorrelation times typedef super_type::label_type label_type; // construct/copy/destruct SignedObservable(const OBS &, const std::string & = "Sign"); SignedObservable(const std::string & = "", const std::string & = "Sign", const label_type & = label_type()); SignedObservable(const std::string &, const char *, const label_type & = label_type()); template<typename ARG> SignedObservable(const std::string &, const ARG &, const label_type & = label_type()); template<typename ARG> SignedObservable(const std::string &, std::string &, const ARG &, const label_type & = label_type()); ~SignedObservable(); // public member functions Observable * clone() const; void operator<<(const value_type &); void add(const value_type &); void add(const value_type &, sign_type); void write_hdf5(const boost::filesystem::path &, std::size_t = 0, std::size_t = 0) const; void read_hdf5(const boost::filesystem::path &, std::size_t = 0, std::size_t = 0); };
SignedObservable
public
construct/copy/destructSignedObservable(const OBS & obs, const std::string & s = "Sign");
SignedObservable(const std::string & name = "", const std::string & s = "Sign", const label_type & l = label_type());
SignedObservable(const std::string & name, const char * s, const label_type & l = label_type());
template<typename ARG> SignedObservable(const std::string & name, const ARG & arg, const label_type & l = label_type());
template<typename ARG> SignedObservable(const std::string & name, std::string & s, const ARG & arg, const label_type & l = label_type());
~SignedObservable();
SignedObservable
public member functionsObservable * clone() const;
clones the observable
void operator<<(const value_type & x);
void add(const value_type & x);
void add(const value_type & x, sign_type s);
void write_hdf5(const boost::filesystem::path & fn_hdf, std::size_t realization = 0, std::size_t clone = 0) const;
void read_hdf5(const boost::filesystem::path & fn_hdf, std::size_t realization = 0, std::size_t clone = 0);
Copyright © 1994, 2002-2004, 2012 Matthias Troyer, Synge Todo, Maximilian Poprawe |