Changeset 8b00ca in git
- Timestamp:
- Jul 14, 2014, 4:58:16 PM (9 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- b90a36f1c9a83b6e90583185b26f6c5730b47975
- Parents:
- 03f640f7f62621edbfe49fd44dd3646e7f33da1c
- git-author:
- Martin Lee <martinlee84@web.de>2014-07-14 16:58:16+02:00
- git-committer:
- Martin Lee <martinlee84@web.de>2014-07-17 12:07:11+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/clapsing.cc
r03f640 r8b00ca 124 124 G( convSingAPFactoryAP( g,a,r ) ); 125 125 res= convFactoryAPSingAP( gcd( F, G ),r ); 126 prune (a); 126 127 if (!b1) Off(SW_USE_QGCD); 127 128 } … … 235 236 } 236 237 res= convFactoryAPSingAP( GCD,r ); 238 prune (a); 237 239 if (!b1) Off(SW_USE_QGCD); 238 240 } … … 343 345 G( convSingAPFactoryAP( g,a,r ) ); 344 346 res= convFactoryAPSingAP( resultant( F, G, X ),r ); 347 prune (a); 345 348 } 346 349 else … … 497 500 pa=convFactoryAPSingAP(Fa,r); 498 501 pb=convFactoryAPSingAP(Gb,r); 502 prune (a); 499 503 } 500 504 else … … 556 560 G( convSingAPFactoryAP( g,a,r ) ); 557 561 res= convFactoryAPSingAP( F / G, r ); 562 prune (a); 558 563 } 559 564 else … … 745 750 } 746 751 } 752 if (r->cf->extRing!=NULL) 753 if (r->cf->extRing->qideal!=NULL) 754 prune (a); 747 755 if (e==0) 748 756 { … … 841 849 number old_lead_coeff=n_Copy(pGetCoeff(f), r->cf); 842 850 851 Variable a; 843 852 if (!rField_is_Zp(r) && !rField_is_Zp_a(r)) /* Q, Q(a) */ 844 853 { … … 894 903 CanonicalForm mipo=convSingPFactoryP(r->cf->extRing->qideal->m[0], 895 904 r->cf->extRing); 896 Variablea=rootOf(mipo);905 a=rootOf(mipo); 897 906 CanonicalForm F( convSingAPFactoryAP( f, a, r ) ); 898 907 if (rField_is_Zp_a(r)) … … 982 991 } 983 992 } 993 if (r->cf->extRing!=NULL) 994 if (r->cf->extRing->qideal!=NULL) 995 prune (a); 984 996 #ifndef SING_NDEBUG 985 997 if ((r->cf->extRing!=NULL) && (!p_IsConstantPoly(ff,r))) … … 1210 1222 number NN=NULL; 1211 1223 number old_lead_coeff=n_Copy(pGetCoeff(f), r->cf); 1224 Variable a; 1212 1225 1213 1226 if (!rField_is_Zp(r) && !rField_is_Zp_a(r)) /* Q, Q(a) */ … … 1261 1274 CanonicalForm mipo=convSingPFactoryP(r->cf->extRing->qideal->m[0], 1262 1275 r->cf->extRing); 1263 Variablea=rootOf(mipo);1276 a=rootOf(mipo); 1264 1277 CanonicalForm F( convSingAPFactoryAP( f, a, r ) ); 1265 1278 L= sqrFree (F); … … 1336 1349 } 1337 1350 } 1351 if (r->cf->extRing!=NULL) 1352 if (r->cf->extRing->qideal!=NULL) 1353 prune (a); 1338 1354 if (rField_is_Q_a(r) && (r->cf->extRing->qideal!=NULL)) 1339 1355 { … … 1794 1810 mipos->m[i]= convFactoryPSingTrP (replacevar (iter.getItem().minpoly(), alpha, x), r); 1795 1811 } 1812 if (!iter.getItem().minpoly().isOne()) 1813 prune (alpha); 1796 1814 numFactors += count; 1797 1815 }
Note: See TracChangeset
for help on using the changeset viewer.