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" );
196 fprintf( stderr,
" no Newton polygon\n" );
197 fprintf( stderr,
" exiting...\n" );
246 actual->
next = newnode;
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;
326 fprintf( stdout,
"elements: %d\n",
l.N );
327 fprintf( stdout,
"{" );
332 #ifdef SPLIST_IOSTREAM
337 cout <<
"," <<
l.root->weight <<
")" << endl;
339 fprintf( stdout,
"(" );
341 fprintf( stdout,
"=>" );
343 fprintf( stdout,
"," );
344 cout <<
l.root->weight;
345 fprintf( stdout,
")\n" );
352 #ifdef SPLIST_IOSTREAM
357 cout <<
"," << node->
weight <<
")" << endl;
359 fprintf( stdout,
",(" );
361 fprintf( stdout,
"=>" );
363 fprintf( stdout,
"," );
365 fprintf( stdout,
")\n" );
371 #ifdef SPLIST_IOSTREAM
374 fprintf( stdout,
"}" );
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)