Changeset de47d79 in git
- Timestamp:
- Aug 14, 1997, 3:10:47 PM (27 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- f988c941611227e28c070493ca12772f99b9d1e7
- Parents:
- 885a83c199da764bb3a396d45654a4bf580f00ce
- Location:
- Singular
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/all.lib
r885a83 rde47d79 1 // $Id: all.lib,v 1. 2 1997-06-04 19:45:25 obachmanExp $1 // $Id: all.lib,v 1.3 1997-08-14 13:10:47 Singular Exp $ 2 2 /////////////////////////////////////////////////////////////////////////////// 3 3 … … 20 20 LIB "ring.lib"; 21 21 LIB "sing.lib"; 22 LIB "hnoether.lib"; -
Singular/clapsing.cc
r885a83 rde47d79 3 3 * Computer Algebra System SINGULAR * 4 4 ****************************************/ 5 // $Id: clapsing.cc,v 1.1 0 1997-07-04 13:46:43Singular Exp $5 // $Id: clapsing.cc,v 1.11 1997-08-14 13:10:42 Singular Exp $ 6 6 /* 7 7 * ABSTRACT: interface between Singular and factory … … 297 297 { 298 298 pSetCoeff( f, nInit( 1 ) ); 299 pTest(f);300 299 return; 301 300 } … … 305 304 CanonicalForm g, h; 306 305 poly p = pNext(f); 306 nTest(pGetCoeff(f)); 307 307 g = convSingTrClapP( ((lnumber)pGetCoeff(f))->z ); 308 308 L.append( g ); 309 309 while ( p && (g != 1) ) 310 310 { 311 nTest(pGetCoeff(p)); 311 312 h = convSingTrClapP( ((lnumber)pGetCoeff(p))->z ); 312 313 p = pNext( p ); … … 318 319 pTest(f); 319 320 return; 320 } 321 } 322 #ifdef LDEBUG 323 else if ( g == 0 ) 324 { 325 pTest(f); 326 pWrite(f); 327 PrintS("=> gcd 0 in divide_content\n"); 328 return; 329 } 330 #endif 321 331 else 322 332 { … … 327 337 napDelete(&c->z); 328 338 c->z=convClapPSingTr( i.getItem() / g ); 339 nTest((number)c); 329 340 } 330 341 } -
Singular/ipassign.cc
r885a83 rde47d79 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ipassign.cc,v 1.1 6 1997-07-09 15:53:59Singular Exp $ */4 /* $Id: ipassign.cc,v 1.17 1997-08-14 13:10:43 Singular Exp $ */ 5 5 6 6 /* … … 462 462 // proc res arg 463 463 {jiA_IDEAL, IDEAL_CMD, IDEAL_CMD } 464 ,{jiA_IDEAL_M, IDEAL_CMD, MATRIX_CMD } 464 465 ,{jiA_RESOLUTION,RESOLUTION_CMD,RESOLUTION_CMD } 465 ,{jiA_IDEAL_M, IDEAL_CMD, MATRIX_CMD }466 466 ,{jiA_INT, INT_CMD, INT_CMD } 467 467 ,{jiA_IDEAL, MATRIX_CMD, MATRIX_CMD } -
Singular/longalg.cc
r885a83 rde47d79 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: longalg.cc,v 1. 7 1997-06-25 07:58:08Singular Exp $ */4 /* $Id: longalg.cc,v 1.8 1997-08-14 13:10:44 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: algebraic numbers … … 2369 2369 return TRUE; 2370 2370 #ifdef MDEBUG 2371 if (!mmDBTestBlock(a,sizeof(rnumber),f,l)) 2372 return FALSE; 2371 mmDBTestBlock(a,sizeof(rnumber),f,l); 2373 2372 #endif 2374 2373 alg p = x->z; … … 2380 2379 while(p!=NULL) 2381 2380 { 2381 if (nIsZero(p->ko)) 2382 { 2383 Print("coeff 0 in %s:%d\n",f,l); 2384 return FALSE; 2385 } 2382 2386 if((naMinimalPoly!=NULL)&&(p->e[0]>naMinimalPoly->e[0]) 2383 2387 &&(p!=naMinimalPoly)) … … 2394 2398 return FALSE; 2395 2399 #ifdef MDEBUG 2396 if (!mmDBTestBlock(p,RECA_SIZE+naNumbOfPar*sizeof(int),f,l)) 2397 return FALSE; 2400 mmDBTestBlock(p,RECA_SIZE+naNumbOfPar*sizeof(int),f,l); 2398 2401 #endif 2399 2402 p = p->ne; -
Singular/longrat.cc
r885a83 rde47d79 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: longrat.cc,v 1.1 1 1997-08-12 17:14:39Singular Exp $ */4 /* $Id: longrat.cc,v 1.12 1997-08-14 13:10:45 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: computation with long rational numbers (Hubert Grassmann) … … 1855 1855 if (SR_HDL(a) & SR_HDL(b) & SR_INT) 1856 1856 { 1857 int i=ABS(SR_TO_INT(a)); 1858 int j=ABS(SR_TO_INT(b)); 1857 int i=SR_TO_INT(a); 1858 int j=SR_TO_INT(b); 1859 if((i==0)||(j==0)) 1860 return INT_TO_SR(1); 1859 1861 int l; 1862 i=ABS(i); 1863 j=ABS(j); 1860 1864 do 1861 1865 { -
Singular/spolys0.cc
r885a83 rde47d79 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: spolys0.cc,v 1. 4 1997-08-01 10:53:08Singular Exp $ */4 /* $Id: spolys0.cc,v 1.5 1997-08-14 13:10:46 Singular Exp $ */ 5 5 6 6 /* … … 32 32 { 33 33 int c = 0; 34 number an = *a, bn = *b, cn = nGcd(an, bn); 34 number an = *a, bn = *b; 35 nTest(an); 36 nTest(bn); 37 number cn = nGcd(an, bn); 35 38 36 39 if(nIsOne(cn))
Note: See TracChangeset
for help on using the changeset viewer.