Changeset 7e53d9 in git
- Timestamp:
- Aug 3, 2011, 7:10:47 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- 36dd348c07984f48c3bf7582c5f05be7aa4ea52e
- Parents:
- 47f9851c41b863a6cb62e84a4752eb913c8158ca
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-03 19:10:47+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:14:21+01:00
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ideals.cc
r47f985 r7e53d9 744 744 ) 745 745 { 746 ring dp_C_ring = rAssure_dp_C(syz_ring ); // will do rChangeCurrRing later746 ring dp_C_ring = rAssure_dp_C(syz_ring, TRUE); // will do rChangeCurrRing later 747 747 if (dp_C_ring != syz_ring) 748 748 { -
kernel/syz.cc
r47f985 r7e53d9 419 419 /*--- initialize the syzygy-ring -----------------------------*/ 420 420 ring origR = currRing; 421 ring syz_ring = r CurrRingAssure_SyzComp();421 ring syz_ring = rAssure_SyzComp(origR, TRUE); // will do rChangeCurrRing if needed 422 422 rSetSyzComp(rk_arg, syz_ring); 423 423 -
kernel/syz0.cc
r47f985 r7e53d9 912 912 if ((hom==isHomog)|| (rHasGlobalOrdering(origR))) 913 913 { 914 syRing = r CurrRingAssure_CompLastBlock();914 syRing = rAssure_CompLastBlock(origR, TRUE); 915 915 if (syRing != origR) 916 916 { 917 rChangeCurrRing(syRing); 917 918 for (i=0; i<IDELEMS(res[1]); i++) 918 919 { … … 924 925 else 925 926 { 926 syRing = r CurrRingAssure_SyzComp_CompLastBlock();927 syRing = rAssure_SyzComp_CompLastBlock(origR, TRUE); 927 928 if (syRing != origR) 928 929 { 930 rChangeCurrRing(syRing); 929 931 for (i=0; i<IDELEMS(res[0]); i++) 930 932 { -
kernel/syz1.cc
r47f985 r7e53d9 2467 2467 2468 2468 // Creare dp,S ring and change to it 2469 syzstr->syRing = rCurrRingAssure_dp_S(); 2470 assume(syzstr->syRing != origR); 2471 2469 syzstr->syRing = rAssure_dp_S(origR, TRUE); 2470 assume(syzstr->syRing != origR); // why? 2471 rChangeCurrRing(syzstr->syRing); 2472 2472 2473 // set initial ShiftedComps 2473 2474 currcomponents = (int*)omAlloc0((arg->rank+1)*sizeof(int)); … … 2607 2608 2608 2609 // Creare dp,S ring and change to it 2609 syzstr->syRing = r CurrRingAssure_dp_S();2610 syzstr->syRing = rAssure_dp_S(origR, TRUE); 2610 2611 assume(syzstr->syRing != origR); 2611 2612 assume(syzstr->syRing->typ[1].ord_typ == ro_syzcomp); 2612 2613 rChangeCurrRing(syzstr->syRing); 2613 2614 2614 2615 // set initial ShiftedComps -
kernel/syz2.cc
r47f985 r7e53d9 981 981 982 982 // Creare dp,S ring and change to it 983 syzstr->syRing = rCurrRingAssure_dp_C(); 983 syzstr->syRing = rAssure_dp_C(origR, TRUE); 984 rChangeCurrRing(syzstr->syRing); 984 985 985 986 // set initial ShiftedComps -
kernel/syz3.cc
r47f985 r7e53d9 1766 1766 syStrategy syzstr=(syStrategy)omAlloc0(sizeof(ssyStrategy)); 1767 1767 /*--- changes to a Cdp-ring ----------------------------*/ 1768 syzstr->syRing = r CurrRingAssure_C_dp();1768 syzstr->syRing = rAssure_C_dp(origR, TRUE); rChangeCurrRing(syzstr->syRing); 1769 1769 /*--- initializes the data structures---------------*/ 1770 1770 syzstr->length = *length = (currRing->N)+2; … … 1878 1878 int len=0,reg=0; 1879 1879 intvec *w=NULL; 1880 ring dp_C_ring = r CurrRingAssure_dp_C();1881 initial = idrMoveR_NoSort(initial, syzstr->syRing );1880 ring dp_C_ring = rAssure_dp_C(currRing, TRUE); rChangeCurrRing(dp_C_ring); 1881 initial = idrMoveR_NoSort(initial, syzstr->syRing, dp_C_ring); 1882 1882 resolvente res = sySchreyerResolvente(initial,-1,&len,TRUE, TRUE); 1883 1883 intvec * dummy = syBetti(res,len,®, w); -
libpolys/polys/monomials/ring.h
r47f985 r7e53d9 633 633 { assume(r != NULL); return (rIsSyzIndexRing(r)? r->typ[0].data.syz.limit : 0);} 634 634 635 void rSetSyzComp(int k, const ring r); 636 635 637 // Ring Manipulations 636 ring rAssure_HasComp(const ring r );638 ring rAssure_HasComp(const ring r, BOOLEAN complete = TRUE); 637 639 ring rAssure_SyzComp(const ring r, BOOLEAN complete = TRUE); 638 void rSetSyzComp(int k, const ring r); 639 ring rAssure_dp_S(const ring r); 640 ring rAssure_dp_C(const ring r); 641 ring rAssure_C_dp(const ring r); 640 ring rAssure_dp_S(const ring r, BOOLEAN complete = TRUE); 641 ring rAssure_dp_C(const ring r, BOOLEAN complete = TRUE); 642 ring rAssure_C_dp(const ring r, BOOLEAN complete = TRUE); 642 643 /// makes sure that c/C ordering is last ordering 643 ring rAssure_CompLastBlock(const ring r);644 ring rAssure_CompLastBlock(const ring r, BOOLEAN complete = TRUE); 644 645 645 646 /// makes sure that c/C ordering is last ordering and SyzIndex is first 646 ring rAssure_SyzComp_CompLastBlock(const ring r );647 ring rAssure_TDeg(ring r, int start_var, int end_var, int &pos);647 ring rAssure_SyzComp_CompLastBlock(const ring r, BOOLEAN complete = TRUE); 648 ring rAssure_TDeg(const ring r, int start_var, int end_var, int &pos, BOOLEAN complete = TRUE); 648 649 649 650 /// return the max-comonent wchich has syzIndex i
Note: See TracChangeset
for help on using the changeset viewer.