Chris@16: /* boost random/ranlux.hpp header file Chris@16: * Chris@16: * Copyright Jens Maurer 2002 Chris@16: * Distributed under the Boost Software License, Version 1.0. (See Chris@16: * accompanying file LICENSE_1_0.txt or copy at Chris@16: * http://www.boost.org/LICENSE_1_0.txt) Chris@16: * Chris@16: * See http://www.boost.org for most recent version including documentation. Chris@16: * Chris@101: * $Id$ Chris@16: * Chris@16: * Revision history Chris@16: * 2001-02-18 created Chris@16: */ Chris@16: Chris@16: #ifndef BOOST_RANDOM_RANLUX_HPP Chris@16: #define BOOST_RANDOM_RANLUX_HPP Chris@16: Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: Chris@16: namespace boost { Chris@16: Chris@16: namespace random { Chris@16: Chris@16: namespace detail { Chris@16: /** Chris@16: * The ranlux family of generators are described in Chris@16: * Chris@16: * @blockquote Chris@16: * "A portable high-quality random number generator for lattice field theory Chris@16: * calculations", M. Luescher, Computer Physics Communications, 79 (1994) Chris@16: * pp 100-110. Chris@16: * @endblockquote Chris@16: * Chris@16: * The levels are given in Chris@16: * Chris@16: * @blockquote Chris@101: * "RANLUX: A Fortran implementation of the high-quality Chris@16: * pseudorandom number generator of Luescher", F. James, Chris@16: * Computer Physics Communications 79 (1994) 111-114 Chris@16: * @endblockquote Chris@16: */ Chris@16: class ranlux_documentation {}; Chris@16: } Chris@16: Chris@16: typedef subtract_with_carry_engine ranlux_base; Chris@16: typedef subtract_with_carry_01_engine ranlux_base_01; Chris@16: typedef subtract_with_carry_01_engine ranlux64_base_01; Chris@16: Chris@16: Chris@16: /** @copydoc boost::random::detail::ranlux_documentation */ Chris@16: typedef discard_block_engine ranlux3; Chris@16: /** @copydoc boost::random::detail::ranlux_documentation */ Chris@16: typedef discard_block_engine ranlux4; Chris@16: Chris@16: /** @copydoc boost::random::detail::ranlux_documentation */ Chris@16: typedef discard_block_engine ranlux3_01; Chris@16: /** @copydoc boost::random::detail::ranlux_documentation */ Chris@16: typedef discard_block_engine ranlux4_01; Chris@16: Chris@16: /** @copydoc boost::random::detail::ranlux_documentation */ Chris@16: typedef discard_block_engine ranlux64_3_01; Chris@16: /** @copydoc boost::random::detail::ranlux_documentation */ Chris@16: typedef discard_block_engine ranlux64_4_01; Chris@16: Chris@16: #if !defined(BOOST_NO_INT64_T) && !defined(BOOST_NO_INTEGRAL_INT64_T) Chris@16: typedef subtract_with_carry_engine ranlux64_base; Chris@16: /** @copydoc boost::random::detail::ranlux_documentation */ Chris@16: typedef discard_block_engine ranlux64_3; Chris@16: /** @copydoc boost::random::detail::ranlux_documentation */ Chris@16: typedef discard_block_engine ranlux64_4; Chris@16: #endif /* !BOOST_NO_INT64_T && !BOOST_NO_INTEGRAL_INT64_T */ Chris@16: Chris@16: Chris@16: typedef subtract_with_carry_engine ranlux24_base; Chris@16: typedef subtract_with_carry_engine ranlux48_base; Chris@16: Chris@16: typedef discard_block_engine ranlux24; Chris@16: #if !defined(BOOST_NO_INT64_T) && !defined(BOOST_NO_INTEGRAL_INT64_T) Chris@16: typedef discard_block_engine ranlux48; Chris@16: #endif Chris@16: } Chris@16: Chris@16: using random::ranlux3; Chris@16: using random::ranlux4; Chris@16: using random::ranlux3_01; Chris@16: using random::ranlux4_01; Chris@16: using random::ranlux64_3_01; Chris@16: using random::ranlux64_4_01; Chris@16: #if !defined(BOOST_NO_INT64_T) && !defined(BOOST_NO_INTEGRAL_INT64_T) Chris@16: using random::ranlux64_3; Chris@16: using random::ranlux64_4; Chris@16: #endif Chris@16: Chris@16: } // namespace boost Chris@16: Chris@16: #endif // BOOST_RANDOM_LINEAR_CONGRUENTIAL_HPP