Changeset 30664c in git
- Timestamp:
- Nov 22, 2012, 10:19:29 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 6fcddc9d1ce61bb4b060ffc6ead86cd70694c9a8
- Parents:
- e12d106a70736a96de005699524e86b37b9e9c98
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-11-22 22:19:29+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-11-26 17:18:46+01:00
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ideals.cc
re12d106 r30664c 751 751 ideal idLiftStd (ideal h1, matrix* ma, tHomog hi, ideal * syz) 752 752 { 753 int i, j, k, t, inputIsIdeal=id_RankFreeModule(h1,currRing); 753 int i, j, t, inputIsIdeal=id_RankFreeModule(h1,currRing); 754 long k; 754 755 poly p=NULL, q; 755 756 intvec *w=NULL; … … 778 779 SI_SAVE_OPT2(save2); 779 780 780 k=si_max( 1,(int)id_RankFreeModule(h1,currRing));781 k=si_max((long)1,id_RankFreeModule(h1,currRing)); 781 782 782 783 if ((k==1) && (!lift3)) si_opt_2 |=Sy_bit(V_IDLIFT); -
kernel/kstd1.cc
re12d106 r30664c 2156 2156 w = &temp_w; 2157 2157 } 2158 if ((h==testHomog) 2159 ) 2158 if (h==testHomog) 2160 2159 { 2161 2160 if (strat->ak == 0) -
kernel/kstdfac.cc
re12d106 r30664c 905 905 strat->LazyDegree = 1; 906 906 strat->ak = id_RankFreeModule(F,currRing); 907 if ( (h==testHomog))907 if (h==testHomog) 908 908 { 909 909 if (strat->ak==0) -
kernel/kutil.cc
re12d106 r30664c 5963 5963 strat->syzl = strat->syzmax = ps; 5964 5964 strat->syzidxmax = comp; 5965 #if def DEBUGF5 || DEBUGF515965 #if defined(DEBUGF5) || defined(DEBUGF51) 5966 5966 printf("------------- GENERATING SYZ RULES NEW ---------------\n"); 5967 5967 #endif … … 8104 8104 return r; 8105 8105 } 8106 8107 8108 8109 8110 8111 8112 8113 8106 ring res = rCopy0(r, FALSE, TRUE); 8107 for (int i=1; i<n-1; i++) 8108 { 8109 res->order[i] = res->order[i-1]; 8110 res->block0[i] = res->block0[i-1]; 8111 res->block1[i] = res->block1[i-1]; 8112 res->wvhdl[i] = res->wvhdl[i-1]; 8113 } 8114 8114 8115 8115 // new 1st block … … 8137 8137 } 8138 8138 #endif 8139 strat->tailRing = res; 8140 return (res); 8141 } 8139 strat->tailRing = res; 8140 return (res); 8141 } 8142 8142 8143 // not incremental => use Schreyer order 8143 8144 // this is done by a trick when initializing the signatures … … 8148 8149 // => we do not need to change the underlying polynomial ring at all! 8149 8150 8151 // UPDATE/NOTE/TODO: use induced Schreyer ordering 'IS'!!!!???? 8150 8152 8151 8153 /* … … 8244 8246 } 8245 8247 */ 8248 8249 assume(FALSE); 8250 return(NULL); 8246 8251 } 8247 8252 -
libpolys/polys/monomials/ring.cc
re12d106 r30664c 4205 4205 pFDeg_CASE(p_Deg); else 4206 4206 #undef pFDeg_CASE 4207 Print("(%p)", (void*)(r->pFDeg)); // default case4207 Print("(%p)", r->pFDeg); // default case 4208 4208 4209 4209 PrintLn(); 4210 Print("pLDeg : (%p)", (void*)(r->pLDeg));4210 Print("pLDeg : (%p)", r->pLDeg); 4211 4211 PrintLn(); 4212 4212 } … … 4220 4220 else if (r->p_Setm==p_Setm_TotalDegree) PrintS("p_Setm_Totaldegree\n"); 4221 4221 else if (r->p_Setm==p_Setm_WFirstTotalDegree) PrintS("p_Setm_WFirstTotalDegree\n"); 4222 else Print("% x\n",r->p_Setm);4222 else Print("%p\n",r->p_Setm); 4223 4223 } 4224 4224 -
libpolys/polys/nc/ncSACache.h
re12d106 r30664c 25 25 CCacheHash(ring r): m_basering(r), m_NVars(r->N){}; 26 26 27 constring GetBasering() const { return m_basering; };27 ring GetBasering() const { return m_basering; }; 28 28 inline int NVars() const { return m_NVars; } 29 29 -
libpolys/polys/nc/summator.cc
re12d106 r30664c 33 33 34 34 CPolynomialSummator::CPolynomialSummator(const ring& rBaseRing, bool bUsePolynomial): 35 m_b asering(rBaseRing), m_bUsePolynomial(bUsePolynomial)35 m_bUsePolynomial(bUsePolynomial), m_basering(rBaseRing) 36 36 { 37 37 #ifdef RDEBUG -
libpolys/polys/sbuckets.h
re12d106 r30664c 74 74 75 75 ////////////////////////////////////////////////////////////////////////// 76 /// 76 77 77 /// Merges p into Spoly: assumes Bpoly and p have no common monoms 78 /// 78 /// destroys p! 79 79 void sBucket_Merge_p(sBucket_pt bucket, poly p, int lp); 80 // adds poly p to bucket 80 81 /// adds poly p to bucket 82 /// destroys p! 81 83 void sBucket_Add_p(sBucket_pt bucket, poly p, int lp); 82 84 -
libpolys/polys/simpleideals.cc
re12d106 r30664c 720 720 if (s!=NULL) 721 721 { 722 intj=0;722 long j=0; 723 723 724 724 if (rRing_has_Comp(tailRing) && rRing_has_Comp(lmRing)) 725 725 { 726 int l=IDELEMS(s);727 726 poly *p=s->m; 728 int k; 729 for (; l != 0; l--) 727 for (unsigned int l=IDELEMS(s); l != 0; --l, ++p) 730 728 { 731 729 if (*p!=NULL) 732 730 { 733 731 pp_Test(*p, lmRing, tailRing); 734 k = p_MaxComp(*p, lmRing, tailRing);732 const long k = p_MaxComp(*p, lmRing, tailRing); 735 733 if (k>j) j = k; 736 734 } 737 p++;738 735 } 739 736 } … … 1206 1203 { 1207 1204 matrix result = mpNew(mod->rank,IDELEMS(mod)); 1208 long i ,cp;1205 long i; long cp; 1209 1206 poly p,h; 1210 1207
Note: See TracChangeset
for help on using the changeset viewer.