Changeset 2f436b in git for Singular/pInline1.h
- Timestamp:
- Dec 31, 2000, 4:14:47 PM (23 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- e609098c45a74ac91c002ffa7ece5eebe7f8c002
- Parents:
- 33ec1145a109507ad3e3cf4a69a847b703358e93
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/pInline1.h
r33ec11 r2f436b 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: pInline1.h,v 1.1 4 2000-12-05 13:01:11obachman Exp $9 * Version: $Id: pInline1.h,v 1.15 2000-12-31 15:14:37 obachman Exp $ 10 10 *******************************************************************/ 11 11 #ifndef PINLINE1_H … … 492 492 return TRUE; 493 493 } 494 // test if monomial is a constant, i.e. if all exponents and the component 495 // is zero 496 PINLINE1 BOOLEAN p_LmIsConstant(const poly p, const ring r) 497 { 498 if (p_LmIsConstantComp(p, r)) 499 return (p_GetComp(p, r) == 0); 500 return FALSE; 501 } 502 503 // like the respective p_LmIs* routines, except that p might be empty 504 PINLINE1 BOOLEAN p_IsConstantComp(const poly p, const ring r) 505 { 506 if (p == NULL) return TRUE; 507 return p_LmIsConstantComp(p, r); 508 } 509 510 PINLINE1 BOOLEAN p_IsConstant(const poly p, const ring r) 511 { 512 if (p == NULL) return TRUE; 513 return p_LmIsConstant(p, r); 514 } 494 515 495 516 PINLINE1 BOOLEAN p_LmExpVectorAddIsOk(const poly p1, const poly p2,
Note: See TracChangeset
for help on using the changeset viewer.