static BOOLEAN length(leftv result, leftv arg)
void sBucketPrint(sBucket_pt bucket)
char * sBucketString(sBucket_pt bucket)
void sBucketDeleteAndDestroy(sBucket_pt *bucket_pt)
bool sIsEmpty(const sBucket_pt bucket)
Test whether bucket is empty!?
void sBucketClearMerge(sBucket_pt bucket, poly *p, int *length)
void sBucket_Merge_p(sBucket_pt bucket, poly p, int lp)
Merges p into Spoly: assumes Bpoly and p have no common monoms destroys p!
void sBucket_Add_p(sBucket_pt bucket, poly p, int lp)
adds poly p to bucket destroys p!
sBucket_pt sBucketCopy(const sBucket_pt bucket)
Copy sBucket non-intrusive!!!
void sBucketDestroyAdd(sBucket_pt bucket, poly *p, int *length)
sBucket_pt sBucketCreate(ring r)
void sBucketCanonicalize(sBucket_pt bucket)
void sBucketDestroy(sBucket_pt *bucket)
void sBucket_Add_m(sBucket_pt bucket, poly p)
poly sBucketSortMerge(poly p, const ring r)
Sorts p with bucketSort: assumes all monomials of p are different.
void sBucketClearAdd(sBucket_pt bucket, poly *p, int *length)
poly sBucketSortAdd(poly p, const ring r)
Sorts p with bucketSort: p may have equal monomials.
void sBucket_Merge_m(sBucket_pt bucket, poly p)
poly sBucketPeek(sBucket_pt b)
void sBucketDestroyMerge(sBucket_pt bucket, poly *p, int *length)
ring sBucketGetRing(const sBucket_pt bucket)
Returns bucket ring.