LLLReduction< ZT, FT > Class Template Reference

#include <lll.h>

Public Member Functions

 LLLReduction (MatGSOInterface< ZT, FT > &m, double delta, double eta, int flags)
 
 ~LLLReduction ()
 
bool lll (int kappa_min=0, int kappa_start=0, int kappa_end=-1, int size_reduction_start=0)
 LLL reduction. More...
 
bool size_reduction (int kappa_min=0, int kappa_end=-1, int size_reduction_start=0)
 Size reduction. More...
 

Data Fields

int status
 
int final_kappa
 
int last_early_red
 
int zeros
 
int n_swaps
 

Constructor & Destructor Documentation

◆ LLLReduction()

template<class ZT , class FT >
LLLReduction< ZT, FT >::LLLReduction ( MatGSOInterface< ZT, FT > &  m,
double  delta,
double  eta,
int  flags 
)

Constructor. The precision of FT must be defined before creating an instance of the class and must remain the same until the object is destroyed (or no longer needed).

◆ ~LLLReduction()

template<class ZT , class FT >
LLLReduction< ZT, FT >::~LLLReduction ( )
inline

Member Function Documentation

◆ lll()

template<class ZT , class FT >
bool LLLReduction< ZT, FT >::lll ( int  kappa_min = 0,
int  kappa_start = 0,
int  kappa_end = -1,
int  size_reduction_start = 0 
)

LLL reduction.

Parameters
kappa_minminimal index to go back to
kappa_startindex to start processing at
kappa_endend index (exclusive)
size_reduction_startonly perform size reductions using vectors starting at this index
Returns
success or failure (due to numerical instability)

◆ size_reduction()

template<class ZT , class FT >
bool LLLReduction< ZT, FT >::size_reduction ( int  kappa_min = 0,
int  kappa_end = -1,
int  size_reduction_start = 0 
)
inline

Size reduction.

Perform size reduction for all vectors between kappa_start and kappa_end.

Parameters
kappa_minstart index
kappa_endend index (exclusive)
size_reduction_startonly perform size reductions using vectors starting at this index
Returns
success or failure (due to numerical instability)

Field Documentation

◆ final_kappa

template<class ZT , class FT >
int LLLReduction< ZT, FT >::final_kappa

◆ last_early_red

template<class ZT , class FT >
int LLLReduction< ZT, FT >::last_early_red

◆ n_swaps

template<class ZT , class FT >
int LLLReduction< ZT, FT >::n_swaps

◆ status

template<class ZT , class FT >
int LLLReduction< ZT, FT >::status

◆ zeros

template<class ZT , class FT >
int LLLReduction< ZT, FT >::zeros

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