Macros | |
| #define | TESTDATADIR ".." |
Functions | |
| template<class ZT > | |
| int | test_test (ZZ_mat< ZT > &A) |
| Test the tester. More... | |
| template<class ZT > | |
| int | test_hlll (ZZ_mat< ZT > &A, LLLMethod method, FloatType float_type, int flags=LLL_DEFAULT) |
| Test HLLL reduction. More... | |
| template<class ZT > | |
| int | test_filename (const char *input_filename, LLLMethod method, FloatType float_type=FT_DEFAULT, int flags=LLL_DEFAULT) |
Test HLLL 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) |
| 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 |
||
| ) |
Test HLLL 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
- Returns
- zero on success
◆ test_hlll()
template<class ZT >
| int test_hlll | ( | ZZ_mat< ZT > & | A, |
| LLLMethod | method, | ||
| FloatType | float_type, | ||
| int | flags = LLL_DEFAULT |
||
| ) |
Test HLLL reduction.
- Parameters
-
A test matrix method LLL method to test float_type floating point type to test flags flags to use
- 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 |
||
| ) |
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
- 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.
Should return 0, since the at this point of the program, A is not reduced.
1.9.4