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
LLL_XD_lt.cc File Reference
#include <NTL/fileio.h>
#include <NTL/xdouble.h>
#include <NTL/vec_xdouble.h>
#include <NTL/vec_double.h>
#include <NTL/LLL.h>
#include <latticetester/LLL_lt.h>

Functions

static NTL_START_IMPL xdouble InnerProduct (xdouble *a, xdouble *b, long n)
 
static void RowTransform (vec_ZZ &A, vec_ZZ &B, const ZZ &MU1)
 
static void RowTransform2 (vec_ZZ &A, vec_ZZ &B, const ZZ &MU1)
 
static void ComputeGS (mat_ZZ &B, xdouble **B1, xdouble **mu, xdouble *b, xdouble *c, long k, xdouble bound, long st, xdouble *buf)
 
 NTL_TLS_GLOBAL_DECL_INIT (xdouble, red_fudge,(to_xdouble(0))) static NTL_CHEAP_THREAD_LOCAL long log_red=0
 
static void init_red_fudge ()
 
static void inc_red_fudge ()
 
static long ll_LLL_XD (mat_ZZ &B, mat_ZZ *U, xdouble delta, long deep, LLLCheckFct check, xdouble **B1, xdouble **mu, xdouble *b, xdouble *c, long m, long init_k, long &quit)
 
long LLL_XD_lt (mat_ZZ &BB, double delta, long m, long n, vec_xdouble *sqlen)
 
static void ComputeBKZConstant (long beta, long p)
 
static void ComputeBKZThresh (xdouble *c, long beta)
 
long BKZ_XD_lt (mat_ZZ &BB, const xdouble delta, long beta, long prune, long m, long n, vec_xdouble *sqlen)
 
long BKZ_XD_lt (mat_ZZ &BB, double delta, long beta, long prune, long m, long n, vec_xdouble *sqlen)
 This function is similar to BKZ_XD in NTL, with the same modifications as in LLL_FPInt above.
 

Variables

static NTL_CHEAP_THREAD_LOCAL unsigned long NumSwaps = 0
 

Function Documentation

◆ BKZ_XD_lt() [1/2]

long BKZ_XD_lt ( mat_ZZ & BB,
const xdouble delta,
long beta,
long prune,
long m,
long n,
vec_xdouble * sqlen )

◆ BKZ_XD_lt() [2/2]

long BKZ_XD_lt ( mat_ZZ & BB,
double delta,
long beta,
long prune,
long m,
long n,
vec_xdouble * sqlen )

This function is similar to BKZ_XD in NTL, with the same modifications as in LLL_FPInt above.

◆ ComputeBKZConstant()

static void ComputeBKZConstant ( long beta,
long p )
static

◆ ComputeBKZThresh()

static void ComputeBKZThresh ( xdouble * c,
long beta )
static

◆ ComputeGS()

static void ComputeGS ( mat_ZZ & B,
xdouble ** B1,
xdouble ** mu,
xdouble * b,
xdouble * c,
long k,
xdouble bound,
long st,
xdouble * buf )
static

◆ inc_red_fudge()

static void inc_red_fudge ( )
static

◆ init_red_fudge()

static void init_red_fudge ( )
static

◆ InnerProduct()

static NTL_START_IMPL xdouble InnerProduct ( xdouble * a,
xdouble * b,
long n )
static

◆ ll_LLL_XD()

static long ll_LLL_XD ( mat_ZZ & B,
mat_ZZ * U,
xdouble delta,
long deep,
LLLCheckFct check,
xdouble ** B1,
xdouble ** mu,
xdouble * b,
xdouble * c,
long m,
long init_k,
long & quit )
static

◆ LLL_XD_lt()

long LLL_XD_lt ( mat_ZZ & BB,
double delta,
long m,
long n,
vec_xdouble * sqlen )

◆ NTL_TLS_GLOBAL_DECL_INIT()

NTL_TLS_GLOBAL_DECL_INIT ( xdouble ,
red_fudge ,
(to_xdouble(0))  )
pure virtual

◆ RowTransform()

static void RowTransform ( vec_ZZ & A,
vec_ZZ & B,
const ZZ & MU1 )
static

◆ RowTransform2()

static void RowTransform2 ( vec_ZZ & A,
vec_ZZ & B,
const ZZ & MU1 )
static

Variable Documentation

◆ NumSwaps

NTL_CHEAP_THREAD_LOCAL unsigned long NumSwaps = 0
static