Loading...
Searching...
No Matches
singularWishlist.cc
Go to the documentation of this file.
#include "polys/monomials/p_polys.h"
#include "libpolys/polys/simpleideals.h"
#ifndef SING_NDEBUG
void z_Write(number p, ring r)
{
poly g = p_One(r);
p_SetCoeff(g,p,r);
p_Write(g,r);
p_SetCoeff0(g,n_Init(1,r->cf),r);
p_Delete(&g,r);
return;
}
void id_Write(const ideal I, const ring r)
{
for (int i=0; i<IDELEMS(I); i++)
p_Write(I->m[i],r);
}
#endif
i
int i
Definition cfEzgcd.cc:132
p
int p
Definition cfModGcd.cc:4086
g
g
Definition cfModGcd.cc:4098
n_Init
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:541
p_SetCoeff0
#define p_SetCoeff0(p, n, r)
Definition monomials.h:60
p_One
poly p_One(const ring r)
Definition p_polys.cc:1314
p_polys.h
p_Write
void p_Write(poly p, ring lmRing, ring tailRing)
Definition polys0.cc:342
p_SetCoeff
static number p_SetCoeff(poly p, number n, ring r)
Definition p_polys.h:414
p_Delete
static void p_Delete(poly *p, const ring r)
Definition p_polys.h:903
simpleideals.h
IDELEMS
#define IDELEMS(i)
Definition simpleideals.h:23
id_Write
void id_Write(const ideal I, const ring r)
z_Write
void z_Write(number p, ring r)