45 wroteCoef=(bNotShortOut)
59 wroteCoef=(bNotShortOut)
79 wroteCoef=(bNotShortOut);
139 int lV = r->isLPring;
146 BOOLEAN endOfBlock = ((
i+1) % lV) == 0;
147 BOOLEAN writeEmptyBlock = ee==0L && endOfBlock && !wroteBlock &&
i < lastVar;
148 if (ee!=0L || writeEmptyBlock)
198 lmRing->ShortOut = bLMShortOut;
199 tailRing->ShortOut = bTAILShortOut;
213 lmRing->ShortOut =
FALSE;
214 tailRing->ShortOut =
FALSE;
218 lmRing->ShortOut = bLMShortOut;
219 tailRing->ShortOut = bTAILShortOut;
237 if ((
p_GetComp(
p, lmRing) == 0) || (!lmRing->VectorOut))
255 if ((
p_GetComp(
p, lmRing) == 0) || (!lmRing->VectorOut))
291 if (
p ==
NULL)
break;
314 if (
p ==
NULL)
break;
348#if !defined(__OPTIMIZE__) || defined(KDEBUG)
373void p_wrp(poly
p, ring lmRing, ring tailRing)
static FORCE_INLINE BOOLEAN n_GreaterZero(number n, const coeffs r)
ordered fields: TRUE iff 'n' is positive; in Z/pZ: TRUE iff 0 < m <= roundedBelow(p/2),...
static FORCE_INLINE BOOLEAN n_IsMOne(number n, const coeffs r)
TRUE iff 'n' represents the additive inverse of the one element, i.e. -1.
static FORCE_INLINE void n_WriteLong(number n, const coeffs r)
write to the output buffer of the currently used reporter
static FORCE_INLINE BOOLEAN n_IsZero(number n, const coeffs r)
TRUE iff 'n' represents the zero element.
static FORCE_INLINE int n_GetChar(const coeffs r)
Return the characteristic of the coeff. domain.
static FORCE_INLINE void n_WriteShort(number n, const coeffs r)
write to the output buffer of the currently used reporter in a shortest possible way,...
static FORCE_INLINE BOOLEAN n_IsOne(number n, const coeffs r)
TRUE iff 'n' represents the one element.
static FORCE_INLINE BOOLEAN nCoeff_is_transExt(const coeffs r)
TRUE iff r represents a transcendental extension field.
const CanonicalForm int s
static number & pGetCoeff(poly p)
return an alias to the leading coefficient of p assumes that p != NULL NOTE: not copy
The main handler for Singular numbers which are suitable for Singular polynomials.
void p_Normalize(poly p, const ring r)
static BOOLEAN p_LmIsConstantComp(const poly p, const ring r)
static long p_GetExp(const poly p, const unsigned long iBitmask, const int VarOffset)
get a single variable exponent @Note: the integer VarOffset encodes:
char * p_String(poly p, ring lmRing, ring tailRing)
void p_String0(poly p, ring lmRing, ring tailRing)
print p according to ShortOut in lmRing & tailRing
void p_Write(poly p, ring lmRing, ring tailRing)
static void writemon(poly p, int ko, const ring r)
void p_String0Long(const poly p, ring lmRing, ring tailRing)
print p in a long way...
void p_String0Short(const poly p, ring lmRing, ring tailRing)
if possible print p in a short way...
void p_wrp0(poly p, ring ri)
static void writemonLP(poly p, int ko, const ring r)
void p_Write0(poly p, ring lmRing, ring tailRing)
void p_wrp(poly p, ring lmRing, ring tailRing)
void StringSetS(const char *st)
void StringAppendS(const char *st)
void PrintS(const char *s)
static BOOLEAN rField_is_R(const ring r)
static BOOLEAN rField_is_long_C(const ring r)
static char * rRingVar(short i, const ring r)
static BOOLEAN rShortOut(const ring r)
static char const ** rParameter(const ring r)
(r->cf->parameter)
static BOOLEAN rField_is_long_R(const ring r)
static BOOLEAN rCanShortOut(const ring r)
static short rVar(const ring r)
#define rVar(r) (r->N)
int p_mLastVblock(poly p, const ring ri)