849 r->cfExactDiv=
nfDiv;
905 r->iNumberOfParameters = 1;
908 char ** pParameterNames = (
char **)
omAlloc(
sizeof(
char *));
910 pParameterNames[0] =
omStrDup(name);
913 r->pParameterNames = (
const char**)pParameterNames;
915 r->m_nfPlus1Table=
NULL;
917 if (strlen(name) > 1)
922 r->has_simple_Alloc=
TRUE;
923 r->has_simple_Inverse=
TRUE;
928 WarnS(
"illegal characteristic");
935 #define sixteenlog2 11.09035489 948 if( r->m_nfPlus1Table ==
NULL )
954 assume (r -> m_nfCharQ > 0);
956 r->ch = r->m_nfCharP;
static BOOLEAN nfCoeffIsEqual(const coeffs, n_coeffType, void *)
static number nfRandom(siRandProc p, number, number, const coeffs cf)
static number nfDiv(number a, number b, const coeffs r)
static BOOLEAN nfGreaterZero(number k, const coeffs r)
static const char * nfRead(const char *s, number *a, const coeffs r)
gmp_float log(const gmp_float &a)
BOOLEAN nfDBTest(number a, const char *f, const int l, const coeffs r)
static number nfSub(number a, number b, const coeffs r)
static BOOLEAN nfIsOne(number a, const coeffs r)
static number nfParameter(int i, const coeffs)
static number nfNeg(number c, const coeffs r)
static void nfKillChar(coeffs r)
Creation data needed for finite fields.
static void nfPower(number a, int i, number *result, const coeffs r)
static char * nfCoeffString(const coeffs r)
static void nfWriteShort(number a, const coeffs r)
static BOOLEAN nfIsZero(number a, const coeffs r)
static number nfAdd(number a, number b, const coeffs R)
static nMapFunc nfSetMap(const coeffs src, const coeffs dst)
char name(const Variable &v)
static number nfMult(number a, number b, const coeffs r)
static FORCE_INLINE n_coeffType getCoeffType(const coeffs r)
Returns the type of coeffs domain.
static int nfParDeg(number n, const coeffs r)
static number nfInvers(number c, const coeffs r)
static void nfWriteLong(number a, const coeffs r)
static number nfInit(long i, const coeffs r)
static char * nfCoeffName(const coeffs r)
static void nfReadTable(const int c, const coeffs r)
static void nfCoeffWrite(const coeffs r, BOOLEAN details)
Rational pow(const Rational &a, int e)
static BOOLEAN nfEqual(number a, number b, const coeffs r)
static BOOLEAN nfIsMOne(number a, const coeffs r)
static long nfInt(number &n, const coeffs r)
static BOOLEAN nfGreater(number a, number b, const coeffs r)