Changeset 0498af in git
- Timestamp:
- Mar 27, 1998, 3:44:27 PM (25 years ago)
- Branches:
- (u'spielwiese', '8d54773d6c9e2f1d2593a28bc68b7eeab54ed529')
- Children:
- a38f5eabbce750256e73c236f59000a5b9ec4c11
- Parents:
- cf80ceb5ad2d43154cc45f6bfc38e7f519e69373
- Location:
- Singular
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/algmap.cc
rcf80ce r0498af 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: algmap.cc,v 1. 8 1998-01-17 18:07:53 SingularExp $ */4 /* $Id: algmap.cc,v 1.9 1998-03-27 14:44:23 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT - the mapping of polynomials from rings with … … 204 204 poly q, q0, q1 = NULL; 205 205 int i; 206 206 207 pTest(monpart); 207 208 if (s == 0) 208 209 { … … 261 262 } 262 263 } 264 pTest(q); 263 265 } 264 266 q1 = pAdd(q1, q); 267 pTest(q1); 265 268 a0 = napNext(a0); 266 269 } 267 270 while (a0 != NULL); 268 271 q1 = pMult(q1,monpart); 272 pTest(q1); 269 273 pSetCompP(q1,pGetComp(p0)); 274 pTest(q1); 270 275 return pAdd(res, q1); 271 276 } … … 315 320 monpart = maEval((map)G, p0, R); 316 321 result = maLongalgMap(result, p0, s, t, &nom, monpart, F); 322 pTest(result); 317 323 if (nom) 318 324 { 319 325 return NULL; 320 326 } 327 p0->next = pr; 321 328 p0=pr; 322 329 } 330 pTest(result); 323 331 return result; 324 332 } -
Singular/extra.cc
rcf80ce r0498af 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1. 29 1998-02-27 14:06:09 SingularExp $ */4 /* $Id: extra.cc,v 1.30 1998-03-27 14:44:24 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 483 483 { 484 484 i1->m[k] = maAlgpolyMap(r0, i0->m[k], i, j); 485 pTest(i1->m[k]); 485 486 } 486 487 res->rtyp = IDEAL_CMD; -
Singular/mpsr_GetPoly.cc
rcf80ce r0498af 3 3 ****************************************/ 4 4 5 /* $Id: mpsr_GetPoly.cc,v 1.1 3 1998-03-27 11:40:58obachman Exp $ */5 /* $Id: mpsr_GetPoly.cc,v 1.14 1998-03-27 14:44:25 obachman Exp $ */ 6 6 7 7 /*************************************************************** … … 389 389 if (gNvars > 1) 390 390 { 391 mp_failr(IMP_GetSint32Vector(link, &gTa[1], gNvars)); 391 MP_Sint32_t* Ta = &gTa[1]; 392 mp_failr(IMP_GetSint32Vector(link, &Ta, gNvars)); 392 393 for (i=1; i<=gNvars; i++) 393 394 pSetExp(pp,i , (Exponent_t) gTa[i]); … … 399 400 pp = pp->next; 400 401 failr(GetCoeff(link, &(pp->coef))); 401 mp_failr(IMP_GetSint32Vector(link, & gTa[1], gNvars));402 mp_failr(IMP_GetSint32Vector(link, &Ta, gNvars)); 402 403 for (i=1; i<=gNvars; i++) 403 404 pSetExp(pp, i, (Exponent_t) gTa[i]); -
Singular/polys-impl.cc
rcf80ce r0498af 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: polys-impl.cc,v 1.1 2 1998-03-23 22:51:03obachman Exp $ */4 /* $Id: polys-impl.cc,v 1.13 1998-03-27 14:44:26 obachman Exp $ */ 5 5 6 6 /*************************************************************** … … 665 665 return FALSE; 666 666 #endif 667 if (pGetComp(p) > 10) 668 { 669 Print("Component > 10 in poly in %s: %d\n", f,l); 670 } 667 671 #ifdef LDEBUG 668 672 if (!nDBTest(p->coef,f,l))
Note: See TracChangeset
for help on using the changeset viewer.