Go to the source code of this file.
◆ plain_spoly()
poly plain_spoly |
( |
poly |
f, |
|
|
poly |
g |
|
) |
| |
Definition at line 168 of file ringgb.cc.
169{
172 poly fm, gm;
179 return(sp);
180}
KINLINE BOOLEAN k_GetLeadTerms(const poly p1, const poly p2, const ring p_r, poly &m1, poly &m2, const ring m_r)
int ksCheckCoeff(number *a, number *b)
static number & pGetCoeff(poly p)
return an alias to the leading coefficient of p assumes that p != NULL NOTE: not copy
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
◆ reduce_poly_fct()
poly reduce_poly_fct |
( |
poly |
p, |
|
|
ring |
r |
|
) |
| |
Definition at line 29 of file ringgb.cc.
30{
32}
poly kFindZeroPoly(poly input_p, ring leadRing, ring tailRing)
◆ ringNF()
poly ringNF |
( |
poly |
f, |
|
|
ideal |
G, |
|
|
ring |
r |
|
) |
| |
Definition at line 199 of file ringgb.cc.
200{
201
206 int c = 1;
207 while (
h !=
NULL &&
i >= 0) {
208
209
210
211
212
213
217
218
219
221 c++;
222 }
224}
#define pCopy(p)
return a copy of the poly
int findRingSolver(poly rside, ideal G, ring r)
poly plain_spoly(poly f, poly g)
◆ ringRedNF()
poly ringRedNF |
( |
poly |
f, |
|
|
ideal |
G, |
|
|
ring |
r |
|
) |
| |
Definition at line 117 of file ringgb.cc.
118{
119
123 int c = 0;
125 {
126 Print(
"%d-step RedNF - g=", c);
135 }
136 c++;
137 }
139}
#define pHead(p)
returns newly allocated copy of Lm(p), coef is copied, next=NULL, p might be NULL
#define pLmDelete(p)
assume p != NULL, deletes Lm(p)->coef and Lm(p)
void PrintS(const char *s)
poly ringNF(poly f, ideal G, ring r)
◆ testGB()
int testGB |
( |
ideal |
I, |
|
|
ideal |
GI |
|
) |
| |
Definition at line 226 of file ringgb.cc.
226 {
233 PrintS(
"Not reduced to zero from I: ");
238 return(0);
239 }
241 }
242 PrintS(
" Yes!\nspoly --> 0?");
244 {
246 {
252 {
262 return(0);
263 }
269 }
270 }
272 {
273 PrintS(
" Yes!\nzero-spoly --> 0?");
275 {
288 return(0);
289 }
293 }
294 }
297 return(1);
298}
static BOOLEAN rField_is_Domain(const ring r)
poly plain_zero_spoly(poly h)