ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Class template uniform_on_sphere_n<2, RealType, Cont>

alps::uniform_on_sphere_n<2, RealType, Cont>

Synopsis

// In header: <alps/random/uniform_on_sphere_n.h>

template<typename RealType, typename Cont> 
class uniform_on_sphere_n<2, RealType, Cont> {
public:
  // types
  typedef RealType input_type; 
  typedef Cont     result_type;

  // construct/copy/destruct
  uniform_on_sphere_n();

  // public member functions
   BOOST_STATIC_CONSTANT(int, dim = 2);
  void reset();
  template<typename Engine> const result_type & operator()(Engine &);
};

Description

uniform_on_sphere_n public construct/copy/destruct

  1. uniform_on_sphere_n();

uniform_on_sphere_n public member functions

  1.  BOOST_STATIC_CONSTANT(int, dim = 2);
  2. void reset();
  3. template<typename Engine> const result_type & operator()(Engine & eng);
Copyright © 2006-2008 Brigitte Surer, Matthias Troyer

PrevUpHomeNext