libpolys
polys
templates
Functions
p_Neg__T.cc File Reference
Go to the source code of this file.
Functions
LINKAGE
poly
p_Neg__T
(
poly
p
,
const
ring
r
)
Function Documentation
◆
p_Neg__T()
LINKAGE
poly
p_Neg__T
(
poly
p
,
const
ring
r
)
Definition at line
17
of file
p_Neg__T.cc
.
18
{
19
poly
q =
p
;
20
while
(
p
!=
NULL
)
21
{
22
pSetCoeff0
(
p
, n_Neg__T(
pGetCoeff
(
p
),
r
->cf));
23
pIter
(
p
);
24
}
25
return
q;
26
}
p
return P p
Definition:
myNF.cc:203
pGetCoeff
static number & pGetCoeff(poly p)
return an alias to the leading coefficient of p assumes that p != NULL NOTE: not copy ...
Definition:
monomials.h:51
pIter
#define pIter(p)
Definition:
monomials.h:44
r
const ring r
Definition:
syzextra.cc:208
NULL
#define NULL
Definition:
omList.c:10
pSetCoeff0
#define pSetCoeff0(p, n)
Definition:
monomials.h:67
poly
polyrec * poly
Definition:
hilb.h:10
Generated on Fri Feb 16 2018 01:33:54 by
doxygen 1.8.14
for
Singular UNKNOWN_GIT_VERSION