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 an older version of Boost and was released in 2025. The current version is 1.90.0.
niederreiter_base2
// In header: <boost/random/niederreiter_base2.hpp> typedef niederreiter_base2_engine< boost::uint_least64_t, 64u, default_niederreiter_base2_table > niederreiter_base2;
![]() |
Important |
|---|---|
This specialization of niederreiter_base2_engine supports up to 4720 dimensions. |
Binary irreducible polynomials (primes in the ring GF(2)[X], evaluated at X=2) were generated while condition max(prime) < 216 was satisfied.
There are exactly 4720 such primes, which yields a Niederreiter base 2 table for 4720 dimensions.
However, it is possible to provide your own table to niederreiter_base2_engine should the default one be insufficient.