Commons Math is a library of lightweight, self-contained mathematics and statistics components addressing the most common problems not available in the Java programming language or Commons Lang.
It provides implementations of major mathematical algorithms concerning statistics, linear algebra, differential equations, optimization, root finding ...