LatMRG Guide  1.0
A software package to test and search for new linear congruential random number generators
LatMRG::Merit Namespace Reference

The methods in this namespace can compute the merit of a reduced lattice for a given projection and return it as a Dbl. More...

Functions

template<typename Lat >
Lat::Dbl meritB (Lat &lat)
 Computes the Beyer ratio. More...
 
template<typename Lat >
Lat::Dbl meritL (Lat &lat)
 Computes the length of the shortest vector in the lattice. More...
 
template<typename Lat >
Lat::Dbl meritS (Lat &lat, LatticeTester::Normalizer< typename Lat::Dbl > *norma)
 Computes the value of the spectral test normalized with norma. More...
 

Detailed Description

The methods in this namespace can compute the merit of a reduced lattice for a given projection and return it as a Dbl.

Function Documentation

◆ meritB()

template<typename Lat >
Lat::Dbl LatMRG::Merit::meritB ( Lat &  lat)

Computes the Beyer ratio.

Todo:
implement this

◆ meritL()

template<typename Lat >
Lat::Dbl LatMRG::Merit::meritL ( Lat &  lat)

Computes the length of the shortest vector in the lattice.

◆ meritS()

template<typename Lat >
Lat::Dbl LatMRG::Merit::meritS ( Lat &  lat,
LatticeTester::Normalizer< typename Lat::Dbl > *  norma 
)

Computes the value of the spectral test normalized with norma.