19#ifndef SPLIST_IOSTREAM
190 #ifdef SPLIST_IOSTREAM
191 cerr <<
"void spectrumPolyList::insert_node( poly f )" << endl;
192 cerr <<
" no Newton polygon" << endl;
193 cerr <<
" exiting..." << endl;
195 fprintf(
stderr,
"void spectrumPolyList::insert_node( poly f )\n" );
259 *node = (*node)->
next;
282 else if( (*node)->nf!=
NULL )
298 if( (*node)->nf==
NULL )
304 node = &((*node)->next);
309 node = &((*node)->next);
322 #ifdef SPLIST_IOSTREAM
323 s <<
"elements: " <<
l.N << endl;
332 #ifdef SPLIST_IOSTREAM
337 cout <<
"," <<
l.root->weight <<
")" << endl;
344 cout <<
l.root->weight;
352 #ifdef SPLIST_IOSTREAM
371 #ifdef SPLIST_IOSTREAM
Rational weight_shift(poly, const ring r) const
void copy_shallow(spectrumPolyNode *, int, newtonPolygon *)
void delete_monomial(poly, const ring)
void insert_node(poly, poly, const ring)
void delete_node(spectrumPolyNode **)
void copy_shallow(spectrumPolyNode *, poly, const Rational &, poly, const ring)
const CanonicalForm int s
static void p_LmDelete(poly p, const ring r)
static int p_Cmp(poly p1, poly p2, ring r)
static BOOLEAN p_LmDivisibleByNoComp(poly a, poly b, const ring r)
static void p_Delete(poly *p, const ring r)
static poly p_Copy(poly p, const ring r)
returns a copy of p
ostream & operator<<(ostream &s, const spectrum &spec)