Go to the source code of this file.
◆ _p_LeadmonomDivisibleByNoComp()
static BOOLEAN _p_LeadmonomDivisibleByNoComp |
( |
poly |
a, |
|
|
poly |
b, |
|
|
const ring |
r |
|
) |
| |
|
inlinestatic |
Definition at line 7 of file singularWishlist.h.
8{
9 int i=r->VarL_Size - 1;
10 unsigned long divmask = r->divmask;
11 unsigned long la, lb;
12
13 if (r->VarL_LowIndex >= 0)
14 {
15 i += r->VarL_LowIndex;
16 do
17 {
20 if ((la > lb) ||
21 (((la & divmask) ^ (lb & divmask)) != ((lb - la) & divmask)))
22 {
25 }
27 }
28 while (
i>=r->VarL_LowIndex);
29 }
30 else
31 {
32 do
33 {
34 la = a->exp[r->VarL_Offset[
i]];
35 lb =
b->exp[r->VarL_Offset[
i]];
36 if ((la > lb) ||
37 (((la & divmask) ^ (lb & divmask)) != ((lb - la) & divmask)))
38 {
41 }
43 }
45 }
48}
BOOLEAN p_DebugLmDivisibleByNoComp(poly a, poly b, ring r)
◆ deleteOrdering()
static void deleteOrdering |
( |
ring |
r | ) |
|
|
inlinestatic |
Definition at line 80 of file singularWishlist.h.
81{
83 {
86
90
91 for (
int j=0;
j<
i;
j++)
94 }
95 else
97}
#define omFreeSize(addr, size)
static int rBlocks(ring r)
◆ id_Write()
Definition at line 15 of file singularWishlist.cc.
16{
19}
void p_Write(poly p, ring lmRing, ring tailRing)
◆ idShallowDelete()
static void idShallowDelete |
( |
ideal * |
h | ) |
|
|
inlinestatic |
id_ShallowDelete deletes the monomials of the polynomials stored inside of it
Definition at line 66 of file singularWishlist.h.
67{
69 {
71 k=(*h)->nrows*(*h)->ncols;
76 }
77 return;
78}
#define omFreeBin(addr, bin)
◆ p_LeadmonomDivisibleBy()
static BOOLEAN p_LeadmonomDivisibleBy |
( |
poly |
a, |
|
|
poly |
b, |
|
|
const ring |
r |
|
) |
| |
|
inlinestatic |
p_LmDivisibleBy checks also the divisibility of coefficients
Definition at line 53 of file singularWishlist.h.
54{
56
61}
#define pIfThen1(cond, check)
#define p_LmCheckPolyRing1(p, r)
static BOOLEAN _p_LeadmonomDivisibleByNoComp(poly a, poly b, const ring r)
◆ z_Write()
void z_Write |
( |
number |
p, |
|
|
ring |
r |
|
) |
| |
Definition at line 5 of file singularWishlist.cc.
6{
12 return;
13}
static FORCE_INLINE number n_Init(long i, const coeffs r)
a number representing i in the given coeff field/ring r
#define p_SetCoeff0(p, n, r)
static number p_SetCoeff(poly p, number n, ring r)
static void p_Delete(poly *p, const ring r)