LatticeYangMills
|
Class providing interfaces for the RNG and other utilities. More...
#include <random.h>
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 |
Class providing interfaces for the RNG and other utilities.
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
|
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
epsilon | the weight of the offdiagonal terms |
Definition at line 118 of file random.cpp.