X-Git-Url: https://git.donarmstrong.com/?p=rsem.git;a=blobdiff_plain;f=boost%2Frandom%2Franlux.hpp;h=88476665cf1f6bb03e751391c8f11cbea856687b;hp=2faa1cc2dedd7456886c66a26ce25a477ecce1c6;hb=2d71eb92104693ca9baa5a2e1c23eeca776d8fd3;hpb=da57529b92adbb7ae74a89861cb39fb35ac7c62d diff --git a/boost/random/ranlux.hpp b/boost/random/ranlux.hpp index 2faa1cc..8847666 100644 --- a/boost/random/ranlux.hpp +++ b/boost/random/ranlux.hpp @@ -7,7 +7,7 @@ * * See http://www.boost.org for most recent version including documentation. * - * $Id: ranlux.hpp 60755 2010-03-22 00:45:06Z steven_watanabe $ + * $Id: ranlux.hpp 71018 2011-04-05 21:27:52Z steven_watanabe $ * * Revision history * 2001-02-18 created @@ -23,12 +23,7 @@ namespace boost { namespace random { - typedef subtract_with_carry ranlux_base; - typedef subtract_with_carry_01 ranlux_base_01; - typedef subtract_with_carry_01 ranlux64_base_01; -} -namespace random { namespace detail { /** * The ranlux family of generators are described in @@ -49,33 +44,56 @@ namespace detail { */ class ranlux_documentation {}; } -} + +typedef subtract_with_carry_engine ranlux_base; +typedef subtract_with_carry_01_engine ranlux_base_01; +typedef subtract_with_carry_01_engine ranlux64_base_01; + /** @copydoc boost::random::detail::ranlux_documentation */ -typedef random::discard_block ranlux3; +typedef discard_block_engine ranlux3; /** @copydoc boost::random::detail::ranlux_documentation */ -typedef random::discard_block ranlux4; +typedef discard_block_engine ranlux4; /** @copydoc boost::random::detail::ranlux_documentation */ -typedef random::discard_block ranlux3_01; +typedef discard_block_engine ranlux3_01; /** @copydoc boost::random::detail::ranlux_documentation */ -typedef random::discard_block ranlux4_01; +typedef discard_block_engine ranlux4_01; /** @copydoc boost::random::detail::ranlux_documentation */ -typedef random::discard_block ranlux64_3_01; +typedef discard_block_engine ranlux64_3_01; /** @copydoc boost::random::detail::ranlux_documentation */ -typedef random::discard_block ranlux64_4_01; +typedef discard_block_engine ranlux64_4_01; #if !defined(BOOST_NO_INT64_T) && !defined(BOOST_NO_INTEGRAL_INT64_T) -namespace random { - typedef random::subtract_with_carry ranlux64_base; -} +typedef subtract_with_carry_engine ranlux64_base; /** @copydoc boost::random::detail::ranlux_documentation */ -typedef random::discard_block ranlux64_3; +typedef discard_block_engine ranlux64_3; /** @copydoc boost::random::detail::ranlux_documentation */ -typedef random::discard_block ranlux64_4; +typedef discard_block_engine ranlux64_4; #endif /* !BOOST_NO_INT64_T && !BOOST_NO_INTEGRAL_INT64_T */ + +typedef subtract_with_carry_engine ranlux24_base; +typedef subtract_with_carry_engine ranlux48_base; + +typedef discard_block_engine ranlux24; +#if !defined(BOOST_NO_INT64_T) && !defined(BOOST_NO_INTEGRAL_INT64_T) +typedef discard_block_engine ranlux48; +#endif +} + +using random::ranlux3; +using random::ranlux4; +using random::ranlux3_01; +using random::ranlux4_01; +using random::ranlux64_3_01; +using random::ranlux64_4_01; +#if !defined(BOOST_NO_INT64_T) && !defined(BOOST_NO_INTEGRAL_INT64_T) +using random::ranlux64_3; +using random::ranlux64_4; +#endif + } // namespace boost #endif // BOOST_RANDOM_LINEAR_CONGRUENTIAL_HPP