BernoulliNumbers Class Reference

A class for the Bernoulli numbers. More...

#include <BernoulliNumbers.h>

Inheritance diagram for BernoulliNumbers:
[legend]

Detailed Description

A class for the Bernoulli numbers.

Author
HEPfit Collaboration

This class handles the Bernoulli numbers, which are used to compute the trilogarithm function Polylogarithms::Li3() and the Clausen function of index three ClausenFunctions::Cl3. A list of the Bernoulli numbers can be found in [116].

Definition at line 27 of file BernoulliNumbers.h.

Public Member Functions

 BernoulliNumbers ()
 The default constructor. More...
 

Protected Attributes

double B [19]
 the Bernoulli numbers More...
 

Constructor & Destructor Documentation

BernoulliNumbers::BernoulliNumbers ( )

The default constructor.

Definition at line 11 of file BernoulliNumbers.cpp.

12 {
13  B[0] = 1.0; B[1] = -1.0/2.0; B[2] = 1.0/6.0; B[3] = 0.0;
14  B[4] = -1.0/30.0; B[5] = 0.0; B[6] = 1.0/42.0; B[7] = 0.0;
15  B[8] = -1.0/30.0; B[9] = 0.0; B[10] = 5.0/66.0; B[11] = 0.0;
16  B[12] = -691.0/2730.0; B[13] = 0.0; B[14] = 7.0/6.0; B[15] = 0.0;
17  B[16] = -3617.0/510.0; B[17] = 0.0; B[18] = 43867.0/798.0;
18 }
double B[19]
the Bernoulli numbers

Member Data Documentation

double BernoulliNumbers::B[19]
protected

the Bernoulli numbers

Definition at line 37 of file BernoulliNumbers.h.


The documentation for this class was generated from the following files: