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");
BOOLEAN rHasLocalOrMixedOrdering(const ring r)
void WerrorS(const char *s)
static BOOLEAN freeAlgebra(leftv res, leftv args)
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 130 of file freealgebra.cc.
static BOOLEAN btest(leftv res, leftv h)
static BOOLEAN freeAlgebra(leftv res, leftv args)
static BOOLEAN stest(leftv res, leftv args)
int(* iiAddCproc)(const char *libname, const char *procname, BOOLEAN pstatic, BOOLEAN(*func)(leftv res, leftv v))
static BOOLEAN lpLmDivides(leftv res, leftv h)
static BOOLEAN lpVarAt(leftv res, leftv h)
◆ lpLmDivides()
Definition at line 82 of file freealgebra.cc.
88 poly
p=(poly)h->
Data();
96 ideal I=(ideal)h->
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)
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 (...
◆ lpVarAt()
Definition at line 113 of file freealgebra.cc.
118 poly
p=(poly)h->
Data();
119 int pos=(int)((
long)(h->
next->
Data()));
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
poly p_LPVarAt(poly p, int pos, const ring r)
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 (...
◆ 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 WerrorS(const char *s)
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
void p_LPshift(poly p, int sh, const ring ri)
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 (...