My Project
Loading...
Searching...
No Matches
singularWishlist.cc
Go to the documentation of this file.
3
4#ifndef SING_NDEBUG
5void z_Write(number p, ring r)
6{
7 poly g = p_One(r);
8 p_SetCoeff(g,p,r);
9 p_Write(g,r);
10 p_SetCoeff0(g,n_Init(1,r->cf),r);
11 p_Delete(&g,r);
12 return;
13}
14
15void id_Write(const ideal I, const ring r)
16{
17 for (int i=0; i<IDELEMS(I); i++)
18 p_Write(I->m[i],r);
19}
20#endif
int i
Definition: cfEzgcd.cc:132
int p
Definition: cfModGcd.cc:4078
g
Definition: cfModGcd.cc:4090
static FORCE_INLINE number n_Init(long i, const coeffs r)
a number representing i in the given coeff field/ring r
Definition: coeffs.h:535
#define p_SetCoeff0(p, n, r)
Definition: monomials.h:60
poly p_One(const ring r)
Definition: p_polys.cc:1313
void p_Write(poly p, ring lmRing, ring tailRing)
Definition: polys0.cc:342
static number p_SetCoeff(poly p, number n, ring r)
Definition: p_polys.h:410
static void p_Delete(poly *p, const ring r)
Definition: p_polys.h:899
#define IDELEMS(i)
Definition: simpleideals.h:23
void id_Write(const ideal I, const ring r)
void z_Write(number p, ring r)