![]() |
#include <misc/auxiliary.h>
#include <omalloc/omalloc.h>
#include <misc/mylimits.h>
#include <reporter/reporter.h>
#include "si_gmp.h"
#include "coeffs.h"
#include "numbers.h"
#include "longrat.h"
#include "mpr_complex.h"
#include "rmodulo2m.h"
#include "rmodulon.h"
#include <string.h>
Go to the source code of this file.
Macros | |
#define | nr2mNegM(A, r) (number)((r->mod2mMask - (unsigned long)(A) + 1) & r->mod2mMask) |
#define | nr2mEqualM(A, B) ((A)==(B)) |
Functions | |
number | nr2mCopy (number a, const coeffs r) |
BOOLEAN | nr2mGreaterZero (number k, const coeffs r) |
number | nr2mMult (number a, number b, const coeffs r) |
number | nr2mInit (long i, const coeffs r) |
long | nr2mInt (number &n, const coeffs r) |
number | nr2mAdd (number a, number b, const coeffs r) |
number | nr2mSub (number a, number b, const coeffs r) |
void | nr2mPower (number a, int i, number *result, const coeffs r) |
BOOLEAN | nr2mIsZero (number a, const coeffs r) |
BOOLEAN | nr2mIsOne (number a, const coeffs r) |
BOOLEAN | nr2mIsMOne (number a, const coeffs r) |
BOOLEAN | nr2mIsUnit (number a, const coeffs r) |
number | nr2mGetUnit (number a, const coeffs r) |
number | nr2mDiv (number a, number b, const coeffs r) |
number | nr2mIntDiv (number a, number b, const coeffs r) |
number | nr2mMod (number a, number b, const coeffs r) |
number | nr2mNeg (number c, const coeffs r) |
number | nr2mInvers (number c, const coeffs r) |
BOOLEAN | nr2mGreater (number a, number b, const coeffs r) |
BOOLEAN | nr2mDivBy (number a, number b, const coeffs r) |
int | nr2mDivComp (number a, number b, const coeffs r) |
BOOLEAN | nr2mEqual (number a, number b, const coeffs r) |
number | nr2mLcm (number a, number b, const coeffs r) |
number | nr2mGcd (number a, number b, const coeffs r) |
number | nr2mExtGcd (number a, number b, number *s, number *t, const coeffs r) |
nMapFunc | nr2mSetMap (const coeffs src, const coeffs dst) |
void | nr2mWrite (number a, const coeffs r) |
const char * | nr2mRead (const char *s, number *a, const coeffs r) |
char * | nr2mName (number n, const coeffs r) |
void | nr2mCoeffWrite (const coeffs r, BOOLEAN details) |
coeffs | nr2mQuot1 (number c, const coeffs r) |
BOOLEAN | nr2mDBTest (number a, const char *f, const int l, const coeffs r) |
void | nr2mSetExp (int c, const coeffs r) |
void | nr2mInitExp (int c, const coeffs r) |
number | nr2mMapQ (number from, const coeffs src, const coeffs dst) |
static number | nr2mMultM (number a, number b, const coeffs r) |
static number | nr2mAddM (number a, number b, const coeffs r) |
static number | nr2mSubM (number a, number b, const coeffs r) |
BOOLEAN | nr2mCoeffIsEqual (const coeffs r, n_coeffType n, void *p) |
static char * | nr2mCoeffString (const coeffs r) |
static number | nr2mAnn (number b, const coeffs r) |
BOOLEAN | nr2mInitChar (coeffs r, void *p) |
void | specialXGCD (unsigned long &s, unsigned long a, const coeffs r) |
unsigned long | InvMod (unsigned long a, const coeffs r) |
number | nr2mInversM (number c, const coeffs r) |
number | nr2mMapMachineInt (number from, const coeffs, const coeffs dst) |
number | nr2mMapProject (number from, const coeffs, const coeffs dst) |
number | nr2mMapZp (number from, const coeffs, const coeffs dst) |
number | nr2mMapGMP (number from, const coeffs, const coeffs dst) |
number | nr2mMapZ (number from, const coeffs src, const coeffs dst) |
static const char * | nr2mEati (const char *s, int *i, const coeffs r) |
Variables | |
static const n_coeffType | ID = n_Z2m |
Our Type! More... | |
omBin | gmp_nrz_bin |
Definition at line 88 of file rmodulo2m.cc.
Definition at line 529 of file rmodulo2m.cc.
Definition at line 353 of file rmodulo2m.cc.
Definition at line 75 of file rmodulo2m.cc.
Definition at line 644 of file rmodulo2m.cc.
BOOLEAN nr2mCoeffIsEqual | ( | const coeffs | r, |
n_coeffType | n, | ||
void * | p | ||
) |
Definition at line 99 of file rmodulo2m.cc.
Definition at line 110 of file rmodulo2m.cc.
Definition at line 93 of file rmodulo2m.cc.
Definition at line 820 of file rmodulo2m.cc.
Definition at line 547 of file rmodulo2m.cc.
Definition at line 404 of file rmodulo2m.cc.
Definition at line 432 of file rmodulo2m.cc.
Definition at line 834 of file rmodulo2m.cc.
Definition at line 391 of file rmodulo2m.cc.
Definition at line 282 of file rmodulo2m.cc.
Definition at line 258 of file rmodulo2m.cc.
Definition at line 368 of file rmodulo2m.cc.
Definition at line 396 of file rmodulo2m.cc.
Definition at line 460 of file rmodulo2m.cc.
Definition at line 326 of file rmodulo2m.cc.
Definition at line 160 of file rmodulo2m.cc.
Definition at line 812 of file rmodulo2m.cc.
Definition at line 343 of file rmodulo2m.cc.
Definition at line 614 of file rmodulo2m.cc.
Definition at line 665 of file rmodulo2m.cc.
Definition at line 538 of file rmodulo2m.cc.
Definition at line 386 of file rmodulo2m.cc.
Definition at line 381 of file rmodulo2m.cc.
Definition at line 363 of file rmodulo2m.cc.
Definition at line 376 of file rmodulo2m.cc.
Definition at line 235 of file rmodulo2m.cc.
Definition at line 721 of file rmodulo2m.cc.
Definition at line 681 of file rmodulo2m.cc.
Definition at line 687 of file rmodulo2m.cc.
Definition at line 704 of file rmodulo2m.cc.
Definition at line 737 of file rmodulo2m.cc.
Definition at line 693 of file rmodulo2m.cc.
Definition at line 570 of file rmodulo2m.cc.
Definition at line 224 of file rmodulo2m.cc.
Definition at line 69 of file rmodulo2m.cc.
Definition at line 675 of file rmodulo2m.cc.
Definition at line 306 of file rmodulo2m.cc.
Definition at line 117 of file rmodulo2m.cc.
Definition at line 853 of file rmodulo2m.cc.
Definition at line 794 of file rmodulo2m.cc.
Definition at line 747 of file rmodulo2m.cc.
Definition at line 358 of file rmodulo2m.cc.
Definition at line 81 of file rmodulo2m.cc.
Definition at line 828 of file rmodulo2m.cc.
Definition at line 471 of file rmodulo2m.cc.
omBin gmp_nrz_bin |
Definition at line 80 of file rintegers.cc.
|
static |
Our Type!
Definition at line 28 of file rmodulo2m.cc.