SuanShu numerical library


SuanShu is a Java math library. It is open-source under Apache License 2.0 available in . SuanShu is a large collection of Java classes for basic numerical analysis, statistics, and optimization. It implements a parallel version of the adaptive strassen's algorithm for fast matrix multiplication. SuanShu has been quoted and used in a number of academic works.

Features

License terms

SuanShu is released under the terms of the Apache License 2.0

Examples of usage

The following code shows the object-oriented design of the library by a simple example of minimization.

LogGamma logGamma = new LogGamma; // the log-gamma function
BracketSearchMinimizer solver = new BrentMinimizer; // precision, max number of iterations
UnivariateMinimizer.Solution soln = solver.solve; // optimization
double x_min = soln.search; // bracket =
System.out.println = %f", x_min, logGamma.evaluate));