Go to the source code of this file.
◆ pp_Mult_Coeff_mm_DivSelect__T()
LINKAGE poly pp_Mult_Coeff_mm_DivSelect__T |
( |
poly |
p, |
|
|
const poly |
m, |
|
|
int & |
shorter, |
|
|
const ring |
r |
|
) |
| |
Definition at line 18 of file pp_Mult_Coeff_mm_DivSelect__T.cc.
20{
26 DECLARE_LENGTH(
const unsigned long length = r->ExpL_Size);
27 int Shorter = 0;
28 poly q = &rp;
29 omBin bin = r->PolyBin;
30
31 do
32 {
34 {
39 p_MemCopy__T(q->exp,
p->exp,
length);
40 }
41 else
42 {
43 Shorter++;
44 }
46 }
49
50 shorter = Shorter;
53}
static BOOLEAN length(leftv result, leftv arg)
#define p_AllocBin(p, bin, r)
static number & pGetCoeff(poly p)
return an alias to the leading coefficient of p assumes that p != NULL NOTE: not copy
static BOOLEAN p_LmDivisibleByNoComp(poly a, poly b, const ring r)