![]() |
Go to the source code of this file.
Data Structures | |
| class | kBucket |
Macros | |
| #define | MAX_BUCKET 14 |
| Bucket definition (should be no one elses business, though) More... | |
Typedefs | |
| typedef kBucket * | kBucket_pt |
| typedef polyrec * | poly |
| class kBucket |
Definition at line 177 of file kbuckets.h.
| Data Fields | ||
|---|---|---|
| ring | bucket_ring | |
| int | l | |
| poly | p | |
| #define MAX_BUCKET 14 |
Bucket definition (should be no one elses business, though)
Definition at line 174 of file kbuckets.h.
| typedef kBucket* kBucket_pt |
Definition at line 15 of file kbuckets.h.
| typedef polyrec* poly |
Definition at line 16 of file kbuckets.h.
| BOOLEAN kbTest | ( | kBucket_pt | bucket | ) |
Tests.
Definition at line 186 of file kbuckets.cc.
| void kBucket_Add_q | ( | kBucket_pt | bucket, |
| poly | q, | ||
| int * | l | ||
| ) |
Add to Bucket a poly ,i.e. Bpoly == Bpoly + q.
Add to Bucket a poly ,i.e. Bpoly == Bpoly + q.
Definition at line 637 of file kbuckets.cc.
| poly kBucket_ExtractLarger | ( | kBucket_pt | bucket, |
| poly | q, | ||
| poly | append | ||
| ) |
Extract all monomials of bucket which are larger than q Append those to append, and return last monomial of append.
Definition at line 989 of file kbuckets.cc.
|
inline |
Definition at line 121 of file kbuckets.h.
| void kBucket_Minus_m_Mult_p | ( | kBucket_pt | bucket, |
| poly | m, | ||
| poly | p, | ||
| int * | l, | ||
| poly | spNoether | ||
| ) |
Bpoly == Bpoly - m*p; where m is a monom Does not destroy p and m (TODO: rename into kBucket_Minus_mm_Mult_pp!?) assume (*l <= 0 || pLength(p) == *l)
Bpoly == Bpoly - m*p; where m is a monom Does not destroy p and m (TODO: rename into kBucket_Minus_mm_Mult_pp!?) assume (*l <= 0 || pLength(p) == *l)
Definition at line 699 of file kbuckets.cc.
| void kBucket_Mult_n | ( | kBucket_pt | bucket, |
| number | n | ||
| ) |
Multiply Bucket by number ,i.e. Bpoly == n*Bpoly.
Definition at line 577 of file kbuckets.cc.
| void kBucket_Plus_mm_Mult_pp | ( | kBucket_pt | bucket, |
| poly | m, | ||
| poly | p, | ||
| int | l | ||
| ) |
Bpoly == Bpoly + m*p; where m is a monom Does not destroy p and m assume (l <= 0 || pLength(p) == l)
Definition at line 804 of file kbuckets.cc.
| void kBucketAdjust | ( | kBucket_pt | bucket, |
| int | i | ||
| ) |
Bucket number i from bucket is out of length sync, resync.
Definition at line 544 of file kbuckets.cc.
| int kBucketCanonicalize | ( | kBucket_pt | bucket | ) |
| void kBucketClear | ( | kBucket_pt | bucket, |
| poly * | p, | ||
| int * | length | ||
| ) |
Definition at line 500 of file kbuckets.cc.
|
inline |
Definition at line 44 of file kbuckets.h.
| kBucket_pt kBucketCreate | ( | ring | r | ) |
Creation/Destruction of buckets.
Definition at line 198 of file kbuckets.cc.
| void kBucketDeleteAndDestroy | ( | kBucket_pt * | bucket | ) |
Definition at line 212 of file kbuckets.cc.
| void kBucketDestroy | ( | kBucket_pt * | bucket | ) |
Definition at line 205 of file kbuckets.cc.
|
inline |
Definition at line 230 of file kbuckets.h.
| poly kBucketExtractLmOfBucket | ( | kBucket_pt | bucket, |
| int | i | ||
| ) |
Definition at line 1260 of file kbuckets.cc.
|
inline |
Definition at line 207 of file kbuckets.h.
|
inline |
Definition at line 225 of file kbuckets.h.
| void kBucketInit | ( | kBucket_pt | bucket, |
| poly | p, | ||
| int | length | ||
| ) |
Definition at line 472 of file kbuckets.cc.
| BOOLEAN kBucketIsCleared | ( | kBucket_pt | bucket | ) |
| number kBucketPolyRed | ( | kBucket_pt | bucket, |
| poly | p, | ||
| int | l, | ||
| poly | spNoether | ||
| ) |
Definition at line 1064 of file kbuckets.cc.
| void kBucketSetLm | ( | kBucket_pt | bucket, |
| poly | lm | ||
| ) |
| void kBucketShallowCopyDelete | ( | kBucket_pt | bucket, |
| ring | new_tailRing, | ||
| omBin | new_tailBin, | ||
| pShallowCopyDeleteProc | p_shallow_copy_delete | ||
| ) |
For changing the ring of the Bpoly to new_tailBin.
Definition at line 514 of file kbuckets.cc.
| void kBucketSimpleContent | ( | kBucket_pt | bucket | ) |
Definition at line 1165 of file kbuckets.cc.
| void kBucketTakeOutComp | ( | kBucket_pt | bucket, |
| long | comp, | ||
| poly * | p, | ||
| int * | l | ||
| ) |
Definition at line 1023 of file kbuckets.cc.
Definition at line 1309 of file kbuckets.cc.