Changeset 98621a5 in git
- Timestamp:
- Dec 8, 2000, 3:42:37 PM (22 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 0c3e67247d81662592a32fdb1e1d73d073658c88
- Parents:
- 856b116e305edbb0b4ab17b6a00800fac298acbb
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/algmap.cc
r856b11 r98621a5 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: algmap.cc,v 1. 19 2000-12-08 12:45:28Singular Exp $ */4 /* $Id: algmap.cc,v 1.20 2000-12-08 14:42:37 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - the mapping of polynomials from rings with … … 45 45 for (i=1; i<=t; i++) 46 46 { 47 napSetExp(b0,i,napGetExp (a0,i));47 napSetExp(b0,i,napGetExpFrom(a0,i,r0)); 48 48 } 49 49 } … … 249 249 for(i=0; i<s; i++) 250 250 { 251 if (napGetExp (a0,i+1) != 0)251 if (napGetExpFrom(a0,i+1,r) != 0) 252 252 { 253 253 if (F->m[i]!=NULL) 254 254 { 255 q0 = pPower(pCopy(F->m[i]),napGetExp (a0,i+1));255 q0 = pPower(pCopy(F->m[i]),napGetExpFrom(a0,i+1,r)); 256 256 q = pMult(q, q0); 257 257 } -
Singular/longalg.h
r856b11 r98621a5 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: longalg.h,v 1.2 0 2000-12-08 13:42:07 Singular Exp $ */6 /* $Id: longalg.h,v 1.21 2000-12-08 14:42:37 Singular Exp $ */ 7 7 /* 8 8 * ABSTRACT: algebraic numbers … … 94 94 #define napGetCoeff(p) (p->ko) 95 95 #define napGetExp(p,i) ((p)->e[(i)-1]) 96 #define napGetExpFrom(p,i,r) ((p)->e[(i)-1]) 96 97 #define napSetExp(p,i,ee) ((p)->e[(i)-1]=ee) 97 98 #define napNew() ((alg)omAlloc0(napMonomSize))
Note: See TracChangeset
for help on using the changeset viewer.