ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Class template single_qn_site_state

alps::single_qn_site_state

Synopsis

// In header: <alps/model/sitestate.h>

template<typename I> 
class single_qn_site_state {
public:
  // types
  typedef half_integer< I > representation_type;
  typedef half_integer< I > quantumnumber_type; 
  typedef std::size_t       size_type;          

  // construct/copy/destruct
  single_qn_site_state();
  single_qn_site_state(representation_type);
  template<typename J> 
    single_qn_site_state(const std::vector< half_integer< J > > &);

  // public member functions
  operator representation_type() const;
  representation_type state() const;
  representation_type & state();
};

Description

single_qn_site_state public construct/copy/destruct

  1. single_qn_site_state();
  2. single_qn_site_state(representation_type x);
  3. template<typename J> 
      single_qn_site_state(const std::vector< half_integer< J > > & x);

single_qn_site_state public member functions

  1. operator representation_type() const;
  2. representation_type state() const;
  3. representation_type & state();
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext