Changeset 27e750 in git
- Timestamp:
- Feb 23, 2009, 2:29:22 PM (14 years ago)
- Branches:
- (u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
- Children:
- 08500d542c4163fa9952a6aad1cf846ecf31945d
- Parents:
- 7924eecd41944b3878830cb230825ccae2e772ed
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/pInline1.h
r7924ee r27e750 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: pInline1.h,v 1.1 6 2008-07-24 16:33:57Singular Exp $9 * Version: $Id: pInline1.h,v 1.17 2009-02-23 13:27:31 Singular Exp $ 10 10 *******************************************************************/ 11 11 #ifndef PINLINE1_H … … 415 415 } 416 416 417 #ifdef HAVE_RATGRING 417 418 static inline BOOLEAN _p_LmDivisibleByNoCompPart(poly a, const ring r_a, poly b, const ring r_b,const int start, const int end) 418 419 { … … 433 434 #endif 434 435 } 436 static inline BOOLEAN _p_LmDivisibleByPart(poly a, const ring r_a, poly b, const ring r_b,const int start, const int end) 437 { 438 if (p_GetComp(a, r_a) == 0 || p_GetComp(a,r_a) == p_GetComp(b,r_b)) 439 return _p_LmDivisibleByNoCompPart(a, r_a, b, r_b,start,end); 440 return FALSE; 441 } 442 PINLINE1 BOOLEAN p_LmDivisibleByPart(poly a, poly b, const ring r,const int start, const int end) 443 { 444 p_LmCheckPolyRing1(b, r); 445 pIfThen1(a != NULL, p_LmCheckPolyRing1(b, r)); 446 if (p_GetComp(a, r) == 0 || p_GetComp(a,r) == p_GetComp(b,r)) 447 return _p_LmDivisibleByNoCompPart(a, r, b, r,start, end); 448 return FALSE; 449 } 450 #endif 435 451 static inline BOOLEAN _p_LmDivisibleBy(poly a, poly b, const ring r) 436 452 { … … 443 459 if (p_GetComp(a, r_a) == 0 || p_GetComp(a,r_a) == p_GetComp(b,r_b)) 444 460 return _p_LmDivisibleByNoComp(a, r_a, b, r_b); 445 return FALSE;446 }447 static inline BOOLEAN _p_LmDivisibleByPart(poly a, const ring r_a, poly b, const ring r_b,const int start, const int end)448 {449 if (p_GetComp(a, r_a) == 0 || p_GetComp(a,r_a) == p_GetComp(b,r_b))450 return _p_LmDivisibleByNoCompPart(a, r_a, b, r_b,start,end);451 461 return FALSE; 452 462 } … … 463 473 if (p_GetComp(a, r) == 0 || p_GetComp(a,r) == p_GetComp(b,r)) 464 474 return _p_LmDivisibleByNoComp(a, b, r); 465 return FALSE;466 }467 PINLINE1 BOOLEAN p_LmDivisibleByPart(poly a, poly b, const ring r,const int start, const int end)468 {469 p_LmCheckPolyRing1(b, r);470 pIfThen1(a != NULL, p_LmCheckPolyRing1(b, r));471 if (p_GetComp(a, r) == 0 || p_GetComp(a,r) == p_GetComp(b,r))472 return _p_LmDivisibleByNoCompPart(a, r, b, r,start, end);473 475 return FALSE; 474 476 } -
kernel/polys.cc
r7924ee r27e750 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: polys.cc,v 1.3 6 2009-02-21 17:05:51Singular Exp $ */4 /* $Id: polys.cc,v 1.37 2009-02-23 13:29:22 Singular Exp $ */ 5 5 6 6 /* … … 1042 1042 return FALSE; 1043 1043 } 1044 #ifdef HAVE_RATGRING 1044 1045 BOOLEAN pCompareChainPart (poly p,poly p1,poly p2,poly lcm) 1045 1046 { … … 1095 1096 return FALSE; 1096 1097 } 1098 #endif 1097 1099 1098 1100 int pSize(poly p)
Note: See TracChangeset
for help on using the changeset viewer.