- Timestamp:
- Feb 8, 2012, 6:48:08 PM (12 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- e5fc00c615e47e7757b8c95660e3a8ac06ffdef0
- Parents:
- 237b4dda7a8a6ccfcc5966b92c779cebeebc30cc
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-08 18:48:08+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-08 22:31:58+01:00
- Location:
- libpolys
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/gnumpc.cc
r237b4dd r47ab5b 377 377 BOOLEAN ngcCoeffIsEqual (const coeffs r, n_coeffType n, void * parameter) 378 378 { 379 if (n==ID) { 379 if (n==ID) 380 { 380 381 LongComplexInfo* p = (LongComplexInfo *)(parameter); 381 if (p->float_len == r->float_len && p->float_len2 == r->float_len2 && 382 strcmp(p->par_name, r->complex_parameter)) 383 return TRUE; 384 } 385 return FALSE; 382 383 if ( 384 (p->float_len == r->float_len) && 385 (p->float_len2 == r->float_len2) 386 ) 387 if (strcmp(p->par_name, r->complex_parameter) == 0) 388 return (TRUE); 389 } 390 return (FALSE); 386 391 } 387 392 -
libpolys/polys/monomials/ring.cc
r237b4dd r47ab5b 581 581 } 582 582 583 /// TODO: make it a virtual method of coeffs, together with: 584 /// Decompose & Compose, rParameter & rPar 583 585 char * rCharStr(ring r) 584 586 { -
libpolys/polys/monomials/ring.h
r237b4dd r47ab5b 526 526 return rVar( R ); 527 527 } 528 else if (nCoeff_is_long_C(C)) 529 { 530 return 1; 531 } 528 532 return 0; 529 533 } … … 546 550 { 547 551 return &(C->m_nfParameter); 552 } 553 else if (nCoeff_is_long_C(C)) 554 { 555 return &(C->complex_parameter); 548 556 } 549 557 return NULL;
Note: See TracChangeset
for help on using the changeset viewer.