Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Type definition lagged_fibonacci2281

lagged_fibonacci2281

Synopsis

// In header: <boost/random/lagged_fibonacci.hpp>


typedef lagged_fibonacci_01_engine< double, 48, 2281, 1252 > lagged_fibonacci2281;

Description

The specializations lagged_fibonacci607 ... lagged_fibonacci44497 use well tested lags.

See

"On the Periods of Generalized Fibonacci Recurrences", Richard P. Brent Computer Sciences Laboratory Australian National University, December 1992

The lags used here can be found in

"Uniform random number generators for supercomputers", Richard Brent, Proc. of Fifth Australian Supercomputer Conference, Melbourne, Dec. 1992, pp. 704-706.


PrevUpHomeNext