 |
My Project
debian-1:4.1.1-p2+ds-4build2
|
Go to the source code of this file.
|
static void | gCoeffWrite (const coeffs r, BOOLEAN b) |
|
char * | gCoeffString (const coeffs r) |
|
char * | gCoeffName (const coeffs r) |
|
void | gKillChar (coeffs r) |
|
void | gSetChar (coeffs r) |
|
static number | gMult (number a, number b, const coeffs cf) |
|
static number | gSub (number a, number b, const coeffs cf) |
|
static number | gAdd (number a, number b, const coeffs cf) |
|
static number | gDiv (number a, number b, const coeffs cf) |
|
static number | gIntMod (number a, number b, const coeffs cf) |
|
static number | gExactDiv (number a, number b, const coeffs cf) |
|
static number | gInit (long i, const coeffs cf) |
|
static number | gInitMPZ (mpz_t i, const coeffs cf) |
|
static int | gSize (number a, const coeffs) |
|
static long | gInt (number &a, const coeffs) |
|
static void | gMPZ (mpz_t result, number &n, const coeffs r) |
|
static number | gInpNeg (number a, const coeffs r) |
|
static number | gInvers (number a, const coeffs r) |
|
static number | gCopy (number a, const coeffs r) |
|
static number | gRePart (number a, const coeffs r) |
|
static number | gImPart (number a, const coeffs r) |
|
static void | gWriteLong (number a, const coeffs r) |
|
static void | gWriteShort (number a, const coeffs r) |
|
static const char * | gRead (const char *s, number *a, const coeffs r) |
|
static void | gNormalize (number &a, const coeffs r) |
|
static BOOLEAN | gGreater (number a, number b, const coeffs r) |
|
static BOOLEAN | gEqual (number a, number b, const coeffs r) |
|
static BOOLEAN | gIsZero (number a, const coeffs r) |
|
static BOOLEAN | gIsOne (number a, const coeffs r) |
|
static BOOLEAN | gIsMOne (number a, const coeffs r) |
|
static BOOLEAN | gGreaterZero (number a, const coeffs r) |
|
static void | gPower (number a, int i, number *result, const coeffs r) |
|
static number | gGcd (number a, number b, const coeffs) |
|
static number | gSubringGcd (number a, number b, const coeffs) |
|
static number | gGetDenom (number &a, const coeffs) |
|
static number | gGetNumerator (number &a, const coeffs) |
|
static number | gQuotRem (number a, number b, number *rem, const coeffs r) |
|
static number | gLcm (number a, number b, const coeffs r) |
|
static number | gNormalizeHelper (number a, number b, const coeffs r) |
|
static void | gDelete (number *a, const coeffs r) |
|
static nMapFunc | gSetMap (const coeffs src, const coeffs dst) |
|
static void | gWriteFd (number a, FILE *f, const coeffs r) |
|
static number | gReadFd (s_buff f, const coeffs r) |
|
static number | gFarey (number p, number n, const coeffs) |
|
static number | gChineseRemainder (number *x, number *q, int rl, BOOLEAN sym, CFArray &inv_cache, const coeffs) |
|
static number | gRandom (siRandProc p, number p1, number p2, const coeffs cf) |
|
static BOOLEAN | gDivBy (number a, number b, const coeffs) |
|
static number | gExtGcd (number a, number b, number *s, number *t, const coeffs) |
|
static number | gGetUnit (number n, const coeffs r) |
|
static BOOLEAN | gIsUnit (number a, const coeffs) |
|
static int | gDivComp (number a, number b, const coeffs r) |
|
static BOOLEAN | gDBTest (number a, const char *f, const int l, const coeffs r) |
|
BOOLEAN | gInitChar (coeffs r, void *p) |
|
◆ generic_pair
Definition at line 28 of file generics.cc.
Data Fields |
number |
a1 |
|
number |
a2 |
|
◆ gAdd()
static number gAdd |
( |
number |
a, |
|
|
number |
b, |
|
|
const coeffs |
cf |
|
) |
| |
|
static |
◆ gChineseRemainder()
static number gChineseRemainder |
( |
number * |
x, |
|
|
number * |
q, |
|
|
int |
rl, |
|
|
BOOLEAN |
sym, |
|
|
CFArray & |
inv_cache, |
|
|
const |
coeffs |
|
) |
| |
|
static |
Definition at line 403 of file generics.cc.
405 printf(
"gChineseREmainder\n");
◆ gCoeffName()
◆ gCoeffString()
◆ gCoeffWrite()
◆ gCopy()
◆ gDBTest()
◆ gDelete()
◆ gDiv()
static number gDiv |
( |
number |
a, |
|
|
number |
b, |
|
|
const coeffs |
cf |
|
) |
| |
|
static |
◆ gDivBy()
Definition at line 413 of file generics.cc.
421 printf(
"gDivBy:%d,%d\n",b1,b2);
◆ gDivComp()
static int gDivComp |
( |
number |
a, |
|
|
number |
b, |
|
|
const coeffs |
r |
|
) |
| |
|
static |
Definition at line 455 of file generics.cc.
463 printf(
"gDivComp:%d,%d\n",i1,i2);
◆ gEqual()
◆ gExactDiv()
static number gExactDiv |
( |
number |
a, |
|
|
number |
b, |
|
|
const coeffs |
cf |
|
) |
| |
|
static |
◆ gExtGcd()
static number gExtGcd |
( |
number |
a, |
|
|
number |
b, |
|
|
number * |
s, |
|
|
number * |
t, |
|
|
const |
coeffs |
|
) |
| |
|
static |
◆ gFarey()
static number gFarey |
( |
number |
p, |
|
|
number |
n, |
|
|
const |
coeffs |
|
) |
| |
|
static |
◆ gGcd()
static number gGcd |
( |
number |
a, |
|
|
number |
b, |
|
|
const |
coeffs |
|
) |
| |
|
static |
◆ gGetDenom()
static number gGetDenom |
( |
number & |
a, |
|
|
const |
coeffs |
|
) |
| |
|
static |
◆ gGetNumerator()
static number gGetNumerator |
( |
number & |
a, |
|
|
const |
coeffs |
|
) |
| |
|
static |
◆ gGetUnit()
◆ gGreater()
◆ gGreaterZero()
Definition at line 294 of file generics.cc.
301 printf(
"gGreaterZero\n");
◆ gImPart()
◆ gInit()
◆ gInitChar()
◆ gInitMPZ()
◆ gInpNeg()
◆ gInt()
static long gInt |
( |
number & |
a, |
|
|
const |
coeffs |
|
) |
| |
|
static |
Definition at line 148 of file generics.cc.
155 printf(
"gInt: %ld, %ld\n",s1,s2);
◆ gIntMod()
static number gIntMod |
( |
number |
a, |
|
|
number |
b, |
|
|
const coeffs |
cf |
|
) |
| |
|
static |
◆ gInvers()
◆ gIsMOne()
◆ gIsOne()
◆ gIsUnit()
Definition at line 444 of file generics.cc.
451 printf(
"gIsUnit:%d,%d\n",b1,b2);
◆ gIsZero()
◆ gKillChar()
◆ gLcm()
static number gLcm |
( |
number |
a, |
|
|
number |
b, |
|
|
const coeffs |
r |
|
) |
| |
|
static |
◆ gMPZ()
static void gMPZ |
( |
mpz_t |
result, |
|
|
number & |
n, |
|
|
const coeffs |
r |
|
) |
| |
|
static |
◆ gMult()
static number gMult |
( |
number |
a, |
|
|
number |
b, |
|
|
const coeffs |
cf |
|
) |
| |
|
static |
◆ gNormalize()
◆ gNormalizeHelper()
static number gNormalizeHelper |
( |
number |
a, |
|
|
number |
b, |
|
|
const coeffs |
r |
|
) |
| |
|
static |
◆ gPower()
static void gPower |
( |
number |
a, |
|
|
int |
i, |
|
|
number * |
result, |
|
|
const coeffs |
r |
|
) |
| |
|
static |
◆ gQuotRem()
static number gQuotRem |
( |
number |
a, |
|
|
number |
b, |
|
|
number * |
rem, |
|
|
const coeffs |
r |
|
) |
| |
|
static |
◆ gRandom()
◆ gRead()
Definition at line 219 of file generics.cc.
221 gcp cc=(gcp)
omalloc(
sizeof(*cc));
224 mpz_ptr tt=(mpz_ptr)tmp;
◆ gReadFd()
◆ gRePart()
◆ gSetChar()
◆ gSetMap()
◆ gSize()
static int gSize |
( |
number |
a, |
|
|
const |
coeffs |
|
) |
| |
|
static |
Definition at line 137 of file generics.cc.
144 printf(
"gSize: %d, %d\n",s1,s2);
◆ gSub()
static number gSub |
( |
number |
a, |
|
|
number |
b, |
|
|
const coeffs |
cf |
|
) |
| |
|
static |
◆ gSubringGcd()
static number gSubringGcd |
( |
number |
a, |
|
|
number |
b, |
|
|
const |
coeffs |
|
) |
| |
|
static |
◆ gWriteFd()
static void gWriteFd |
( |
number |
a, |
|
|
FILE * |
f, |
|
|
const coeffs |
r |
|
) |
| |
|
static |
◆ gWriteLong()
◆ gWriteShort()
◆ coeffs1
◆ coeffs2
static number gInvers(number a, const coeffs r)
static number gGetUnit(number n, const coeffs r)
static BOOLEAN gDBTest(number a, const char *f, const int l, const coeffs r)
static number gSub(number a, number b, const coeffs cf)
static int gDivComp(number a, number b, const coeffs r)
static number gReadFd(s_buff f, const coeffs r)
static void gWriteFd(number a, FILE *f, const coeffs r)
static BOOLEAN gEqual(number a, number b, const coeffs r)
coeffs nInitChar(n_coeffType t, void *parameter)
one-time initialisations for new coeffs in case of an error return NULL
static number gCopy(number a, const coeffs r)
static BOOLEAN gDivBy(number a, number b, const coeffs)
static BOOLEAN gIsMOne(number a, const coeffs r)
static BOOLEAN gIsZero(number a, const coeffs r)
static number gMult(number a, number b, const coeffs cf)
static BOOLEAN gGreaterZero(number a, const coeffs r)
static int gSize(number a, const coeffs)
static BOOLEAN gIsUnit(number a, const coeffs)
static long gInt(number &a, const coeffs)
static number gDiv(number a, number b, const coeffs cf)
@ n_Z
only used if HAVE_RINGS is defined
static BOOLEAN gIsOne(number a, const coeffs r)
static void gWriteShort(number a, const coeffs r)
static void gCoeffWrite(const coeffs r, BOOLEAN b)
static BOOLEAN gGreater(number a, number b, const coeffs r)
static void gNormalize(number &a, const coeffs r)
static number gInpNeg(number a, const coeffs r)
static number gInit(long i, const coeffs cf)
static void gPower(number a, int i, number *result, const coeffs r)
static number gRandom(siRandProc p, number p1, number p2, const coeffs cf)
char * gCoeffName(const coeffs r)
static void gDelete(number *a, const coeffs r)
static nMapFunc gSetMap(const coeffs src, const coeffs dst)
static number gAdd(number a, number b, const coeffs cf)
static number gExtGcd(number a, number b, number *s, number *t, const coeffs)
static const char * gRead(const char *s, number *a, const coeffs r)
const CanonicalForm int s
static void gWriteLong(number a, const coeffs r)
#define n_Test(a, r)
BOOLEAN n_Test(number a, const coeffs r)
static number gGetNumerator(number &a, const coeffs)
char * gCoeffString(const coeffs r)
static number gGcd(number a, number b, const coeffs)
static number gGetDenom(number &a, const coeffs)