Changeset a204ea in git
- Timestamp:
- Jul 19, 1999, 12:50:43 PM (25 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 460c1e191b2029d71d3c85f849b12944b8be0afa
- Parents:
- ee118eb43d8892eda3751061decc3bba5e1c72b9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/maps.cc
ree118e ra204ea 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: maps.cc,v 1.1 5 1999-07-13 15:06:52Singular Exp $ */4 /* $Id: maps.cc,v 1.16 1999-07-19 10:50:43 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - the mapping of polynomials to other rings … … 249 249 else 250 250 j = IDELEMS(id); 251 int j0=j; 252 if (theImageRing->qideal!=NULL) j+=IDELEMS(theImageRing->qideal); 251 253 temp1 = idInit(sourcering->N+j,1); 252 254 for (i=0;i<sourcering->N;i++) … … 267 269 temp1->m[i] = p; 268 270 } 269 for (i=sourcering->N;i<sourcering->N+j ;i++)271 for (i=sourcering->N;i<sourcering->N+j0;i++) 270 272 { 271 273 temp1->m[i] = pChangeSizeOfPoly(theImageRing, 272 274 id->m[i-sourcering->N],1,imagepvariables); 275 } 276 for (i=sourcering->N+j0;i<sourcering->N+j;i++) 277 { 278 temp1->m[i] = pChangeSizeOfPoly(theImageRing, 279 theImageRing->qideal->m[i-sourcering->N-j0], 280 1,imagepvariables); 273 281 } 274 282 // we ignore here homogenity - may be changed later:
Note: See TracChangeset
for help on using the changeset viewer.