Initialize the coeffs object.
2520 cf->factoryVarOffset = R->cf->factoryVarOffset +
rVar(R);
2535 cf->cfInpNeg =
ntNeg;
2540 cf->cfExactDiv =
ntDiv;
2557 cf->cfSubringGcd =
ntGcd;
2573 cf->iNumberOfParameters =
rVar(R);
2574 cf->pParameterNames = (
const char**)R->names;
2576 cf->has_simple_Inverse=
FALSE;
static BOOLEAN ntIsMOne(number a, const coeffs cf)
static BOOLEAN ntDBTest(number a, const char *f, const int l, const coeffs r)
char * naCoeffName(const coeffs r)
used for all transcendental extensions, i.e., the top-most extension in an extension tower is transce...
static BOOLEAN ntIsOne(number a, const coeffs cf)
static void ntPower(number a, int exp, number *b, const coeffs cf)
static BOOLEAN ntIsZero(number a, const coeffs cf)
static short rVar(const ring r)
#define rVar(r) (r->N)
static number ntFarey(number p, number n, const coeffs cf)
(fraction), see transext.h
nMapFunc ntSetMap(const coeffs src, const coeffs dst)
Get a mapping function from src into the domain of this type (n_transExt)
static number ntCopy(number a, const coeffs cf)
static FORCE_INLINE BOOLEAN nCoeff_is_Q(const coeffs r)
char * naCoeffString(const coeffs r)
static BOOLEAN ntGreaterZero(number a, const coeffs cf)
static BOOLEAN rCanShortOut(const ring r)
static number ntConvFactoryNSingN(const CanonicalForm n, const coeffs cf)
static void ntWriteShort(number a, const coeffs cf)
static number ntGcd(number a, number b, const coeffs cf)
static int ntParDeg(number a, const coeffs cf)
static void ntClearDenominators(ICoeffsEnumerator &numberCollectionEnumerator, number &c, const coeffs cf)
static void ntNormalize(number &a, const coeffs cf)
static number ntAdd(number a, number b, const coeffs cf)
static void ntWriteLong(number a, const coeffs cf)
static long ntInt(number &a, const coeffs cf)
number ntInit(long i, const coeffs cf)
static void ntKillChar(coeffs cf)
static BOOLEAN ntEqual(number a, number b, const coeffs cf)
static void ntDelete(number *a, const coeffs cf)
static BOOLEAN ntCoeffIsEqual(const coeffs cf, n_coeffType n, void *param)
struct for passing initialization parameters to naInitChar
static void ntCoeffWrite(const coeffs cf, BOOLEAN details)
static const char * ntRead(const char *s, number *a, const coeffs cf)
static FORCE_INLINE n_coeffType getCoeffType(const coeffs r)
Returns the type of coeffs domain.
static number ntChineseRemainder(number *x, number *q, int rl, BOOLEAN, CFArray &inv_cache, const coeffs cf)
static void ntClearContent(ICoeffsEnumerator &numberCollectionEnumerator, number &c, const coeffs cf)
static number ntNormalizeHelper(number a, number b, const coeffs cf)
static number ntMult(number a, number b, const coeffs cf)
static number ntParameter(const int iParameter, const coeffs cf)
return the specified parameter as a number in the given trans.ext.
static int ntSize(number a, const coeffs cf)
static number ntInvers(number a, const coeffs cf)
static number ntNeg(number a, const coeffs cf)
this is in-place, modifies a
static number ntDiv(number a, number b, const coeffs cf)
static number ntGetDenom(number &a, const coeffs cf)
TODO: normalization of a!?
static number ntSub(number a, number b, const coeffs cf)
static CanonicalForm ntConvSingNFactoryN(number n, BOOLEAN, const coeffs cf)
static BOOLEAN ntGreater(number a, number b, const coeffs cf)
static number ntGetNumerator(number &a, const coeffs cf)
TODO: normalization of a!?