commit | bd4c2258f3127817d3774a9a98690bcf97b12742 | [log] [tgz] |
---|---|---|
author | aherbert <aherbert@apache.org> | Thu Sep 26 13:15:07 2019 +0100 |
committer | aherbert <aherbert@apache.org> | Thu Sep 26 13:15:07 2019 +0100 |
tree | 5ff41cfb85bc7c3a67d1246f92796d7a25887074 | |
parent | 53ed4feb000eec73f024331abc8d99b4ece66a9e [diff] |
Updated user guide performance table. Manually re-ran any score with a high error so that score/error < 0.03. Updated the table to use the mean of 10 runs not the median. Checked scores using a correlation of nextFloat vs nextInt and nextDouble vs nextLong should be close to 1. Manually re-ran outliers to verify the timing results. Fixed outlier MSWS. It should be the fastest int generator (results already stated it is the fastest float generator). The PCG RR variants are verified outliers (slower then expected) for nextFloat generation. Final table: double vs long R^2 = 0.9934 float vs int R^2 = 0.9831
The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators.
More information can be found on the Apache Commons RNG homepage. The Javadoc for each of the modules can be browsed:
Questions related to the usage of Apache Commons RNG should be posted to the user mailing list.
You can download source and binaries from our download page.
Alternatively you can pull it from the central Maven repositories, e.g.:
<dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-rng-simple</artifactId> <version>1.2</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-rng-sampling</artifactId> <version>1.2</version> </dependency>
We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors. There are some guidelines which will make applying PRs easier for us:
mvn clean test
.If you plan to contribute on a regular basis, please consider filing a contributor license agreement. You can learn more about contributing via GitHub in our contribution guidelines.
This code is under the Apache Licence v2.
See the NOTICE.txt
file for required notices and attributions.
You like Apache Commons RNG? Then donate back to the ASF to support the development.
#apache-commons
IRC channel on irc.freenode.org