Changeset fa470e in git
- Timestamp:
- Jan 9, 2014, 2:45:12 PM (10 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- ce6d1a6d88a8ba1991875ff81506304ecb7bbb10
- Parents:
- 87b94594069607a5ab9e57ef4d0949d46cd26b64
- git-author:
- Martin Lee <martinlee84@web.de>2014-01-09 14:45:12+01:00
- git-committer:
- Martin Lee <martinlee84@web.de>2014-01-27 16:12:23+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_factor.cc
r87b9459 rfa470e 20 20 #include "canonicalform.h" 21 21 #include "cf_iter.h" 22 #include "fac_berlekamp.h"23 #include "fac_cantzass.h"24 #include "fac_univar.h"25 22 #include "fac_multivar.h" 26 23 #include "fac_sqrfree.h" … … 493 490 #endif //HAVE_NTL 494 491 { // Use Factory without NTL 495 if ( isOn( SW_BERLEKAMP ) ) 496 F=FpFactorizeUnivariateB( f, issqrfree ); 497 else 498 F=FpFactorizeUnivariateCZ( f, issqrfree, 0, Variable(), Variable() ); 492 factoryError ("uniivariate factorization not implemented"); 493 return CFFList (CFFactor (f, 1)); 499 494 } 500 495 } … … 573 568 } 574 569 } 575 //if ( F.getFirst().factor().isOne() )576 //{577 // F.removeFirst();578 //}579 //printf("NTL:\n");out_cff(F);580 //F=ZFactorizeUnivariate( fz, issqrfree );581 //printf("fac.:\n");out_cff(F);582 570 } 583 571 #else 584 572 { 585 //Use Factory without NTL 586 //F = ZFactorizeUnivariate( fz, issqrfree ); 587 factoryError ("univariate factorization over Z not implemented"); 588 return CFFList (CFFactor (f, 1)); 573 factoryError ("univariate factorization over Z not implemented"); 574 return CFFList (CFFactor (f, 1)); 589 575 } 590 576 #endif … … 739 725 #endif 740 726 { 741 F=FpFactorizeUnivariateCZ( f, false, 1, alpha, Variable() ); 727 factoryError ("univariate factorization not implemented"); 728 return CFFList (CFFactor (f, 1)); 742 729 } 743 730 }
Note: See TracChangeset
for help on using the changeset viewer.