![]() |
My Project
UNKNOWN_GIT_VERSION
|
#include "misc/auxiliary.h"
#include "omalloc/omalloc.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 * | 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) |
Variables | |
coeffs | coeffs1 |
coeffs | coeffs2 |
struct generic_pair |
Definition at line 28 of file generics.cc.
Data Fields | ||
---|---|---|
number | a1 | |
number | a2 |
Definition at line 81 of file generics.cc.
|
static |
Definition at line 403 of file generics.cc.
Definition at line 46 of file generics.cc.
Definition at line 42 of file generics.cc.
Definition at line 36 of file generics.cc.
Definition at line 185 of file generics.cc.
Definition at line 467 of file generics.cc.
Definition at line 370 of file generics.cc.
Definition at line 91 of file generics.cc.
Definition at line 413 of file generics.cc.
Definition at line 455 of file generics.cc.
Definition at line 248 of file generics.cc.
Definition at line 111 of file generics.cc.
|
static |
Definition at line 425 of file generics.cc.
|
static |
Definition at line 395 of file generics.cc.
|
static |
Definition at line 313 of file generics.cc.
|
static |
Definition at line 331 of file generics.cc.
|
static |
Definition at line 339 of file generics.cc.
Definition at line 436 of file generics.cc.
Definition at line 236 of file generics.cc.
Definition at line 294 of file generics.cc.
Definition at line 201 of file generics.cc.
Definition at line 121 of file generics.cc.
Definition at line 473 of file generics.cc.
Definition at line 129 of file generics.cc.
Definition at line 170 of file generics.cc.
|
static |
Definition at line 148 of file generics.cc.
Definition at line 101 of file generics.cc.
Definition at line 177 of file generics.cc.
Definition at line 283 of file generics.cc.
Definition at line 272 of file generics.cc.
Definition at line 444 of file generics.cc.
Definition at line 260 of file generics.cc.
void gKillChar | ( | coeffs | r | ) |
Definition at line 50 of file generics.cc.
Definition at line 352 of file generics.cc.
Definition at line 159 of file generics.cc.
Definition at line 61 of file generics.cc.
Definition at line 230 of file generics.cc.
Definition at line 361 of file generics.cc.
Definition at line 305 of file generics.cc.
Definition at line 347 of file generics.cc.
|
static |
Definition at line 408 of file generics.cc.
Definition at line 219 of file generics.cc.
Definition at line 390 of file generics.cc.
Definition at line 193 of file generics.cc.
void gSetChar | ( | coeffs | r | ) |
Definition at line 55 of file generics.cc.
Definition at line 381 of file generics.cc.
|
static |
Definition at line 137 of file generics.cc.
Definition at line 71 of file generics.cc.
|
static |
Definition at line 322 of file generics.cc.
Definition at line 386 of file generics.cc.
Definition at line 209 of file generics.cc.
Definition at line 214 of file generics.cc.
coeffs coeffs1 |
Definition at line 34 of file generics.cc.
coeffs coeffs2 |
Definition at line 34 of file generics.cc.