p_Delete__T.cc
Go to the documentation of this file.
1 /****************************************
2 * Computer Algebra System SINGULAR *
3 ****************************************/
4 /***************************************************************
5  * File: p_Delete__Template.cc
6  * Purpose: template for p_Delete
7  * Author: obachman (Olaf Bachmann)
8  * Created: 8/00
9  *******************************************************************/
10 
11 LINKAGE void p_Delete__T(poly* pp, const ring r)
12 {
13  poly p = *pp;
14 
15  while (p != NULL)
16  {
17  n_Delete__T(&(p->coef), r->cf);
18  p = p_LmFreeAndNext(p, r);
19  }
20  *pp = NULL;
21 }
22 
return P p
Definition: myNF.cc:203
LINKAGE void p_Delete__T(poly *pp, const ring r)
Definition: p_Delete__T.cc:11
#define LINKAGE
Definition: mod2.h:153
poly pp
Definition: myNF.cc:296
const ring r
Definition: syzextra.cc:208
#define n_Delete__T(n, r)
Definition: p_polys.cc:4703
static poly p_LmFreeAndNext(poly p, ring)
Definition: p_polys.h:698
#define NULL
Definition: omList.c:10
polyrec * poly
Definition: hilb.h:10