![]() |
My Project
|
#include "coeffs/coeffs.h"
Go to the source code of this file.
Typedefs | |
typedef BOOLEAN(* | cfInitCharProc) (coeffs, void *) |
initialize an object of type coeff, return FALSE in case of success | |
typedef coeffs(* | cfInitCfByNameProc) (char *s, n_coeffType n) |
initialize an object of type coeffs by its name, return NULL otherwise | |
Functions | |
number | ndGcd (number a, number b, const coeffs) |
number | ndQuotRem (number a, number b, number *r, const coeffs R) |
CanonicalForm | ndConvSingNFactoryN (number, BOOLEAN, const coeffs) |
number | ndReadFd (const ssiInfo *f, 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. | |
void | ndNormalize (number &, const coeffs) |
n_coeffType | nRegister (n_coeffType n, cfInitCharProc p) |
void | nRegisterCfByName (cfInitCfByNameProc p, n_coeffType n) |
coeffs | nFindCoeffByName (char *n) |
find an existing coeff by its "CoeffName" | |
char * | nEati (char *s, int *i, int m) |
divide by the first (leading) number and return it, i.e. make monic | |
char * | nEati (char *s, long *i, int m) |
char * | nEatLong (char *s, mpz_ptr i) |
extracts a long integer from s, returns the rest | |
Variables | |
const char *const | nDivBy0 = "div by 0" |
#define nGetNumerator | ( | N | ) | n_GetNumerator((N),currRing->cf) |
#define nGreaterZero | ( | n | ) | n_GreaterZero(n, currRing->cf) |
#define nNormalize | ( | n | ) | n_Normalize(n,currRing->cf) |
typedef coeffs(* cfInitCfByNameProc) (char *s, n_coeffType n) |
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 171 of file numbers.cc.
CanonicalForm ndConvSingNFactoryN | ( | number | , |
BOOLEAN | , | ||
const coeffs | ) |
Definition at line 307 of file numbers.cc.
Definition at line 187 of file numbers.cc.
Definition at line 185 of file numbers.cc.
Definition at line 350 of file numbers.cc.
Definition at line 150 of file numbers.cc.
char * nEati | ( | char * | s, |
int * | i, | ||
int | m ) |
divide by the first (leading) number and return it, i.e. make monic
does nothing (just returns a dummy one number) helper routine: read an int from a string (mod m), return a pointer to the rest
Definition at line 665 of file numbers.cc.
char * nEati | ( | char * | s, |
long * | i, | ||
int | m ) |
Definition at line 685 of file numbers.cc.
char * nEatLong | ( | char * | s, |
mpz_ptr | i ) |
extracts a long integer from s, returns the rest
Definition at line 706 of file numbers.cc.
coeffs nFindCoeffByName | ( | char * | n | ) |
find an existing coeff by its "CoeffName"
Definition at line 633 of file numbers.cc.
n_coeffType nRegister | ( | n_coeffType | n, |
cfInitCharProc | p ) |
Definition at line 583 of file numbers.cc.
void nRegisterCfByName | ( | cfInitCfByNameProc | p, |
n_coeffType | n ) |
Definition at line 624 of file numbers.cc.