![]() |
My Project
|
#include "misc/auxiliary.h"
#include "factory/factory.h"
#include "misc/mylimits.h"
#include "reporter/reporter.h"
#include "coeffs/coeffs.h"
#include "coeffs/longrat.h"
#include "coeffs/numbers.h"
#include "coeffs/si_gmp.h"
#include "coeffs/generics.h"
#include "coeffs/rintegers.h"
#include <string.h>
Go to the source code of this file.
Data Structures | |
struct | gcp |
Functions | |
static void | gCoeffWrite (const coeffs r, BOOLEAN b) |
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) |
Variables | |
VAR coeffs | coeffs1 |
VAR coeffs | coeffs2 |
struct generic_pair |
Definition at line 27 of file generics.cc.
Data Fields | ||
---|---|---|
number | a1 | |
number | a2 |
Definition at line 76 of file generics.cc.
|
static |
Definition at line 398 of file generics.cc.
Definition at line 41 of file generics.cc.
Definition at line 35 of file generics.cc.
Definition at line 462 of file generics.cc.
Definition at line 408 of file generics.cc.
|
static |
Definition at line 420 of file generics.cc.
|
static |
Definition at line 390 of file generics.cc.
|
static |
|
static |
|
static |
Definition at line 468 of file generics.cc.
|
static |
void gKillChar | ( | coeffs | r | ) |
Definition at line 154 of file generics.cc.
Definition at line 342 of file generics.cc.
|
static |
Definition at line 403 of file generics.cc.
Definition at line 214 of file generics.cc.
Definition at line 385 of file generics.cc.
void gSetChar | ( | coeffs | r | ) |
Definition at line 376 of file generics.cc.
|
static |
|
static |
Definition at line 381 of file generics.cc.
Definition at line 204 of file generics.cc.
Definition at line 209 of file generics.cc.
Definition at line 33 of file generics.cc.
Definition at line 33 of file generics.cc.