Changeset 5c39a9 in git
- Timestamp:
- Nov 22, 2010, 4:30:28 PM (13 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 949e57ce98be32aa204cfe96c543f2bde13278a6
- Parents:
- bd911c0f0e71a503697bb7fe7b760df56c76182f
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2010-11-22 16:30:28+01:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:41+01:00
- Location:
- polys
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
polys/monomials/p_polys.cc
rbd911c r5c39a9 2898 2898 } 2899 2899 } 2900 /* -------------------------------------------------------- */ 2901 /*2 2902 * change all global variables to fit the description of the new ring 2903 */ 2904 2905 void p_SetGlobals(const ring r, BOOLEAN complete) 2906 { 2907 int i; 2908 if (r->ppNoether!=NULL) p_Delete(&ppNoether,r); 2909 2910 if (complete) 2911 { 2912 test &= ~ TEST_RINGDEP_OPTS; 2913 test |= r->options; 2914 } 2915 } 2916 2900 2917 /*************************************************************** 2901 2918 * -
polys/monomials/p_polys.h
rbd911c r5c39a9 1802 1802 void p_DeleteComp(poly * p,int k, const ring r); 1803 1803 1804 /*-------------ring management:----------------------*/ 1805 void p_SetGlobals(const ring r, BOOLEAN complete = TRUE); 1806 1804 1807 #endif // P_POLYS_H 1805 1808 -
polys/polys.cc
rbd911c r5c39a9 43 43 poly ppNoether = NULL; 44 44 45 /* -------------------------------------------------------- */46 /*247 * change all global variables to fit the description of the new ring48 */49 50 51 void pSetGlobals(const ring r, BOOLEAN complete)52 {53 if (ppNoether!=NULL) pDelete(&ppNoether);54 //pOrdSgn = r->OrdSgn;55 //pFDeg=r->pFDeg;56 //pLDeg=r->pLDeg;57 //pLexOrder=r->LexOrder;58 59 if (complete)60 {61 test &= ~ TEST_RINGDEP_OPTS;62 test |= r->options;63 }64 }65 66 45 // resets the pFDeg and pLDeg: if pLDeg is not given, it is 67 46 // set to currRing->pLDegOrig, i.e. to the respective LDegProc which -
polys/polys.h
rbd911c r5c39a9 66 66 // like pLmDelete, returns pNext(p) 67 67 #define pLmDeleteAndNext(p) p_LmDeleteAndNext(p, currRing) 68 // used by iparith.cc (pHead as proc)69 extern poly pHeadProc(poly p);70 68 71 69 /*************************************************************** … … 81 79 #define pExpVectorSum(pr, p1, p2) p_ExpVectorSum(pr, p1, p2, currRing) 82 80 #define pExpVectorDiff(pr, p1, p2) p_ExpVectorDiff(pr, p1, p2, currRing) 83 #define pExpVectorEqual(p1, p2) p_ExpVectorEqual(p1, p2, currRing)84 81 85 82 // Gets a copy of (resp. set) the exponent vector, where e is assumed … … 101 98 _p_LmCmpAction(p,q,currRing, actionE, actionG,actionS) 102 99 103 #define pLmEqual(p1, p2) p ExpVectorEqual(p1, p2)100 #define pLmEqual(p1, p2) p_ExpVectorEqual(p1, p2, currRing) 104 101 105 102 // pCmp: args may be NULL … … 234 231 235 232 /*-------------ring management:----------------------*/ 236 extern void pSetGlobals(const ring r, BOOLEAN complete = TRUE);237 233 238 234 // resets the pFDeg and pLDeg: if pLDeg is not given, it is
Note: See TracChangeset
for help on using the changeset viewer.