![]() |
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 More... | |
| typedef coeffs(* | cfInitCfByNameProc) (char *s, n_coeffType n) |
| initialize an object of type coeffs by its name, return NULL otherwise More... | |
Functions | |
| number | ndGcd (number a, number b, const coeffs) |
| CanonicalForm | ndConvSingNFactoryN (number, BOOLEAN, const coeffs) |
| 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... | |
| 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" More... | |
| char * | nEati (char *s, int *i, int m) |
| divide by the first (leading) number and return it, i.e. make monic More... | |
| char * | nEatLong (char *s, mpz_ptr i) |
| extracts a long integer from s, returns the rest More... | |
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 149 of file numbers.cc.
| CanonicalForm ndConvSingNFactoryN | ( | number | , |
| BOOLEAN | , | ||
| const | coeffs | ||
| ) |
Definition at line 276 of file numbers.cc.
| number ndGcd | ( | number | a, |
| number | b, | ||
| const | coeffs | ||
| ) |
Definition at line 165 of file numbers.cc.
| void ndNormalize | ( | number & | , |
| const | coeffs | ||
| ) |
Definition at line 163 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 631 of file numbers.cc.
| char * nEatLong | ( | char * | s, |
| mpz_ptr | i | ||
| ) |
extracts a long integer from s, returns the rest
Definition at line 652 of file numbers.cc.
| coeffs nFindCoeffByName | ( | char * | n | ) |
find an existing coeff by its "CoeffName"
Definition at line 599 of file numbers.cc.
| n_coeffType nRegister | ( | n_coeffType | n, |
| cfInitCharProc | p | ||
| ) |
Definition at line 549 of file numbers.cc.
| void nRegisterCfByName | ( | cfInitCfByNameProc | p, |
| n_coeffType | n | ||
| ) |
Definition at line 590 of file numbers.cc.