Hipparchus: a mathematics Library

Hipparchus is a library of lightweight, self-contained mathematics and statistics components addressing the most common problems not available in the Java programming language.


Hipparchus is a large library, so it has been split into several modules. Users can select only the modules they need and developers can update modules more easily and more often than would be possible in a large monolithic library.

  • Real-world application use cases determine development priority.
  • This package emphasizes small, easily integrated components rather than large libraries with complex dependencies and configurations.
  • All algorithms are fully documented and follow generally accepted best practices.
  • In situations where multiple standard algorithms exist, a Strategy pattern is used to support multiple implementations.
  • Limited dependencies. No external dependencies beyond the core Java platform (at least Java 1.8 starting with version 1.0 of the library).


Hipparchus started as a fork of Apache Commons Math. The fork was initiated by most of the main developers and a few contributors of Apache Commons Math.

Version 1.0 of Hipparchus is therefore very similar to Apache Commons Math 3.6.1 with some elements of the development version that would ultimately lead to Apache Commons Math 4.0 which was not released at fork time.

Back to top

Reflow Maven skin by Andrius Velykis.