Changeset 4946e3 in git for factory/facAbsBiFact.cc
- Timestamp:
- Jul 3, 2020, 1:03:03 PM (3 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 175dfbe8022a34e8c7eab0e37ca15b932dbcb243
- Parents:
- f3adf3a165dd0f173fe615a55624a41ff34bdddb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/facAbsBiFact.cc
rf3adf3 r4946e3 206 206 } 207 207 208 #ifdef HAVE_NTL 208 #ifdef HAVE_NTL // henselLiftAndEarly 209 209 //G is assumed to be bivariate, irreducible over Q, primitive wrt x and y, compressed 210 210 CFAFList absBiFactorizeMain (const CanonicalForm& G, bool full) … … 519 519 } 520 520 521 #ifdef HAVE_FLINT 522 fmpz_mat_t FLINTM; 523 convertFacCFMatrix2Fmpz_mat_t(FLINTM,*M); 524 fmpq_t delta,eta; 525 fmpq_init(delta); fmpq_set_si(delta,1,1); 526 fmpq_init(eta); fmpq_set_si(eta,3,4); 527 fmpz_mat_transpose(FLINTM,FLINTM); 528 fmpz_mat_lll_storjohann(FLINTM,delta,eta); 529 fmpz_mat_transpose(FLINTM,FLINTM); 530 delete M; 531 M=convertFmpz_mat_t2FacCFMatrix(FLINTM); 532 fmpz_mat_clear(FLINTM); 533 #elif defined(HAVE_NTL) 521 534 mat_ZZ * NTLM= convertFacCFMatrix2NTLmat_ZZ (*M); 522 535 … … 529 542 M= convertNTLmat_ZZ2FacCFMatrix (*NTLM); 530 543 delete NTLM; 544 #endif 531 545 532 546 mipo= 0;
Note: See TracChangeset
for help on using the changeset viewer.