Lattice Tester Online Documentation unknown
Software Package For Testing The Uniformity Of Integral Lattices In The Real Space
Loading...
Searching...
No Matches
Num.h File Reference

This file implements some mathematical functions needed in some places. More...

Namespaces

namespace  LatticeTester
 LatticeTester namespace.
 

Functions

std::int64_t LatticeTester::lFactorial (int64_t t)
 Calculates \(t!\), the factorial of \(t\).
 
double LatticeTester::Digamma (double x)
 Returns the value of the logarithmic derivative of the Gamma function \(\psi(x) = \Gamma'(x) / \Gamma(x)\).
 
double LatticeTester::BernoulliPoly (int64_t n, double x)
 Evaluates the Bernoulli polynomial \(B_n(x)\) of degree \(n\) at \(x\).
 
double LatticeTester::Harmonic (std::int64_t n)
 Computes the \(n\)-th harmonic number \(H_n = \sum_{j=1}^n 1/j\).
 
double LatticeTester::Harmonic2 (std::int64_t n)
 Computes the sum.
 
double LatticeTester::FourierC1 (double x, std::int64_t n)
 Computes and returns the value of the series (see [5])
 
double LatticeTester::FourierE1 (double x, std::int64_t n)
 Computes and returns the value of the series.
 

Detailed Description

This file implements some mathematical functions needed in some places.