![]() |
#include <string.h>#include <stdlib.h>#include <misc/auxiliary.h>#include <omalloc/omalloc.h>#include <factory/factory.h>#include <reporter/reporter.h>#include <coeffs/coeffs.h>#include <coeffs/numbers.h>#include <coeffs/longrat.h>#include <coeffs/modulop.h>#include <coeffs/gnumpfl.h>#include <coeffs/gnumpc.h>#include <coeffs/ffields.h>#include <coeffs/shortfl.h>#include <coeffs/rmodulo2m.h>#include <coeffs/rmodulon.h>#include <coeffs/rintegers.h>#include <polys/ext_fields/algext.h>#include <polys/ext_fields/transext.h>Go to the source code of this file.
Functions | |
| void | nNew (number *d) |
| static void | ndDelete (number *d, const coeffs) |
| static number | ndAnn (number, const coeffs) |
| static char * | ndCoeffString (const coeffs r) |
| static void | ndInpMult (number &a, number b, const coeffs r) |
| static void | ndInpAdd (number &a, number b, const coeffs r) |
| static void | ndPower (number a, int i, number *res, const coeffs r) |
| static BOOLEAN | ndDBTest (number, const char *, const int, const coeffs) |
| static number | ndFarey (number, number, const coeffs r) |
| static number | ndChineseRemainder (number *, number *, int, BOOLEAN, const coeffs r) |
| static int | ndParDeg (number n, const coeffs r) |
| static number | ndParameter (const int, const coeffs r) |
| BOOLEAN | n_IsZeroDivisor (number a, const coeffs r) |
| Test whether a is a zero divisor in r i.e. not coprime with char. of r very inefficient implementation: should ONLY be used for debug stuff /tests. More... | |
| static void | ndNormalize (number &, const coeffs) |
| static number | ndReturn0 (number, const coeffs r) |
| static number | ndGcd (number, number, const coeffs r) |
| static number | ndIntMod (number, number, const coeffs r) |
| static number | ndGetDenom (number &, const coeffs r) |
| static number | ndGetNumerator (number &a, const coeffs r) |
| static int | ndSize (number a, const coeffs r) |
| static char * | ndCoeffName (const coeffs r) |
| static void | ndClearContent (ICoeffsEnumerator &numberCollectionEnumerator, number &c, const coeffs r) |
| static void | ndClearDenominators (ICoeffsEnumerator &, number &d, const coeffs r) |
| static number | ndCopy (number a, const coeffs) |
| number | ndCopyMap (number a, const coeffs aRing, const coeffs r) |
| static void | ndKillChar (coeffs) |
| static void | ndSetChar (const coeffs) |
| number | nd_Copy (number a, const coeffs r) |
| static BOOLEAN | ndDivBy (number, number, const coeffs) |
| static int | ndDivComp (number, number, const coeffs) |
| static BOOLEAN | ndIsUnit (number a, const coeffs r) |
| static number | ndExtGcd (number, number, number *, number *, const coeffs r) |
| static CanonicalForm | ndConvSingNFactoryN (number, BOOLEAN, const coeffs) |
| static number | ndConvFactoryNSingN (const CanonicalForm, const coeffs) |
| [in, out] a bigint number >= 0 More... | |
| static void | ndMPZ (mpz_t result, number &n, const coeffs r) |
| Converts a non-negative bigint number into a GMP number. More... | |
| static number | ndInitMPZ (mpz_t m, const coeffs r) |
| static BOOLEAN | ndCoeffIsEqual (const coeffs r, n_coeffType n, void *) |
| coeffs | nInitChar (n_coeffType t, void *parameter) |
| one-time initialisations for new coeffs in case of an error return NULL More... | |
| void | nKillChar (coeffs r) |
| undo all initialisations More... | |
| n_coeffType | nRegister (n_coeffType n, cfInitCharProc p) |
| void | n_Print (number &a, const coeffs r) |
| print a number (BEWARE of string buffers!) mostly for debugging More... | |
| number | n_convFactoryNSingN (const CanonicalForm n, const coeffs r) |
| CanonicalForm | n_convSingNFactoryN (number n, BOOLEAN setChar, const coeffs r) |
Variables | |
| n_Procs_s * | cf_root =NULL |
| static n_coeffType | nLastCoeffs =n_CF |
| cfInitCharProc | nInitCharTableDefault [] |
| static cfInitCharProc * | nInitCharTable =nInitCharTableDefault |
| number n_convFactoryNSingN | ( | const CanonicalForm | n, |
| const coeffs | r | ||
| ) |
Definition at line 549 of file numbers.cc.
| CanonicalForm n_convSingNFactoryN | ( | number | n, |
| BOOLEAN | setChar, | ||
| const coeffs | r | ||
| ) |
Definition at line 554 of file numbers.cc.
Test whether a is a zero divisor in r i.e. not coprime with char. of r very inefficient implementation: should ONLY be used for debug stuff /tests.
Definition at line 120 of file numbers.cc.
print a number (BEWARE of string buffers!) mostly for debugging
Definition at line 538 of file numbers.cc.
Definition at line 240 of file numbers.cc.
Definition at line 53 of file numbers.cc.
Definition at line 103 of file numbers.cc.
|
static |
TODO: move to a separate implementation
Definition at line 144 of file numbers.cc.
|
static |
Definition at line 218 of file numbers.cc.
|
static |
Definition at line 275 of file numbers.cc.
Definition at line 142 of file numbers.cc.
Definition at line 54 of file numbers.cc.
|
static |
|
static |
Definition at line 249 of file numbers.cc.
Definition at line 227 of file numbers.cc.
Definition at line 228 of file numbers.cc.
Definition at line 95 of file numbers.cc.
Definition at line 52 of file numbers.cc.
Definition at line 243 of file numbers.cc.
Definition at line 244 of file numbers.cc.
Definition at line 246 of file numbers.cc.
Definition at line 98 of file numbers.cc.
Definition at line 137 of file numbers.cc.
Definition at line 139 of file numbers.cc.
Definition at line 140 of file numbers.cc.
Definition at line 269 of file numbers.cc.
Definition at line 65 of file numbers.cc.
Definition at line 59 of file numbers.cc.
Definition at line 138 of file numbers.cc.
Definition at line 245 of file numbers.cc.
|
static |
Definition at line 237 of file numbers.cc.
Definition at line 135 of file numbers.cc.
Definition at line 114 of file numbers.cc.
Definition at line 109 of file numbers.cc.
Definition at line 72 of file numbers.cc.
Definition at line 136 of file numbers.cc.
Definition at line 238 of file numbers.cc.
Definition at line 141 of file numbers.cc.
| coeffs nInitChar | ( | n_coeffType | t, |
| void * | parameter | ||
| ) |
one-time initialisations for new coeffs in case of an error return NULL
Definition at line 316 of file numbers.cc.
| void nKillChar | ( | coeffs | r | ) |
undo all initialisations
Definition at line 477 of file numbers.cc.
| void nNew | ( | number * | d | ) |
Definition at line 49 of file numbers.cc.
| n_coeffType nRegister | ( | n_coeffType | n, |
| cfInitCharProc | p | ||
| ) |
Definition at line 507 of file numbers.cc.
Definition at line 47 of file numbers.cc.
|
static |
Definition at line 312 of file numbers.cc.
| cfInitCharProc nInitCharTableDefault[] |
Definition at line 283 of file numbers.cc.
|
static |
Definition at line 282 of file numbers.cc.