## MathCore library

MathCore provides a collection of functions, C++ classes for numerical calculations. It provides the basic and minimal functionality, while more advanced mathematical functionality is provided by the MathMore library. The current set includes classes and functions for:

- Basic special functions used in HEP like the gamma, beta and error function.
- Statistical functions : mathematical functions used in statistics, such as the probability density functions, the cumulative distributions functions (lower and upper integral of the pdf's) and their inverses (quantile functions) for continuous and discrete distributions.
- Function Classes and Interfaces : Interfaces for generic functions in one and multi dimensions, including helper class to wrap free (static) and non-static member functions.
- Numerical algorithms: user classes with (in some cases) basic implementations for:
  - Numerical Integration;
  - Numerical Differentiation;
  - Root-Finding methods;
  - One-dimensional and multi-dimensional Minimization.
- Classes for fitting and parameter estimation from a given data set.

Classes and functions are provided in the namespace ROOT::Math or ROOT::Fit in the case of the fitting classes.

From the release 5.20, the GenVector (physics and geometry vector) package is not anymore part of MathCore, but it belongs to a separate library (libGenVector).
MathCore contains instead now classes which were originally part of libCore. These include:

- `TMath`: namespace with mathematical functions and basic function algorithms.
- `TComplex`: class for complex numbers.
- Random classes: base class `TRandom` and the derived classes `TRandom1`, `TRandom2` and `TRandom3`), implementing the pseudo-random number generators.

See also:

- Online doc for MathCore.
- ROOT Mathematical Libraries Web pages.
- The Math Chapter in the Users Guide describing in detail the MathCore functions and classes.

N.B.: For consulting the reference MathCore documentation it is strongly recommended to look at these online doc. The class documentation shown from the class links below is not complete, it is missing some template methods.

Last modified: Thu Mar 5 20:44:45 CET 2009