Macros | |
| #define | TESTDATADIR ".." |
Functions | |
| template<class ZT > | |
| int | test_test (ZZ_mat< ZT > &A) |
| Test the tester. More... | |
| template<class ZT > | |
| int | test_lll (ZZ_mat< ZT > &A, LLLMethod method, FloatType float_type, int flags=LLL_DEFAULT, int prec=0) |
| Test LLL reduction. More... | |
| template<class ZT > | |
| int | test_filename (const char *input_filename, LLLMethod method, FloatType float_type=FT_DEFAULT, int flags=LLL_DEFAULT, int prec=0) |
Test LLL for matrix stored in file pointed to by input_filename. More... | |
| template<class ZT > | |
| int | test_int_rel (int d, int b, LLLMethod method, FloatType float_type=FT_DEFAULT, int flags=LLL_DEFAULT, int prec=0) |
| Construct d × (d+1) integer relations matrix with bit size b and test LLL. More... | |
| int | main (int, char **) |
Macro Definition Documentation
◆ TESTDATADIR
| #define TESTDATADIR ".." |
Function Documentation
◆ main()
| int main | ( | int | , |
| char ** | |||
| ) |
◆ test_filename()
template<class ZT >
| int test_filename | ( | const char * | input_filename, |
| LLLMethod | method, | ||
| FloatType | float_type = FT_DEFAULT, |
||
| int | flags = LLL_DEFAULT, |
||
| int | prec = 0 |
||
| ) |
Test LLL for matrix stored in file pointed to by input_filename.
- Parameters
-
input_filename a path method LLL method to test float_type floating point type to test flags flags to use prec precision used for is_lll_reduced
- Returns
- zero on success
◆ test_int_rel()
template<class ZT >
| int test_int_rel | ( | int | d, |
| int | b, | ||
| LLLMethod | method, | ||
| FloatType | float_type = FT_DEFAULT, |
||
| int | flags = LLL_DEFAULT, |
||
| int | prec = 0 |
||
| ) |
Construct d × (d+1) integer relations matrix with bit size b and test LLL.
- Parameters
-
d dimension b bit size method LLL method to test float_type floating point type to test flags flags to use prec precision used for is_lll_reduced
- Returns
- zero on success
◆ test_lll()
template<class ZT >
| int test_lll | ( | ZZ_mat< ZT > & | A, |
| LLLMethod | method, | ||
| FloatType | float_type, | ||
| int | flags = LLL_DEFAULT, |
||
| int | prec = 0 |
||
| ) |
Test LLL reduction.
- Parameters
-
A test matrix method LLL method to test float_type floating point type to test flags flags to use prec precision used for is_lll_reduced
- Returns
- zero on success.
◆ test_test()
template<class ZT >
| int test_test | ( | ZZ_mat< ZT > & | A | ) |
Test the tester.
- Parameters
-
A
- Returns
- zero on success.
1.9.4