Changeset 9c0b20a in git for factory/cf_hnf.cc
- Timestamp:
- Nov 25, 2010, 4:11:10 PM (13 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 488872b51cd1fa36918b12c9c2476c1edff62026
- Parents:
- c512d93f75cc91a718679d4a03b14439936966e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_hnf.cc
rc512d9 r9c0b20a 19 19 #include <NTL/mat_ZZ.h> 20 20 #include <NTL/HNF.h> 21 #include <NTL/LLL.h> 21 22 22 23 // The input matrix A is an n x m matrix of rank m (so n >= m), and D … … 40 41 return convertNTLmat_ZZ2FacCFMatrix(WW); 41 42 } 43 CFMatrix* cf_LLL(CFMatrix& A) 44 { 45 mat_ZZ *AA=convertFacCFMatrix2NTLmat_ZZ(A); 46 LLL_RR(*AA); 47 delete AA; 48 CFMatrix *r= convertNTLmat_ZZ2FacCFMatrix(*AA); 49 delete AA; 50 return r; 51 } 42 52 #endif
Note: See TracChangeset
for help on using the changeset viewer.