Changeset 50a2aa9 in git
- Timestamp:
- Jun 21, 2011, 12:42:12 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 64e7cb73f028e3866617e41d55fd0265168a395d
- Parents:
- 8c1a84580fcaf92907fa2c80e52eec3de2d8a5c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/facAlgExt.cc
r8c1a84 r50a2aa9 50 50 CanonicalForm mipo= getMipo (alpha); 51 51 mipo= mipo (x, alpha); 52 mipo *= bCommonDen (mipo); 52 53 53 54 int degg= degree (g); … … 72 73 { 73 74 g= F (y - i*alpha, y); 75 g *= bCommonDen (g); 74 76 if (degg >= 8 || degmipo >= 8) 75 77 norm= resultantZ (g (x, alpha), mipo, x); … … 80 82 { 81 83 g= F (y + i*alpha, y); 84 g *= bCommonDen (g); 82 85 if (degg >= 8 || degmipo >= 8) 83 86 norm= resultantZ (g (x, alpha), mipo, x); … … 109 112 CanonicalForm norm= sqrfNorm (f, alpha, shift); 110 113 ASSERT (degree (norm, alpha) <= 0, "wrong norm computed"); 111 CFFList normFactors= factorize (norm); //maybe compute norm (not necessarily squarefree), split f and procede recursively114 CFFList normFactors= factorize (norm); 112 115 CFList factors; 113 116 if (normFactors.length() <= 2) … … 151 154 CFList sqrfFactors= AlgExtSqrfFactorize (sqrf, alpha); 152 155 153 if (!isOn (SW_RATIONAL))154 156 bool save_rat=!isOn (SW_RATIONAL); 157 On (SW_RATIONAL); 155 158 CanonicalForm buf= F/Lc (F); 156 159 CFFList factors; … … 169 172 factors.insert (CFFactor (Lc(F), 1)); 170 173 ASSERT (degree (buf) <= 0, "bug in AlgExtFactorize"); 174 if (save_rat) Off(SW_RATIONAL); 171 175 return factors; 172 176 }
Note: See TracChangeset
for help on using the changeset viewer.