Changeset 3ff2cf in git
- Timestamp:
- May 9, 2014, 12:36:05 PM (10 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 082428606ab86c928fbf217217338a788f266009
- Parents:
- 86824086279291ea10cc7d98f86c05680d743c24
- git-author:
- Martin Lee <martinlee84@web.de>2014-05-09 12:36:05+02:00
- git-committer:
- Martin Lee <martinlee84@web.de>2014-05-12 14:35:03+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/facAlgFunc.cc
r868240 r3ff2cf 197 197 } 198 198 199 // sqr-free routine for algebraic extensions 200 // we need it! Ex.: f=c^2+2*a*c-1; as=[a^2+1]; f=(c+a)^2 201 //static CFFList alg_sqrfree( const CanonicalForm & f ) 202 //{ 203 // CFFList L; 204 // 205 // L.append(CFFactor(f,1)); 206 // return L; 207 //} 208 209 // Calculates a square free norm 210 // Input: f(x, alpha) a square free polynomial over K(alpha), 199 // Trager's square free norm algorithm: 200 // f a separable polynomial over K (alpha), 211 201 // alpha is defined by the minimal polynomial Palpha 212 // K has more than S elements (S is defined in thesis; look getDegOfExt) 202 // K need to contain more than S elements (S is defined in Messollen's thesis; 203 // see also getDegOfExt) 213 204 static CFFList 214 205 sqrf_norm_sub (const CanonicalForm & f, const CanonicalForm & PPalpha, … … 279 270 { 280 271 CFFList result; 281 if ( getCharacteristic() == 0)272 if (getCharacteristic() == 0) 282 273 { 283 274 IntGenerator myrandom; 284 275 result= sqrf_norm_sub (f, PPalpha, myrandom, s, g, R); 285 276 } 286 else if ( degree (Extension) > 0 ) // working over Extensions277 else if (degree (Extension) > 0) 287 278 { 288 279 AlgExtGenerator myrandom (Extension); … … 298 289 299 290 // calculate a "primitive element" 300 // K must have more than S elements (-> thesis, ->getDegOfExt)291 // K must have more than S elements (-> getDegOfExt) 301 292 static CFList 302 293 simpleExtension(CFList& backSubst, const CFList & Astar, … … 321 312 R=Bstar.getFirst(); 322 313 Bstar.removeFirst(); 323 for (CFListIterator i= Bstar; i.hasItem(); i++)314 for (CFListIterator i= Bstar; i.hasItem(); i++) 324 315 { 325 316 j= i;
Note: See TracChangeset
for help on using the changeset viewer.