 |
My Project
UNKNOWN_GIT_VERSION
|
Go to the source code of this file.
|
ring | sBucketGetRing (const sBucket_pt bucket) |
| Returns bucket ring. More...
|
|
bool | sIsEmpty (const sBucket_pt bucket) |
| Test whether bucket is empty!? More...
|
|
sBucket_pt | sBucketCopy (const sBucket_pt bucket) |
| Copy sBucket non-intrusive!!! More...
|
|
sBucket_pt | sBucketCreate (const ring r) |
|
void | sBucketDestroy (sBucket_pt *bucket) |
|
void | sBucketDeleteAndDestroy (sBucket_pt *bucket_pt) |
|
void | sBucket_Merge_m (sBucket_pt bucket, poly p) |
|
void | sBucket_Merge_p (sBucket_pt bucket, poly p, int length) |
| Merges p into Spoly: assumes Bpoly and p have no common monoms destroys p! More...
|
|
void | sBucket_Add_m (sBucket_pt bucket, poly p) |
|
void | sBucket_Add_p (sBucket_pt bucket, poly p, int length) |
| adds poly p to bucket destroys p! More...
|
|
void | sBucketClearMerge (sBucket_pt bucket, poly *p, int *length) |
|
void | sBucketClearAdd (sBucket_pt bucket, poly *p, int *length) |
|
poly | sBucketSortMerge (poly p, const ring r) |
| Sorts p with bucketSort: assumes all monomials of p are different. More...
|
|
poly | sBucketSortAdd (poly p, const ring r) |
| Sorts p with bucketSort: p may have equal monomials. More...
|
|
void | sBucketCanonicalize (sBucket_pt bucket) |
|
poly | sBucketPeek (sBucket_pt b) |
|
char * | sBucketString (sBucket_pt bucket) |
|
void | sBucketPrint (sBucket_pt bucket) |
|
◆ sBucketPoly
Definition at line 24 of file sbuckets.cc.
Data Fields |
long |
length |
|
poly |
p |
|
◆ sBucket
◆ sBucket_Add_m()
◆ sBucket_Add_p()
void sBucket_Add_p |
( |
sBucket_pt |
bucket, |
|
|
poly |
p, |
|
|
int |
length |
|
) |
| |
adds poly p to bucket destroys p!
Definition at line 205 of file sbuckets.cc.
210 if (
p ==
NULL)
return;
◆ sBucket_Merge_m()
void sBucket_Merge_m |
( |
sBucket_pt |
bucket, |
|
|
poly |
p |
|
) |
| |
◆ sBucket_Merge_p()
void sBucket_Merge_p |
( |
sBucket_pt |
bucket, |
|
|
poly |
p, |
|
|
int |
length |
|
) |
| |
Merges p into Spoly: assumes Bpoly and p have no common monoms destroys p!
Definition at line 150 of file sbuckets.cc.
155 if (
p ==
NULL)
return;
◆ sBucketCanonicalize()
Definition at line 401 of file sbuckets.cc.
423 while (i <= bucket->max_bucket)
◆ sBucketClearAdd()
void sBucketClearAdd |
( |
sBucket_pt |
bucket, |
|
|
poly * |
p, |
|
|
int * |
length |
|
) |
| |
Definition at line 277 of file sbuckets.cc.
299 while (i <= bucket->max_bucket)
◆ sBucketClearMerge()
void sBucketClearMerge |
( |
sBucket_pt |
bucket, |
|
|
poly * |
p, |
|
|
int * |
length |
|
) |
| |
Definition at line 239 of file sbuckets.cc.
257 while (i <= bucket->max_bucket)
◆ sBucketCopy()
◆ sBucketCreate()
◆ sBucketDeleteAndDestroy()
void sBucketDeleteAndDestroy |
( |
sBucket_pt * |
bucket_pt | ) |
|
◆ sBucketDestroy()
◆ sBucketGetRing()
◆ sBucketPeek()
Definition at line 455 of file sbuckets.cc.
458 return b->buckets[
b->max_bucket].p;
◆ sBucketPrint()
◆ sBucketSortAdd()
poly sBucketSortAdd |
( |
poly |
p, |
|
|
const ring |
r |
|
) |
| |
Sorts p with bucketSort: p may have equal monomials.
Definition at line 368 of file sbuckets.cc.
384 if (
p ==
NULL)
break;
◆ sBucketSortMerge()
poly sBucketSortMerge |
( |
poly |
p, |
|
|
const ring |
r |
|
) |
| |
Sorts p with bucketSort: assumes all monomials of p are different.
Definition at line 334 of file sbuckets.cc.
349 if (
p ==
NULL)
break;
◆ sBucketString()
◆ sIsEmpty()
Test whether bucket is empty!?
Definition at line 52 of file sbuckets.cc.
◆ sBucket_bin
void sBucketClearMerge(sBucket_pt bucket, poly *p, int *length)
void p_Write0(poly p, ring lmRing, ring tailRing)
static poly p_Merge_q(poly p, poly q, const ring r)
void sBucket_Add_m(sBucket_pt bucket, poly p)
static int SI_LOG2(int v)
static BOOLEAN length(leftv result, leftv arg)
ring sBucketGetRing(const sBucket_pt bucket)
Returns bucket ring.
static unsigned pLength(poly a)
static poly p_Copy(poly p, const ring r)
returns a copy of p
poly sBucketPeek(sBucket_pt b)
char * p_String(poly p, ring lmRing, ring tailRing)
sBucket_pt sBucketCreate(const ring r)
bool sIsEmpty(const sBucket_pt bucket)
Test whether bucket is empty!?
void sBucketCanonicalize(sBucket_pt bucket)
static void p_Delete(poly *p, const ring r)
static poly p_Add_q(poly p, poly q, const ring r)
void sBucket_Merge_m(sBucket_pt bucket, poly p)
sBucketPoly buckets[BIT_SIZEOF_LONG - 3]
void sBucketClearAdd(sBucket_pt bucket, poly *p, int *length)
void sBucketDestroy(sBucket_pt *bucket)
#define omFreeBin(addr, bin)