void kBucketClear(kBucket_pt bucket, poly *p, int *length)
void kBucketInit(kBucket_pt bucket, poly lm, int length)
void bit_reduce(poly &f, ring r)
void kBucketDestroy(kBucket_pt *bucket_pt)
static long p_GetExp(const poly p, const unsigned long iBitmask, const int VarOffset)
get a single variable exponent : the integer VarOffset encodes:
static poly pp_Mult_qq(poly p, poly q, const ring r)
static poly p_Mult_nn(poly p, number n, const ring r)
static void p_Delete(poly *p, const ring r)
ideal idInit(int idsize, int rank)
initialise an ideal / module
kBucket_pt kBucketCreate(const ring bucket_ring)
Creation/Destruction of buckets.
poly p_ISet(long i, const ring r)
returns the poly representing the integer i
void kBucket_Add_q(kBucket_pt bucket, poly q, int *l)
Add to Bucket a poly ,i.e. Bpoly == q+Bpoly.