Changeset 8c5988 in git
- Timestamp:
- Apr 20, 2005, 7:25:52 PM (18 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- d86777372eef84871f10e4887da44dd71b5042b8
- Parents:
- 8c6b3ee65da7c8946b10fbc266f2516b536e2458
- Location:
- kernel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/p_polys.cc
r8c6b3ee r8c5988 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: p_polys.cc,v 1. 1.1.1 2003-10-06 12:15:55Singular Exp $9 * Version: $Id: p_polys.cc,v 1.2 2005-04-20 17:25:51 Singular Exp $ 10 10 *******************************************************************/ 11 11 … … 169 169 * the ordering is compatible with degree, use a->order 170 170 */ 171 inline long _pDeg(poly a, ring r)171 inline long _pDeg(poly a, const ring r) 172 172 { 173 173 p_LmCheckPolyRing(a, r); … … 176 176 } 177 177 178 long pDeg(poly a, ring r)178 long pDeg(poly a, const ring r) 179 179 { 180 180 return _pDeg(a, r); … … 276 276 } 277 277 278 int pWeight(int i, ring r)278 int pWeight(int i, const ring r) 279 279 { 280 280 if ((r->firstwv==NULL) || (i>r->firstBlockEnds)) -
kernel/polys.cc
r8c6b3ee r8c5988 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: polys.cc,v 1. 4 2005-01-18 17:28:23Singular Exp $ */4 /* $Id: polys.cc,v 1.5 2005-04-20 17:25:52 Singular Exp $ */ 5 5 6 6 /* … … 50 50 51 51 52 void pSetGlobals( ring r, BOOLEAN complete)52 void pSetGlobals(const ring r, BOOLEAN complete) 53 53 { 54 54 int i; -
kernel/polys.h
r8c6b3ee r8c5988 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: polys.h,v 1. 4 2005-04-18 14:50:55Singular Exp $ */6 /* $Id: polys.h,v 1.5 2005-04-20 17:25:52 Singular Exp $ */ 7 7 /* 8 8 * ABSTRACT - all basic methods to manipulate polynomials of the … … 275 275 /*-------------ring management:----------------------*/ 276 276 //extern void pChangeRing(ring newRing); 277 extern void pSetGlobals( ring r, BOOLEAN complete = TRUE);277 extern void pSetGlobals(const ring r, BOOLEAN complete = TRUE); 278 278 // resets the pFDeg and pLDeg: if pLDeg is not given, it is 279 279 // set to currRing->pLDegOrig, i.e. to the respective LDegProc which … … 298 298 extern pLDegProc pLDeg; 299 299 extern pFDegProc pFDeg; 300 int pWeight(int c, ring r = currRing);300 int pWeight(int c, const ring r = currRing); 301 301 long pDeg(poly p, ring r = currRing); 302 302 long pTotaldegree(poly p, ring r = currRing);
Note: See TracChangeset
for help on using the changeset viewer.