My Project
|
#include "misc/auxiliary.h"
#include "misc/mylimits.h"
#include "reporter/reporter.h"
#include "coeffs/si_gmp.h"
#include "coeffs/coeffs.h"
#include "coeffs/numbers.h"
#include "coeffs/longrat.h"
#include "coeffs/mpr_complex.h"
#include "coeffs/rmodulo2m.h"
#include "coeffs/rmodulon.h"
#include <string.h>
Go to the source code of this file.
Macros | |
#define | nr2mNegM(A, r) (number)((r->mod2mMask+1 - (unsigned long)(A)) & r->mod2mMask) |
#define | nr2mEqualM(A, B) ((A)==(B)) |
Functions | |
static BOOLEAN | nr2mDBTest (number a, const char *f, const int l, const coeffs r) |
static number | nr2mMultM (number a, number b, const coeffs r) |
static void | nr2mInpMultM (number &a, number b, const coeffs r) |
static number | nr2mAddM (number a, number b, const coeffs r) |
static void | nr2mInpAddM (number &a, number b, const coeffs r) |
static number | nr2mSubM (number a, number b, const coeffs r) |
static char * | nr2mCoeffName (const coeffs cf) |
static BOOLEAN | nr2mCoeffIsEqual (const coeffs r, n_coeffType n, void *p) |
static coeffs | nr2mQuot1 (number c, const coeffs r) |
static BOOLEAN | nr2mGreaterZero (number k, const coeffs r) |
static number | nr2mMult (number a, number b, const coeffs r) |
static void | nr2mInpMult (number &a, number b, const coeffs r) |
static number | nr2mAnn (number b, const coeffs r) |
static number | nr2mLcm (number a, number b, const coeffs) |
static number | nr2mGcd (number a, number b, const coeffs) |
static void | specialXGCD (unsigned long &s, unsigned long a, const coeffs r) |
static unsigned long | InvMod (unsigned long a, const coeffs r) |
static number | nr2mInversM (number c, const coeffs r) |
static number | nr2mInvers (number c, const coeffs r) |
static number | nr2mExtGcd (number a, number b, number *s, number *t, const coeffs r) |
static void | nr2mPower (number a, int i, number *result, const coeffs r) |
static number | nr2mInit (long i, const coeffs r) |
static long | nr2mInt (number &n, const coeffs r) |
static number | nr2mAdd (number a, number b, const coeffs r) |
static void | nr2mInpAdd (number &a, number b, const coeffs r) |
static number | nr2mSub (number a, number b, const coeffs r) |
static BOOLEAN | nr2mIsUnit (number a, const coeffs) |
static number | nr2mGetUnit (number k, const coeffs) |
static BOOLEAN | nr2mIsZero (number a, const coeffs) |
static BOOLEAN | nr2mIsOne (number a, const coeffs) |
static BOOLEAN | nr2mIsMOne (number a, const coeffs r) |
static BOOLEAN | nr2mEqual (number a, number b, const coeffs) |
static number | nr2mDiv (number a, number b, const coeffs r) |
static BOOLEAN | nr2mDivBy (number a, number b, const coeffs r) |
static BOOLEAN | nr2mGreater (number a, number b, const coeffs r) |
static int | nr2mDivComp (number as, number bs, const coeffs) |
static number | nr2mMod (number a, number b, const coeffs r) |
static number | nr2mNeg (number c, const coeffs r) |
static number | nr2mMapMachineInt (number from, const coeffs, const coeffs dst) |
static number | nr2mMapProject (number from, const coeffs, const coeffs dst) |
number | nr2mMapZp (number from, const coeffs, const coeffs dst) |
static number | nr2mMapGMP (number from, const coeffs, const coeffs dst) |
static number | nr2mMapQ (number from, const coeffs src, const coeffs dst) |
static number | nr2mMapZ (number from, const coeffs src, const coeffs dst) |
static nMapFunc | nr2mSetMap (const coeffs src, const coeffs dst) |
static void | nr2mSetExp (int m, coeffs r) |
static void | nr2mInitExp (int m, coeffs r) |
static void | nr2mWrite (number a, const coeffs r) |
static const char * | nr2mEati (const char *s, int *i, const coeffs r) |
static const char * | nr2mRead (const char *s, number *a, const coeffs r) |
BOOLEAN | nr2mInitChar (coeffs r, void *p) |
Variables | |
EXTERN_VAR omBin | gmp_nrz_bin |
Definition at line 70 of file rmodulo2m.cc.
Definition at line 274 of file rmodulo2m.cc.
Definition at line 376 of file rmodulo2m.cc.
Definition at line 51 of file rmodulo2m.cc.
Definition at line 599 of file rmodulo2m.cc.
|
static |
Definition at line 85 of file rmodulo2m.cc.
Definition at line 75 of file rmodulo2m.cc.
Definition at line 26 of file rmodulo2m.cc.
Definition at line 429 of file rmodulo2m.cc.
Definition at line 462 of file rmodulo2m.cc.
|
static |
Definition at line 495 of file rmodulo2m.cc.
Definition at line 759 of file rmodulo2m.cc.
Definition at line 424 of file rmodulo2m.cc.
Definition at line 305 of file rmodulo2m.cc.
|
static |
Definition at line 192 of file rmodulo2m.cc.
|
static |
Definition at line 401 of file rmodulo2m.cc.
Definition at line 490 of file rmodulo2m.cc.
Definition at line 349 of file rmodulo2m.cc.
Definition at line 797 of file rmodulo2m.cc.
|
static |
Definition at line 746 of file rmodulo2m.cc.
Definition at line 383 of file rmodulo2m.cc.
Definition at line 57 of file rmodulo2m.cc.
Definition at line 156 of file rmodulo2m.cc.
Definition at line 45 of file rmodulo2m.cc.
Definition at line 366 of file rmodulo2m.cc.
Definition at line 291 of file rmodulo2m.cc.
Definition at line 282 of file rmodulo2m.cc.
Definition at line 419 of file rmodulo2m.cc.
Definition at line 414 of file rmodulo2m.cc.
Definition at line 396 of file rmodulo2m.cc.
Definition at line 409 of file rmodulo2m.cc.
|
static |
Definition at line 169 of file rmodulo2m.cc.
Definition at line 651 of file rmodulo2m.cc.
Definition at line 628 of file rmodulo2m.cc.
Definition at line 634 of file rmodulo2m.cc.
Definition at line 667 of file rmodulo2m.cc.
Definition at line 676 of file rmodulo2m.cc.
Definition at line 640 of file rmodulo2m.cc.
Definition at line 522 of file rmodulo2m.cc.
Definition at line 145 of file rmodulo2m.cc.
Definition at line 39 of file rmodulo2m.cc.
Definition at line 620 of file rmodulo2m.cc.
Definition at line 329 of file rmodulo2m.cc.
Definition at line 96 of file rmodulo2m.cc.
Definition at line 778 of file rmodulo2m.cc.
|
static |
Definition at line 728 of file rmodulo2m.cc.
Definition at line 686 of file rmodulo2m.cc.
Definition at line 389 of file rmodulo2m.cc.
Definition at line 63 of file rmodulo2m.cc.
Definition at line 753 of file rmodulo2m.cc.
Definition at line 216 of file rmodulo2m.cc.
EXTERN_VAR omBin gmp_nrz_bin |
Definition at line 73 of file rmodulo2m.cc.