Go to the source code of this file.
◆ btest()
Definition at line 69 of file freealgebra.cc.
74 poly
p=(poly)
h->Data();
BOOLEAN iiCheckTypes(leftv args, const short *type_list, int report)
check a list of arguemys against a given field of types return TRUE if the types match return FALSE (...
◆ freeAlgebra()
Definition at line 4 of file freealgebra.cc.
9 ring r=(ring)args->
Data();
20 else if ((r->block0[
i]==1)&&(r->block1[
i]==r->N))
i++;
23 WerrorS(
"only for rings with a global ordering of one block");
30 WerrorS(
"only for rings with a global ordering of one block");
void WerrorS(const char *s)
static BOOLEAN freeAlgebra(leftv res, leftv args)
BOOLEAN rHasLocalOrMixedOrdering(const ring r)
◆ freealgebra()
Definition at line 130 of file freealgebra.cc.
136 p->iiAddCproc(
"freealgebra.so",
"stest",
TRUE,
stest);
137 p->iiAddCproc(
"freealgebra.so",
"btest",
TRUE,
btest);
static BOOLEAN lpVarAt(leftv res, leftv h)
static BOOLEAN btest(leftv res, leftv h)
static BOOLEAN lpLmDivides(leftv res, leftv h)
static BOOLEAN stest(leftv res, leftv args)
◆ lpLmDivides()
Definition at line 82 of file freealgebra.cc.
88 poly
p=(poly)
h->Data();
89 poly q=(poly)
h->next->Data();
96 ideal I=(ideal)
h->Data();
97 poly q=(poly)
h->next->Data();
103 res->data=(
void*)(
long)1;
107 res->data=(
void*)(
long)0;
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
BOOLEAN p_LPDivisibleBy(poly a, poly b, const ring r)
◆ lpVarAt()
Definition at line 113 of file freealgebra.cc.
118 poly
p=(poly)
h->Data();
119 int pos=(int)((
long)(
h->next->Data()));
poly p_LPVarAt(poly p, int pos, const ring r)
◆ stest()
Definition at line 42 of file freealgebra.cc.
47 poly
p=(poly)args->
CopyD();
49 int sh=(int)((
long)(args->
Data()));
52 WerrorS(
"negative shift for pLPshift");
58 WerrorS(
"pLPshift: too big shift requested\n");
void p_LPshift(poly p, int sh, const ring ri)