69 ideal vi=
idInit(1,1); vi->m[0]=q;
70 ideal ui=
idInit(1,1); ui->m[0]=
p;
110 for(
i=comps-1;
i>=0;
i--)
127 ideal vi=
idInit(1,1); vi->m[0]=q;
128 ideal ui=
idInit(1,1); ui->m[0]=I->m[
i];
165 WerrorS(
"division over a coefficient domain only implemented for terms");
249 for(
i=comps-1;
i>=0;
i--)
266 ideal vi=
idInit(1,1); vi->m[0]=q;
267 ideal ui=
idInit(1,1); ui->m[0]=I->m[
i];
305 WerrorS(
"division over a coefficient domain only implemented for terms");
353 ideal vi=
idInit(1,1); vi->m[0]=q;
354 ideal ui=
idInit(1,1); ui->m[0]=
p;
367 rest=
R->m[0];
R->m[0]=
NULL;
422 if (
IDELEMS(S1)!=1)
WarnS(
"error in syzygy computation for GCD");
BOOLEAN convSingTrP(poly p, const ring r)
poly singclap_pmod(poly f, poly g, const ring r)
poly singclap_pdivide(poly f, poly g, const ring r)
poly singclap_gcd_r(poly f, poly g, const ring r)
@ n_transExt
used for all transcendental extensions, i.e., the top-most extension in an extension tower is transce...
static FORCE_INLINE void nSetChar(const coeffs r)
initialisations after each ring change
static FORCE_INLINE BOOLEAN nCoeff_is_Ring(const coeffs r)
void WerrorS(const char *s)
ideal idSyzygies(ideal h1, tHomog h, intvec **w, BOOLEAN setSyzComp, BOOLEAN setRegularity, int *deg, GbVariant alg)
ideal idLift(ideal mod, ideal submod, ideal *rest, BOOLEAN goodShape, BOOLEAN isSB, BOOLEAN divide, matrix *unit, GbVariant alg)
represents the generators of submod in terms of the generators of mod (Matrix(SM)*U-Matrix(rest)) = M...
BOOLEAN idIs0(ideal h)
returns true if h is the zero ideal
void p_TakeOutComp(poly *p, long comp, poly *q, int *lq, const ring r)
#define MATELEM(mat, i, j)
1-based access to matrix
CanonicalForm ndConvSingNFactoryN(number, BOOLEAN, const coeffs)
#define SI_RESTORE_OPT1(A)
poly p_DivideM(poly a, poly b, const ring r)
void p_Content(poly ph, const ring r)
poly pp_DivideM(poly a, poly b, const ring r)
void p_Norm(poly p1, const ring r)
poly p_Cleardenom(poly p, const ring r)
static poly p_Add_q(poly p, poly q, const ring r)
static void p_SetCompP(poly p, int i, ring r)
static unsigned long p_SetComp(poly p, unsigned long c, ring r)
static BOOLEAN p_IsConstant(const poly p, const ring r)
static long p_MaxComp(poly p, ring lmRing, ring tailRing)
static void p_Delete(poly *p, const ring r)
static poly p_Copy(poly p, const ring r)
returns a copy of p
void rChangeCurrRing(ring r)
poly p_Divide(poly p, poly q, const ring r)
polynomial division a/b, ignoring the rest via singclap_pdivide resp. idLift destroys a,...
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
poly pp_Divide(poly p, poly q, const ring r)
polynomial division a/b, ignoring the rest via singclap_pdivide resp. idLift does not destroy a,...
poly singclap_gcd(poly f, poly g, const ring r)
polynomial gcd via singclap_gcd_r resp. idSyzygies destroys f and g
poly p_DivRem(poly p, poly q, poly &rest, const ring r)
Compatibility layer for legacy polynomial operations (over currRing)
void p_SetGlobals(const ring r, BOOLEAN complete)
set all properties of a new ring - also called by rComplete
static BOOLEAN rField_is_Zp(const ring r)
static n_coeffType rFieldType(const ring r)
the type of the coefficient filed of r (n_Zp, n_Q, etc)
static BOOLEAN rIsPluralRing(const ring r)
we must always have this test!
static BOOLEAN rIsNCRing(const ring r)
#define rField_is_Ring(R)
ideal idInit(int idsize, int rank)
initialise an ideal / module
void id_Delete(ideal *h, ring r)
deletes an ideal/module/matrix
matrix id_Module2formatedMatrix(ideal mod, int rows, int cols, const ring R)