Go to the source code of this file.
|
| poly | p_LPshiftT (poly p, int sh, int uptodeg, int lV, kStrategy strat, const ring r) |
| |
| poly | p_LPshift (poly p, int sh, int uptodeg, int lV, const ring r) |
| |
| poly | p_mLPshift (poly p, int sh, int uptodeg, int lV, const ring r) |
| |
| poly | pLPshift (poly p, int sh, int uptodeg, int lV) |
| |
| poly | pmLPshift (poly p, int sh, int uptodeg, int lV) |
| |
| int | pLastVblock (poly p, int lV) |
| |
| int | pmLastVblock (poly p, int lV) |
| |
| int | p_LastVblockT (poly p, int lV, kStrategy strat, const ring r) |
| |
| int | p_LastVblock (poly p, int lV, const ring r) |
| |
| int | p_mLastVblock (poly p, int lV, const ring r) |
| |
| int | pFirstVblock (poly p, int lV) |
| |
| int | pmFirstVblock (poly p, int lV) |
| |
| int | isInV (poly p, int lV) |
| |
| int | poly_isInV (poly p, int lV) |
| |
| int | ideal_isInV (ideal I, int lV) |
| |
| int | itoInsert (poly p, int uptodeg, int lV, const ring r) |
| |
| poly | p_ShrinkT (poly p, int lV, kStrategy strat, const ring r) |
| |
| poly | p_Shrink (poly p, int lV, const ring r) |
| |
| poly | p_mShrink (poly p, int lV, const ring r) |
| |
Definition at line 444 of file shiftgb.cc.
449 for(i = 0; i <=
s; i++)
const CanonicalForm int s
int poly_isInV(poly p, int lV)
Definition at line 377 of file shiftgb.cc.
381 if (lV <= 0)
return(0);
395 for (i=(j-1)*lV + 1; i<= j*lV; i++)
397 if (e[i]) B[
j] = B[
j]+1;
409 if (j==0)
goto ret_true;
const const intvec const intvec const ring _currRing const const intvec const intvec const ring _currRing int
ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
#define pIsConstant(p)
like above, except that Comp might be != 0
#define pGetExpV(p, e)
Gets a copy of (resp. set) the exponent vector, where e is assumed to point to (r->N +1)*sizeof(long)...
Definition at line 460 of file shiftgb.cc.
int p_mLastVblock(poly p, int lV, const ring r)
ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
static int si_max(const int a, const int b)
int p_LastVblock(poly p, int lV, const ring r)
Definition at line 288 of file shiftgb.cc.
int p_mLastVblock(poly p, int lV, const ring r)
static int si_max(const int a, const int b)
Definition at line 265 of file shiftgb.cc.
int p_mLastVblock(poly p, int lV, const ring r)
BOOLEAN p_LmCheckIsFromRing(poly p, ring r)
static int si_max(const int a, const int b)
BOOLEAN p_CheckIsFromRing(poly p, ring r)
Definition at line 74 of file shiftgb.cc.
82 if (sh == 0)
return(
p);
poly p_mLPshift(poly p, int sh, int uptodeg, int lV, const ring r)
static poly p_Add_q(poly p, poly q, const ring r)
Definition at line 45 of file shiftgb.cc.
57 if (sh == 0)
return(
p);
const CanonicalForm int s
BOOLEAN p_LmCheckIsFromRing(poly p, ring r)
BOOLEAN p_CheckIsFromRing(poly p, ring r)
poly p_mLPshift(poly p, int sh, int uptodeg, int lV, const ring r)
static poly p_Add_q(poly p, poly q, const ring r)
Definition at line 306 of file shiftgb.cc.
318 while ( (!e[j]) && (j>=1) ) j--;
322 PrintS(
"pmLastVblock: unexpected zero exponent vector\n");
326 b = (
int)((j+lV-1)/lV);
const const intvec const intvec const ring _currRing const const intvec const intvec const ring _currRing int
static void p_GetExpV(poly p, int *ev, const ring r)
static BOOLEAN p_LmIsConstant(const poly p, const ring r)
void PrintS(const char *s)
Definition at line 94 of file shiftgb.cc.
98 if (sh == 0)
return(
p);
103 PrintS(
"pmLPshift: negative shift requested\n");
109 if (L+sh-1 > uptodeg)
112 PrintS(
"p_mLPshift: too big shift requested\n");
123 for (j=1; j<= L*lV ; j++)
127 s[j + (sh*lV)] = e[j];
int p_mLastVblock(poly p, int lV, const ring r)
const const intvec const intvec const ring _currRing const const intvec const intvec const ring _currRing int
const CanonicalForm int s
static unsigned long p_SetComp(poly p, unsigned long c, ring r)
static void p_GetExpV(poly p, int *ev, const ring r)
static void p_SetExpV(poly p, int *ev, const ring r)
void PrintS(const char *s)
static FORCE_INLINE number n_Copy(number n, const coeffs r)
return a copy of 'n'
#define p_SetCoeff0(p, n, r)
#define omCheckAddr(addr)
Definition at line 529 of file shiftgb.cc.
538 int b = (
int)((
r->N +lV-1)/lV);
542 int i,
j;
int cnt = 1;
547 for (i=(j-1)*lV + 1; i<= j*lV; i++)
552 S[(cnt-1)*lV + (i - (j-1)*lV)] = e[i];
const const intvec const intvec const ring _currRing const const intvec const intvec const ring _currRing int
const CanonicalForm int s
static unsigned long p_SetComp(poly p, unsigned long c, ring r)
static void p_GetExpV(poly p, int *ev, const ring r)
static number p_SetCoeff(poly p, number n, ring r)
static void p_SetExpV(poly p, int *ev, const ring r)
Definition at line 509 of file shiftgb.cc.
poly p_mShrink(poly p, int lV, const ring r)
BOOLEAN p_CheckIsFromRing(poly p, ring r)
static poly p_Add_q(poly p, poly q, const ring r)
Definition at line 481 of file shiftgb.cc.
const CanonicalForm int s
BOOLEAN p_LmCheckIsFromRing(poly p, ring r)
poly p_mShrink(poly p, int lV, const ring r)
BOOLEAN p_CheckIsFromRing(poly p, ring r)
static poly p_Add_q(poly p, poly q, const ring r)
Definition at line 331 of file shiftgb.cc.
static int si_min(const int a, const int b)
int pmFirstVblock(poly p, int lV)
Definition at line 222 of file shiftgb.cc.
static int si_max(const int a, const int b)
int pmLastVblock(poly p, int lV)
Definition at line 155 of file shiftgb.cc.
163 if (sh == 0)
return(
p);
poly pmLPshift(poly p, int sh, int uptodeg, int lV)
ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
static poly p_Add_q(poly p, poly q, const ring r)
Definition at line 349 of file shiftgb.cc.
361 while ( (!e[j]) && (j<=currRing->
N-1) ) j++;
365 PrintS(
"pmFirstVblock: unexpected zero exponent vector\n");
const const intvec const intvec const ring _currRing const const intvec const intvec const ring _currRing int
ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
const CanonicalForm CFMap CFMap & N
void PrintS(const char *s)
#define pGetExpV(p, e)
Gets a copy of (resp. set) the exponent vector, where e is assumed to point to (r->N +1)*sizeof(long)...
#define pIsConstantPoly(p)
return TRUE if all monomials of p are constant
Definition at line 240 of file shiftgb.cc.
252 while ( (!e[j]) && (j>=1) ) j--;
257 PrintS(
"pmLastVblock: unexpected zero exponent vector\n");
const const intvec const intvec const ring _currRing const const intvec const intvec const ring _currRing int
ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
void PrintS(const char *s)
#define pGetExpV(p, e)
Gets a copy of (resp. set) the exponent vector, where e is assumed to point to (r->N +1)*sizeof(long)...
#define pIsConstantPoly(p)
return TRUE if all monomials of p are constant
Definition at line 177 of file shiftgb.cc.
182 if (sh == 0)
return(
p);
187 PrintS(
"pmLPshift: negative shift requested\n");
193 if (L+sh-1 > uptodeg)
196 PrintS(
"pmLPshift: too big shift requested\n");
209 s[j + (sh*lV)] = e[j];
const const intvec const intvec const ring _currRing const const intvec const intvec const ring _currRing int
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 ...
ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
void PrintS(const char *s)
#define pGetExpV(p, e)
Gets a copy of (resp. set) the exponent vector, where e is assumed to point to (r->N +1)*sizeof(long)...
int pmLastVblock(poly p, int lV)
Definition at line 429 of file shiftgb.cc.
int isInV(poly p, int lV)