APFEL 4.8.0
A PDF evolution library in C++
Loading...
Searching...
No Matches
Namespaces
specialfunctions.h File Reference
#include <vector>
#include <map>

Go to the source code of this file.

Namespaces

namespace  apfel
 Namespace for all APFEL++ functions and classes.
 

Functions

Fortran harmonic polylogarithms

Harmonic polylogarithms up to weight five

Parameters
xreal input argument
nwmaximum number of weights requested
Hr1weight 1 harmonic polylogs (1D array)
Hr2weight 2 harmonic polylogs (2D array)
Hr3weight 3 harmonic polylogs (3D array)
Hr4weight 4 harmonic polylogs (4D array)
Hr5weight 5 harmonic polylogs (5D array)
n1lower bound of the weight index requested
n2upper bound of the weight index requested
Note
This is just a suitably formatted wrapper of the original fortran function (see src/kernel/hplog.f) to facilitate the call of the harmonic logarithms from a C++ code.
double apfel::apf_hplog_ (double *wx, int *wnw, double *Hr1, double *Hr2, double *Hr3, double *Hr4, double *Hr5, int *wn1, int *wn2)
 
Special functions

Collection of special functions needed in the evaluation of some expressions.

double apfel::dilog (double const &x)
 Real dilogarithm $\mathrm{Li}_2(z)$.
 
double apfel::wgplg (int const &n, int const &p, double const &x)
 Function for the computation of the Nielsen's generalized dilogs.
 
double apfel::hpoly (std::vector< int > const &w, double const &x)
 Function for the computation of the Harmonic polylogs up to weight 5.
 
double apfel::digamma (double const &x)
 Digamma function.
 
int apfel::HPLogMap (std::vector< int > const &w)
 Function that returns the index to be used with unidimensional arrays returned by hplog_.
 
std::vector< int > apfel::UnpackWeights (std::vector< int > const &w)
 Function that returns the unpacked weights of the HPL given the input vector.