上QQ阅读APP看书,第一时间看更新
Math and stats libraries
The math support in the standard Java library is quite limited, and only includes methods such as log for computing the logarithm, exp for computing the exponent and other basic methods.
There are external libraries with richer support of mathematics. For example:
- Apache Commons Math (http://commons.apache.org/math/) for statistics, optimization, and linear algebra
- Apache Mahout (http://mahout.apache.org/) for linear algebra, also includes a module for distributed linear algebra and machine learning
- JBlas (http://jblas.org/) optimized and very fast linear algebra package that uses the BLAS library
Also, many machine learning libraries come with some extra math functionality, often linear algebra, stats, and optimization.