My Project  UNKNOWN_GIT_VERSION
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 
LINKAGE void p_Delete__T(poly *pp, const ring r)
Definition: p_Delete__T.cc:11
#define LINKAGE
Definition: mod2.h:141
CanonicalForm pp(const CanonicalForm &)
CanonicalForm pp ( const CanonicalForm & f )
Definition: cf_gcd.cc:248
#define n_Delete__T(n, r)
Definition: p_polys.cc:4796
static poly p_LmFreeAndNext(poly p, ring)
Definition: p_polys.h:704
#define NULL
Definition: omList.c:10
int p
Definition: cfModGcd.cc:4019