![]() |
My Project
|
#include "misc/auxiliary.h"
#include "misc/mylimits.h"
#include "reporter/reporter.h"
#include "coeffs/numbers.h"
#include "coeffs/coeffs.h"
#include "coeffs/mpr_complex.h"
#include "coeffs/shortfl.h"
#include "coeffs/longrat.h"
#include <cmath>
Go to the source code of this file.
Data Structures | |
union | nf |
Macros | |
#define | SR_HDL(A) ((long)(A)) |
#define | IS_INT(A) ((A)->s==3) |
#define | IS_IMM(A) (SR_HDL(A) & SR_INT) |
#define | GET_NOM(A) ((A)->z) |
#define | GET_DENOM(A) ((A)->n) |
Functions | |
static BOOLEAN | nrDBTest (number a, const coeffs r, const char *f, const int l) |
static nMapFunc | nrSetMap (const coeffs src, const coeffs dst) |
Get a mapping function from src into the domain of this type: n_R. More... | |
static number | nrMapQ (number from, const coeffs r, const coeffs aRing) |
SI_FLOAT | nrFloat (number n) |
Converts a n_R number into a float. Needed by Maps. More... | |
static BOOLEAN | nrGreaterZero (number k, const coeffs r) |
static number | nrMult (number a, number b, const coeffs r) |
static number | nrInit (long i, const coeffs r) |
static long | nrInt (number &n, const coeffs r) |
static number | nrAdd (number a, number b, const coeffs r) |
static number | nrSub (number a, number b, const coeffs r) |
static BOOLEAN | nrIsZero (number a, const coeffs r) |
static BOOLEAN | nrIsOne (number a, const coeffs r) |
static BOOLEAN | nrIsMOne (number a, const coeffs r) |
static number | nrDiv (number a, number b, const coeffs r) |
static number | nrInvers (number c, const coeffs r) |
static number | nrNeg (number c, const coeffs r) |
static BOOLEAN | nrGreater (number a, number b, const coeffs r) |
static BOOLEAN | nrEqual (number a, number b, const coeffs r) |
static void | nrWrite (number a, const coeffs r) |
static const char * | nrRead (const char *s, number *a, const coeffs r) |
static BOOLEAN | nrDBTest (number a, const char *f, const int l, const coeffs r) |
static number | nrMapP (number from, const coeffs aRing, const coeffs r) |
static number | nrMapLongR (number from, const coeffs aRing, const coeffs r) |
static number | nrMapC (number from, const coeffs aRing, const coeffs r) |
static number | nrMapZ (number from, const coeffs aRing, const coeffs r) |
static char * | nrCoeffString (const coeffs r) |
static char * | nrCoeffName (const coeffs r) |
BOOLEAN | nrInitChar (coeffs n, void *p) |
Initialize r. More... | |
Variables | |
static const SI_FLOAT | nrEps = 1.0e-3 |
Definition at line 102 of file shortfl.cc.
Definition at line 661 of file shortfl.cc.
Definition at line 656 of file shortfl.cc.
Definition at line 378 of file shortfl.cc.
Definition at line 191 of file shortfl.cc.
SI_FLOAT nrFloat | ( | number | n | ) |
Converts a n_R number into a float. Needed by Maps.
Definition at line 56 of file shortfl.cc.
Definition at line 225 of file shortfl.cc.
Definition at line 61 of file shortfl.cc.
Definition at line 78 of file shortfl.cc.
Initialize r.
Definition at line 666 of file shortfl.cc.
Definition at line 89 of file shortfl.cc.
Definition at line 182 of file shortfl.cc.
Definition at line 173 of file shortfl.cc.
Definition at line 166 of file shortfl.cc.
Definition at line 405 of file shortfl.cc.
Definition at line 396 of file shortfl.cc.
Definition at line 386 of file shortfl.cc.
Definition at line 416 of file shortfl.cc.
Definition at line 466 of file shortfl.cc.
Definition at line 68 of file shortfl.cc.
Definition at line 218 of file shortfl.cc.
Definition at line 307 of file shortfl.cc.
Get a mapping function from src into the domain of this type: n_R.
Definition at line 625 of file shortfl.cc.
Definition at line 134 of file shortfl.cc.
Definition at line 240 of file shortfl.cc.
Definition at line 38 of file shortfl.cc.