 |
My Project
debian-1:4.1.1-p2+ds-4build1
|
Go to the source code of this file.
|
ring | currRing = NULL |
| Widely used global variable which specifies the current polynomial ring for Singular interpreter and legacy implementatins. @Note: one should avoid using it in newer designs, for example due to possible problems in parallelization with threads. More...
|
|
◆ p_Divide()
poly p_Divide |
( |
poly |
p, |
|
|
poly |
q, |
|
|
const ring |
r |
|
) |
| |
polynomial division, ignoring the rest via singclap_pdiive resp. idLift destroyes a,b
Definition at line 31 of file polys.cc.
58 ideal vi=
idInit(1,1); vi->m[0]=q;
59 ideal ui=
idInit(1,1); ui->m[0]=
p;
99 for(
i=comps-1;
i>=0;
i--)
108 ideal vi=
idInit(1,1); vi->m[0]=q;
109 ideal ui=
idInit(1,1); ui->m[0]=I->m[
i];
143 WerrorS(
"division only defined over coefficient domains");
148 WerrorS(
"division over a coefficient domain only implemented for terms");
◆ rChangeCurrRing()
void rChangeCurrRing |
( |
ring |
r | ) |
|
◆ currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and legacy implementatins. @Note: one should avoid using it in newer designs, for example due to possible problems in parallelization with threads.
Definition at line 13 of file polys.cc.
ideal idLift(ideal mod, ideal submod, ideal *rest, BOOLEAN goodShape, BOOLEAN isSB, BOOLEAN divide, matrix *unit, GbVariant alg)
static FORCE_INLINE void nSetChar(const coeffs r)
initialisations after each ring change
#define MATELEM(mat, i, j)
static BOOLEAN rField_is_Domain(const ring r)
void rChangeCurrRing(ring r)
static void p_SetCompP(poly p, int i, ring r)
poly singclap_pdivide(poly f, poly g, const ring r)
ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
void id_Delete(ideal *h, ring r)
deletes an ideal/module/matrix
void p_SetGlobals(const ring r, BOOLEAN complete)
set all properties of a new ring - also called by rComplete
static BOOLEAN rField_is_Ring(const ring r)
poly p_DivideM(poly a, poly b, const ring r)
static void p_Delete(poly *p, const ring r)
static poly p_Add_q(poly p, poly q, const ring r)
ideal idInit(int idsize, int rank)
initialise an ideal / module
void WerrorS(const char *s)
static unsigned long p_SetComp(poly p, unsigned long c, ring r)
CanonicalForm ndConvSingNFactoryN(number, BOOLEAN, const coeffs)
#define SI_RESTORE_OPT1(A)
matrix id_Module2formatedMatrix(ideal mod, int rows, int cols, const ring R)
static long p_MaxComp(poly p, ring lmRing, ring tailRing)