Uncommons Maths 1.1: Java Random Number Generators and Mathematical Utility Classes

Posted in Java by Dan on August 22nd, 2008

Uncommons Maths is a set of Java classes for working with random numbers, combinatorics and basic statistics.  The random number package is its most compelling feature, providing three advanced random number generators and support for several probability distributions (see A Java Programmer’s Guide to Random Numbers for more info, or have a play with the demo application).

It’s been a while since the initial release.  During this time I’ve made several minor tweaks and enhancements that I probably ought to share, so I’ve just uploaded a version 1.1 to Java.net.

If you are an existing user, please consult the changelog.  There is one change since version 1.0.2 that may cause backwards compatibility issues.  The combinatorics and number classes have been moved to their own packages to avoid cluttering the org.uncommons.maths base package.  So you made need to update your import statements accordingly (see the API documentation).