Apache Commons logo Apache Commons RNG

Apache Commons RNG: Random Numbers Generators

Commons RNG provides implementations of pseudo-random numbers generators that are either faster or of higher quality (and sometimes both) than java.util.Random.

The "core" module contains pure Java implementations of algorithms that generate pseudo-random sequences of numbers.

This module is not intended for direct use by applications. For instantiating a generator, application developers are advised to use the factory methods provided by the "commons-rng-simple" module.

The Javadoc is available for the benefit of developers who would like to contribute to this library.