849 r->cfExactDiv=
nfDiv;
893 r->nNULL = (number)0;
906 r->iNumberOfParameters = 1;
909 char ** pParameterNames = (
char **)
omAlloc0(
sizeof(
char *));
910 pParameterNames[0] =
omStrDup(name);
915 r->pParameterNames = (
const char**)pParameterNames;
920 r->m_nfPlus1Table=
NULL;
922 if (strlen(name) > 1)
927 r->has_simple_Alloc=
TRUE;
928 r->has_simple_Inverse=
TRUE;
933 Warn(
"illegal characteristic");
952 if( r->m_nfPlus1Table ==
NULL )
958 assume (r -> m_nfCharQ > 0);
960 r->ch = r->m_nfCharP;
BOOLEAN nfIsZero(number a, const coeffs r)
void nfReadTable(const int c, const coeffs r)
static BOOLEAN nfCoeffIsEqual(const coeffs, n_coeffType, void *)
static number nfRandom(siRandProc p, number, number, const coeffs cf)
number nfInit(long i, const coeffs r)
number nfNeg(number c, const coeffs r)
gmp_float log(const gmp_float &a)
BOOLEAN nfDBTest(number a, const char *f, const int l, const coeffs r)
number nfParameter(int i, const coeffs r)
BOOLEAN nfIsMOne(number a, const coeffs r)
static void nfKillChar(coeffs r)
BOOLEAN nfGreater(number a, number b, const coeffs r)
Creation data needed for finite fields.
number nfDiv(number a, number b, const coeffs r)
number nfAdd(number a, number b, const coeffs r)
BOOLEAN nfGreaterZero(number k, const coeffs r)
static char * nfCoeffString(const coeffs r)
static void nfWriteShort(number a, const coeffs r)
long nfInt(number &n, const coeffs r)
char name(const Variable &v)
number nfSub(number a, number b, const coeffs r)
void nfPower(number a, int i, number *result, const coeffs r)
static FORCE_INLINE n_coeffType getCoeffType(const coeffs r)
Returns the type of coeffs domain.
number nfInvers(number c, const coeffs r)
static int nfParDeg(number n, const coeffs r)
void nfCoeffWrite(const coeffs r, BOOLEAN details)
number nfMult(number a, number b, const coeffs r)
nMapFunc nfSetMap(const coeffs src, const coeffs dst)
BOOLEAN nfEqual(number a, number b, const coeffs r)
static void nfWriteLong(number a, const coeffs r)
Rational pow(const Rational &a, int e)
const char * nfRead(const char *s, number *a, const coeffs r)
BOOLEAN nfIsOne(number a, const coeffs r)