APFEL 4.8.0
A PDF evolution library in C++
Loading...
Searching...
No Matches
specialfunctions.h
Go to the documentation of this file.
1//
2// APFEL++ 2017
3//
4// Author: Valerio Bertone: valerio.bertone@cern.ch
5//
6
7#pragma once
8
9#include <vector>
10#include <map>
11
12namespace apfel
13{
30 extern "C"
31 {
32 double apf_hplog_(double *wx, int *wnw, double *Hr1, double *Hr2, double *Hr3, double *Hr4, double *Hr5, int *wn1, int *wn2);
33 }
34
41
47 double dilog(double const& x);
48
57 double wgplg(int const& n, int const& p, double const& x);
58
69 double hpoly(std::vector<int> const& w, double const& x);
70
78 double digamma(double const& x);
79
85 int HPLogMap(std::vector<int> const& w);
86
92 std::vector<int> UnpackWeights(std::vector<int> const& w);
94}
Namespace for all APFEL++ functions and classes.
Definition alphaqcd.h:14
int HPLogMap(std::vector< int > const &w)
Function that returns the index to be used with unidimensional arrays returned by hplog_.
double dilog(double const &x)
Real dilogarithm .
double digamma(double const &x)
Digamma function.
double apf_hplog_(double *wx, int *wnw, double *Hr1, double *Hr2, double *Hr3, double *Hr4, double *Hr5, int *wn1, int *wn2)
double hpoly(std::vector< int > const &w, double const &x)
Function for the computation of the Harmonic polylogs up to weight 5.
std::vector< int > UnpackWeights(std::vector< int > const &w)
Function that returns the unpacked weights of the HPL given the input vector.
double wgplg(int const &n, int const &p, double const &x)
Function for the computation of the Nielsen's generalized dilogs.