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 >
|
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_min minimal index to go back to kappa_start index to start processing at kappa_end end index (exclusive) size_reduction_start only perform size reductions using vectors starting at this index
- Returns
- success or failure (due to numerical instability)
◆ size_reduction()
template<class ZT , class FT >
|
inline |
Size reduction.
Perform size reduction for all vectors between kappa_start and kappa_end.
- Parameters
-
kappa_min start index kappa_end end index (exclusive) size_reduction_start only 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:
1.9.4