# About HepLib

**HepLib** is a C++ library for computations in *High Energy Physics* with the help of **GiNaC** language which is a C++ library used to perform symbolic computations.

**HepLib** combines several well-known packages to get high efficiency, including

* **Fermat** to perform multivariate polynomial simplification, matrix operators, ...
* **FORM** to perform *Dirac* and *Color* matrix related computations, polynomial factorization, ...
* **Qgraf** to generate the Feynman aptitudes/diagrams.
* **FIRE** or **KIRA** for the *IBP* reduction.

Another core feature of **HepLib** is the numerical evaluation of *Master Integrals* using *Sector Decomposition* with a customizable numerical integrator including the arbitrary precision supported by **MPFR**.

Reference: <https://doi.org/10.1016/j.cpc.2021.107982>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://heplib.gitbook.io/doc/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
