Logo ROOT  
Reference Guide
MathCore Library

MathCore provides a collection of functions and C++ classes for HEP numerical computing. This library provides only the basic mathematical functions and algorithms and not all the functionality required by the HEP community. More advanced mathematical functionalities is provided by the MathMore. The current set includes classes and functions for:

Note that in this latest release the GenVector (physics and geometry vectors for 2,3 and 4 dimensions with their transformations) is not anymore part of MathCore, but is built as a separate library.
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.
  • Other classes, such as