![]()  | 
  
    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) | 
| 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.  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 * | nEati (char *s, long *i, int m) | 
| 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 173 of file numbers.cc.
| CanonicalForm ndConvSingNFactoryN | ( | number | , | 
| BOOLEAN | , | ||
| const | coeffs | ||
| ) | 
Definition at line 313 of file numbers.cc.
| number ndGcd | ( | number | a, | 
| number | b, | ||
| const | coeffs | ||
| ) | 
Definition at line 189 of file numbers.cc.
| void ndNormalize | ( | number & | , | 
| const | coeffs | ||
| ) | 
Definition at line 187 of file numbers.cc.
Definition at line 357 of file numbers.cc.
Definition at line 152 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 677 of file numbers.cc.
| char * nEati | ( | char * | s, | 
| long * | i, | ||
| int | m | ||
| ) | 
Definition at line 697 of file numbers.cc.
| char * nEatLong | ( | char * | s, | 
| mpz_ptr | i | ||
| ) | 
extracts a long integer from s, returns the rest
Definition at line 718 of file numbers.cc.
| coeffs nFindCoeffByName | ( | char * | n | ) | 
find an existing coeff by its "CoeffName"
Definition at line 645 of file numbers.cc.
| n_coeffType nRegister | ( | n_coeffType | n, | 
| cfInitCharProc | p | ||
| ) | 
Definition at line 595 of file numbers.cc.
| void nRegisterCfByName | ( | cfInitCfByNameProc | p, | 
| n_coeffType | n | ||
| ) | 
Definition at line 636 of file numbers.cc.