9{
14 for(
i=1;
i<=preimage_r->N;
i++)
15 {
18 {
20 }
21 else if (pExp!=0)
22 {
25 {
28 }
29 }
30 else
32 }
37}
poly maEvalVariable(poly p, int v, int pExp, ideal s, const ring dst_r)
static number & pGetCoeff(poly p)
return an alias to the leading coefficient of p assumes that p != NULL NOTE: not copy
poly p_NSet(number n, const ring r)
returns the poly representing the number n, destroys n
static void p_LmDelete(poly p, const ring r)
static unsigned long p_SetExp(poly p, const unsigned long e, const unsigned long iBitmask, const int VarOffset)
set a single variable exponent @Note: VarOffset encodes the position in p->exp
static void p_Setm(poly p, const ring r)
static long p_GetExp(const poly p, const unsigned long iBitmask, const int VarOffset)
get a single variable exponent @Note: the integer VarOffset encodes:
static poly p_Mult_mm(poly p, poly m, const ring r)
static BOOLEAN rIsNCRing(const ring r)