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).


The recommended channel for community discussions is a forum. There are three categories Hipparchus annoucements, Hipparchus usage and Hipparchus development in the forum. Regular users should subscribe to the forum and configure their preferences to add these categories to the “Watched” list so they are notified when a new message appears there.


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.