Changeset ac6a48 in git
- Timestamp:
- Feb 2, 2024, 11:57:56 AM (3 months ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 50cf75971fae4a3d60736a2f37acd8ad9bc752ea
- Parents:
- 04cc5da7e5ea83aed70148b8e57df1dc0ad7f5ca
- Location:
- kernel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/syz.cc
r04cc5d rac6a48 228 228 /*--makes Gauss alg. for the column ModComp--*/ 229 229 pTakeOutComp(&(actWith), ModComp, &unit1, &lu); 230 while (from<till) 231 { 232 poly tmp=syz->m[from]; 233 if (/*syz->m[from]*/ tmp!=NULL) 234 { 235 pTakeOutComp(&(tmp), ModComp, &unit2, &lu); 236 tmp = pMult(pCopy(unit1),tmp); 237 syz->m[from] = pSub(tmp, 238 pMult(unit2,pCopy(actWith))); 239 } 240 from++; 230 if (lu==1) /*p_IsConstantComp(unit1,currRing)*/ 231 { 232 number n_unit1=pGetCoeff(unit1); 233 while (from<till) 234 { 235 poly tmp=syz->m[from]; 236 if (/*syz->m[from]*/ tmp!=NULL) 237 { 238 pTakeOutComp(&tmp, ModComp, &unit2, &lu); 239 tmp = p_Mult_nn(tmp,n_unit1,currRing); 240 syz->m[from] = pSub(tmp, 241 pMult(unit2,pCopy(actWith))); 242 } 243 from++; 244 } 245 } 246 else 247 { 248 while (from<till) 249 { 250 poly tmp=syz->m[from]; 251 if (/*syz->m[from]*/ tmp!=NULL) 252 { 253 pTakeOutComp(&tmp, ModComp, &unit2, &lu); 254 tmp = pMult(pCopy(unit1),tmp); 255 syz->m[from] = pSub(tmp, 256 pMult(unit2,pCopy(actWith))); 257 } 258 from++; 259 } 241 260 } 242 261 pDelete(&actWith); -
kernel/GBEngine/syz1.cc
r04cc5d rac6a48 1643 1643 { 1644 1644 int i,j,l; 1645 poly p,q,tq;1646 1645 polyset ri1; 1647 1646 resolvente fullres; … … 1662 1661 for (j=IDELEMS(res[i])-1;j>=0;j--) 1663 1662 { 1664 p = res[i]->m[j];1665 q = NULL;1663 sBucket_pt bucket = sBucketCreate(currRing); 1664 poly p = res[i]->m[j]; 1666 1665 while (p!=NULL) 1667 1666 { 1667 poly tq; 1668 1668 if (toCopy) 1669 1669 { … … 1702 1702 pSetm(tq); 1703 1703 pTest(tq); 1704 q = pAdd(q,tq); 1705 pTest(q); 1704 sBucket_Add_m(bucket,tq); 1706 1705 } 1707 fullres[i-1]->m[j] = q; 1706 int l_dummy; 1707 sBucketClearMerge(bucket, &(fullres[i-1]->m[j]), &l_dummy); 1708 sBucketDestroy(&bucket); 1708 1709 } 1709 1710 } -
kernel/ideals.cc
r04cc5d rac6a48 2848 2848 2849 2849 extern void ipPrint_MA0(matrix m, const char *name); 2850 #if 0 // unused 2850 2851 ideal idMinEmbedding_with_map0(ideal arg,intvec **w, ideal &trans) 2851 2852 { … … 2929 2930 return result; 2930 2931 } 2932 #endif 2931 2933 #include "polys/clapsing.h" 2932 2934
Note: See TracChangeset
for help on using the changeset viewer.