|
PARTONS
|
PARtonic Tomography Of Nucleon Software
|
![]() |
LiSK - Library for Evaluating Classical Polylogarithms and Li_22. More...
Classes | |
| struct | constants |
| Constants. More... | |
Public Member Functions | |
| LiSK (const size_t n=4, const size_t prec=34) | |
| C'stor. More... | |
| numtype | Li22 (const numtype x, const numtype y) |
| Li22(x,y) More... | |
| numtype | Li (const size_t n, const numtype x) |
| Li(n,x) More... | |
| numtype | Li1 (const numtype x) |
| Li(n,x) More... | |
| numtype | Li2 (const numtype x) |
| Li(n,x) More... | |
| numtype | Li3 (const numtype x) |
| Li(n,x) More... | |
| numtype | Li4 (const numtype x) |
| Li(n,x) More... | |
Private Member Functions | |
| bool | _ErrorEstimate (const numtype &res, const numtype &prev_res, const numtype ¤t) const |
| ErrorEstimate. More... | |
| void | _init (const std::unordered_map< std::string, size_t > max_values) |
| Initialise constants. More... | |
| numtype | convert (const cln::cl_R &x) const |
| Convert CLN to desired type. More... | |
| template<typename T > | |
| T | _vec_max (std::vector< T > v) const |
| Maximum of vector entries. More... | |
| void | _HarmNum_extend () |
| Extend Harmonic numbers. More... | |
| void | _PosZeta_extend () |
| Extend positve Zeta values. More... | |
| void | _Factorials_extend () |
| Extend factorials. More... | |
| void | _BernNum_extend () |
| Extend Bernoulli numbers. More... | |
| void | _NegZeta_extend () |
| Negative zeta values. More... | |
| void | _LiCij_extend () |
| Extend Li constants LiCij. More... | |
| void | _LiBn_eq59_extend () |
| Extend Li constants LiBn_eq59. More... | |
| numtype | _Lin_1mexpal (const size_t n, const numtype &x) |
| Li_n(1-exp(-alpha)) More... | |
| numtype | _Li_sumBn (const numtype &precal, const numtype &al, const size_t n, const bool fac_2n=false, const bool sign=false) |
| Li sums. More... | |
| numtype | _Lin_basis (const size_t n, const numtype &x) |
| General Li_n(x) More... | |
| numtype | _Lin_inverse (const size_t n, const numtype &x) |
| Inversion formula for Li(n,x) More... | |
| numtype | _Lin_expal (const size_t n, const numtype &x) |
| All order Li_n(exp(-alpha)) More... | |
| numtype | Pow (const numtype &x, const int n) const |
| Power function. More... | |
| bool | is_zero (const numtype &x) const |
| Is_zero. More... | |
| numtype | _add_iep (const numtype &x) const |
| Add imaginary part. More... | |
| cln::cl_N | _adjustDigits (const cln::cl_N &x) const |
| Adjust digits. More... | |
| numtype | _Li22 (const numtype &x, const numtype &y) |
| Li22(x,y) More... | |
| numtype | _Li22_orig (const numtype &x, const numtype &y) const |
| Original Li22(x,y) More... | |
| numtype | _Li22_stuffle (const numtype &x, const numtype &y) |
| Stuffle relation for Li22(x,y) More... | |
| numtype | _Li22_inversion (const numtype &x, const numtype &y) |
| Inversion relation for Li22(x,y) More... | |
| cln::cl_R | Re (const cln::cl_N &x) const |
| Real part. More... | |
| double | Re (const std::complex< double > &x) const |
| Real part. More... | |
| numtype | _Li1 (const numtype &x) |
| Li(n,x) More... | |
| numtype | _Li2 (const numtype &x) |
| Li(n,x) More... | |
| numtype | _Li3 (const numtype &x) |
| Li(n,x) More... | |
| numtype | _Li4 (const numtype &x) |
| Li(n,x) More... | |
Private Attributes | |
| const unsigned | _step = 5 |
| Step size. More... | |
| const bool | _cln_tofloat = false |
| Enable/disable floating point conversion of constants. More... | |
| const std::unordered_map< std::string, size_t > | _user_max_values |
| User defined upper limits for various constants. More... | |
| const size_t | _prec |
| Precision value. More... | |
| const int | _offset = 2 |
| Small positive imaginary part. More... | |
| const cp_d | _iep_d |
| Small positive imaginary part. More... | |
| const cln::cl_N | _iep_clN |
| Small positive imaginary part. More... | |
| constants< numtype > | _constants |
| constants< cln::cl_R > | _constants_clR |
LiSK - Library for Evaluating Classical Polylogarithms and Li_22.
| LiSK::LiSK< numtype >::LiSK | ( | const size_t | n = 4, |
| const size_t | prec = 34 |
||
| ) |
C'stor.
| n | Prepare for polylogs of weight n |
| prec | Set precision when using CLN |
|
private |
Add imaginary part.
| x | Complex value |
|
inlineprivate |
Adjust digits.
| x | Complex value |
|
private |
Extend Bernoulli numbers.
|
private |
ErrorEstimate.
| res | Latest computed result |
| prev_res | In previous step computed result |
| current | Check current if zero |
|
private |
Extend factorials.
|
private |
Extend Harmonic numbers.
|
private |
Initialise constants.
| max_values | Map setting the maximum for each constant indicated by its key value. See constants::max_value |
|
private |
Li(n,x)
| n | Weight of classical polylogarithm |
| x | Point of evaluation |
|
private |
Li(n,x)
| n | Weight of classical polylogarithm |
| x | Point of evaluation |
|
private |
Li22(x,y)
| x | Point of evaluation |
| y | Point of evaluation |
|
private |
Inversion relation for Li22(x,y)
| x | Point of evaluation |
| y | Point of evaluation |
|
private |
Original Li22(x,y)
| x | Point of evaluation |
| y | Point of evaluation |
|
inlineprivate |
Stuffle relation for Li22(x,y)
| x | Point of evaluation |
| y | Point of evaluation |
|
private |
Li(n,x)
| n | Weight of classical polylogarithm |
| x | Point of evaluation |
|
private |
Li(n,x)
| n | Weight of classical polylogarithm |
| x | Point of evaluation |
|
private |
Li sums.
| precal | Terms to be added to sum |
| al | Accordingly mapped argument of Li_n(x). See eq.(5.9) and eq.(5.10) |
| n | Weight specifier Li_n |
| fac_2n | If true, each summand will be multiplied by 2m |
| sign | If true, the entire sum is multiplied by -1 |
|
private |
Extend Li constants LiBn_eq59.
|
private |
Extend Li constants LiCij.
|
private |
Li_n(1-exp(-alpha))
| n | Weight of Li_n |
| x | Point of evaluation, i.e. x=1-exp(-alpha) |
|
private |
General Li_n(x)
| x | Point of evaluation |
| n | Weight of Li_n |
|
private |
All order Li_n(exp(-alpha))
| n | Weight specifier Li_n |
| x | Point of evaluation, i.e. x=exp(-alpha) |
|
private |
Inversion formula for Li(n,x)
| x | Point of evaluation |
| n | Weight of Li_n |
|
private |
Negative zeta values.
|
private |
Extend positve Zeta values.
|
private |
Maximum of vector entries.
| v | Vector from which maximal value is determined, e.g. {x1,x2} |
|
private |
Convert CLN to desired type.
| x | Value to be converted |
|
private |
Is_zero.
| x | Complex number |
| numtype LiSK::LiSK< numtype >::Li | ( | const size_t | n, |
| const numtype | x | ||
| ) |
Li(n,x)
| n | Weight of classical polylogarithm |
| x | Point of evaluation |
| numtype LiSK::LiSK< numtype >::Li1 | ( | const numtype | x | ) |
Li(n,x)
| n | Weight of classical polylogarithm |
| x | Point of evaluation |
| numtype LiSK::LiSK< numtype >::Li2 | ( | const numtype | x | ) |
Li(n,x)
| n | Weight of classical polylogarithm |
| x | Point of evaluation |
| numtype LiSK::LiSK< numtype >::Li22 | ( | const numtype | x, |
| const numtype | y | ||
| ) |
Li22(x,y)
| x | Point of evaluation |
| y | Point of evaluation |
| numtype LiSK::LiSK< numtype >::Li3 | ( | const numtype | x | ) |
Li(n,x)
| n | Weight of classical polylogarithm |
| x | Point of evaluation |
| numtype LiSK::LiSK< numtype >::Li4 | ( | const numtype | x | ) |
Li(n,x)
| n | Weight of classical polylogarithm |
| x | Point of evaluation |
|
private |
Power function.
| x | Basis |
| n | Exponent |
|
inlineprivate |
Real part.
| x | Complex number |
|
inlineprivate |
Real part.
| x | Complex number |
|
private |
Enable/disable floating point conversion of constants.
|
private |
|
private |
|
private |
Small positive imaginary part.
|
private |
Small positive imaginary part.
|
private |
Small positive imaginary part.
|
private |
Precision value.
|
private |
Step size.
|
private |
User defined upper limits for various constants.