![]() |
Home | Libraries | License | Support | People | ALPS Web Site |
alps::uniform_on_sphere_n
// In header: <alps/random/uniform_on_sphere_n.h> template<int N, typename RealType = double, typename Cont = std::vector<RealType> > class uniform_on_sphere_n { public: // types typedef base_type::input_type input_type; typedef base_type::result_type result_type; // construct/copy/destruct uniform_on_sphere_n(); // public member functions BOOST_STATIC_CONSTANT(int, dim = N); void reset(); template<typename Engine> const result_type & operator()(Engine &); };
Copyright © 2006-2008 Brigitte Surer, Matthias Troyer |