Lattice Tester Online Documentation 0.1.0-861
Software Package For Testing The Uniformity Of Integral Lattices In The Real Space
Loading...
Searching...
No Matches
Num.cc File Reference
#include "latticetester/Num.h"
#include <cmath>
#include <stdexcept>

Namespaces

namespace  LatticeTester
 Lattice namespace.
 

Macros

#define M_PI   3.1415926535897932384626433832795029L
 
#define M_EULER   0.57721566490153286060651209008240243104215933593992L
 
#define FACT_MAX   12
 

Functions

std::int64_t LatticeTester::lFactorial (int64_t t)
 Calculates \(t!\), the factorial of \(t\).
 
double LatticeTester::Harmonic (long n)
 
double LatticeTester::Harmonic2 (long n)
 
double LatticeTester::Digamma (double x)
 Returns the value of the logarithmic derivative of the Gamma function \(\psi(x) = \Gamma'(x) / \Gamma(x)\).
 
double LatticeTester::FourierC1 (double x, long n)
 
double LatticeTester::FourierE1 (double x, long n)
 
double LatticeTester::BernoulliPoly (int64_t n, double x)
 Evaluates the Bernoulli polynomial \(B_n(x)\) of degree \(n\) at \(x\).
 

Macro Definition Documentation

◆ FACT_MAX

#define FACT_MAX   12

◆ M_EULER

#define M_EULER   0.57721566490153286060651209008240243104215933593992L

◆ M_PI

#define M_PI   3.1415926535897932384626433832795029L