Changeset fd5b3a in git
- Timestamp:
- Jun 28, 2010, 1:35:53 PM (13 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 6720a11e15dfab1542b96233c960ac929f64c058
- Parents:
- 408edb3114918e2d3fc0bbcaae6914f6245af886
- Location:
- factory
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/facFqBivar.cc
r408edb rfd5b3a 932 932 // the recombination process 933 933 int factorNums= 5; 934 if (factorNums < (int) ilog2 (totaldegree (A))) 935 factorNums= (int) ilog2 (totaldegree (A)); 934 double logarithm= (double) ilog2 (totaldegree (A)); 935 logarithm /= log2exp; 936 logarithm= ceil (logarithm); 937 if (factorNums < (int) logarithm) 938 factorNums= (int) logarithm; 936 939 for (int i= 0; i < factorNums; i++) 937 940 { -
factory/facFqBivar.h
r408edb rfd5b3a 31 31 #include "facFqSquarefree.h" 32 32 33 extern const double log2exp= 1.442695041; 34 33 35 /// Factorization of a squarefree bivariate polynomials over an arbitrary finite 34 36 /// field, information on the current field we work over is in @a info. @a info -
factory/facFqFactorize.cc
r408edb rfd5b3a 505 505 506 506 int factorNums= 5; 507 if (factorNums < (int) ilog2 (totaldegree (A))) 508 factorNums= (int) ilog2 (totaldegree (A)); 507 double logarithm= (double) ilog2 (totaldegree (A)); 508 logarithm /= log2exp; 509 logarithm= ceil (logarithm); 510 if (factorNums < (int) logarithm) 511 factorNums= (int) logarithm; 509 512 for (int i= 0; i < factorNums; i++) 510 513 { … … 1774 1777 CanonicalForm evalPoly; 1775 1778 int lift, bufLift; 1776 if (factorNums < (int) ilog2 (totaldegree (A))) 1777 factorNums= (int) ilog2 (totaldegree (A)); 1779 double logarithm= (double) ilog2 (totaldegree (A)); 1780 logarithm /= log2exp; 1781 logarithm= ceil (logarithm); 1782 if (factorNums < (int) logarithm) 1783 factorNums= (int) logarithm; 1778 1784 // several bivariate factorizations 1779 1785 for (int i= 0; i < factorNums; i++) -
factory/facFqFactorize.h
r408edb rfd5b3a 27 27 #include "facFqSquarefree.h" 28 28 #include "facFqBivarUtil.h" 29 30 extern const double log2exp; 29 31 30 32 /// Factorization over a finite field
Note: See TracChangeset
for help on using the changeset viewer.