14 #include <factory/factory.h> 138 mpz_init_set_ui(m, i);
141 number res1=
reinterpret_cast<number
>(
res);
150 number res1=
reinterpret_cast<number
>(
res);
218 *a=reinterpret_cast <number>(&
f);
270 else {
return FALSE; }
355 const int c = (int) (
long)
p;
405 r->nNULL = (number) 0;
408 r->has_simple_Alloc=
TRUE;
409 r->has_simple_Inverse=
TRUE;
void nAEpDelete(number *a, const coeffs r)
const CanonicalForm int s
number nAEpMult(number a, number b, const coeffs r)
number nAEpExactDiv(number a, number b, const coeffs r)
void p_poly_div_to(p_poly &, p_poly &, p_poly)
number nAEpSub(number a, number b, const coeffs r)
void p_poly_mult_n(p_poly, p_poly)
void nAEpPower(number a, int i, number *result, const coeffs r)
const char * nAEpRead(const char *s, number *a, const coeffs r)
number nAEpLcm(number a, number b, const coeffs r)
long nAEpInt(number &a, const coeffs r)
void nAEpWriteShort(number &a, const coeffs r)
void nAEpCoeffWrite(const coeffs r, BOOLEAN details)
number nAEpNeg(number c, const coeffs r)
void nAEpInpMult(number &a, number b, const coeffs r)
number nAEpNormalize(number a, number b, const coeffs r)
Coefficient rings, fields and other domains suitable for Singular polynomials.
void nAEpWriteLong(number &a, const coeffs r)
number nAEpAdd(number a, number b, const coeffs r)
The main handler for Singular numbers which are suitable for Singular polynomials.
void p_poly_gcd(p_poly, p_poly)
number nAEpIntMod(number a, number b, const coeffs r)
int nAEpSize(number a, const coeffs r)
BOOLEAN nAEpCoeffIsEqual(number a, number b, const coeffs r)
number nAEpGcd(number a, number b, const coeffs r)
nMapFunc npSetMap(const coeffs src, const coeffs dst)
BOOLEAN nAEpGreaterZero(number a, number b, const coeffs r)
int is_equal(const p_poly) const
BOOLEAN nAEpIsOne(number a, const coeffs r)
BOOLEAN nAEpIsZero(number a, const coeffs r)
void p_poly_mult_n_to(const p_poly)
BOOLEAN n_pAEInitChar(coeffs r, void *p)
BOOLEAN nAEpClearDenominators(number a, const coeffs r)
void p_poly_sub_to(const p_poly)
number nAEpMPZ(number a, const coeffs r)
number nAEpRePart(number a, number b, const coeffs r)
BOOLEAN nAEpClearContent(number a, const coeffs r)
BOOLEAN nAEpGreater(number a, number b, const coeffs r)
number nAEpCopy(number a, number b, const coeffs r)
void p_poly_set(const p_poly)
BOOLEAN nAEpIsMOne(number a, const coeffs r)
BOOLEAN nAEpEqual(number a, number b, const coeffs r)
number nAEpSetMap(number a, const coeffs r)
number nAEpInit(long i, const coeffs r)
number nAEpImPart(number a, number b, const coeffs r)
number nAEpInitMPZ(mpz_t m, const coeffs r)
number nAEpGetNumerator(number &a, const coeffs r)
void p_poly_add_to(const p_poly)
number nAEpDiv(number a, number b, const coeffs r)
number nAEpGetDenom(number &a, const coeffs r)