Skip to content

fabianwunder/beaver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BEAVER

BEAVERBetter Evaluate A Very Efficient Rational — is a special function library for fast and robust evaluation of logarithms, polylogarithms, and related functions appearing in high-energy physics codes.

The library is implemented in C++, double precision, as header-only files for easy integration into your projects.
See Citation for how to reference BEAVER in scientific work.


Implemented functions

  • Inverse tangent: beaver::atan(x)
  • Inverse tangent integral Ti₂(x): beaver::atanint(x)
  • Dilogarithm Li₂(x): beaver::dilog(x)
  • Natural logarithm ln(x): beaver::log(x)
  • Natural logarithm near unity ln(1+x): beaver::log1p(x)
  • Power xⁿ (integer exponent): beaver::pow(x, n)
  • Single-valued dilogarithm L₂(x): beaver::svdilog(x)
  • Trilogarithm Li₃(x): beaver::trilog(x)

Usage

Include all BEAVER functions in your project:

#include "beaver.hpp"

Citation

If you use BEAVER in scientific work, please cite:

J. Haug, F. Wunder
Single-valued representation of unpolarized and polarized semi-inclusive deep inelastic scattering at NNLO
arXiv:2508.00693

About

Better evaluate a very efficient rational: Dam fast with (poly-)logs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages