LatticeYangMills
Static Public Member Functions | Static Private Attributes | List of all members
Random Class Reference

Class providing interfaces for the RNG and other utilities. More...

#include <random.h>

Collaboration diagram for Random:
Collaboration graph
[legend]

Static Public Member Functions

static double randUniform ()
 returns a number from a uniform distribution between 0 and 1
 
static SU3 randSU3 ()
 returns random SU3 matrix, by choosing 2 random complex vectors as the first two columns, orthogonalizing them and taking the outer product as a third column
 
static SU3 randSU3Transf (double epsilon)
 returns a random SU3 element with controlled spread around the unity matrix. More...
 

Static Private Attributes

static std::random_device rd
 
static boost::random::mt19937 randomGen
 
static boost::random::uniform_real_distribution< double > randomUniformInterval
 

Detailed Description

Class providing interfaces for the RNG and other utilities.

Author
Giovanni Pederiva
Version
1.0
Date
2017-2018

The Random statice class proides functions to access the RNG giving different distributions, as well as providing an implementation for random \(SU(3)\) group elements

Definition at line 52 of file random.h.

Member Function Documentation

SU3 Random::randSU3Transf ( double  epsilon)
static

returns a random SU3 element with controlled spread around the unity matrix.

Returns a random SU3 element with controlled spread around the unity matrix. as described in Gattringer & Lang "Quantum Chromodynamics on the Lattice". Three SU2 random matrices, constructing using 4 coefficients and the pauli matrices are built and embedded into three SU3 matrices. The product of theses three is returned as the result

Parameters
epsilonthe weight of the offdiagonal terms

Definition at line 118 of file random.cpp.


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