spielwiese
Last change
on this file since 9c6887 was
daa556,
checked in by Oleksandr Motsak <motsak@…>, 13 years ago
|
FIX: cf_gmp.h should be included after asser.h.... ??!?!
|
-
Property mode set to
100644
|
File size:
898 bytes
|
Line | |
---|
1 | /* emacs edit mode for this file is -*- C++ -*- */ |
---|
2 | /* $Id$ */ |
---|
3 | |
---|
4 | #ifndef INCL_SINGEXT_H |
---|
5 | #define INCL_SINGEXT_H |
---|
6 | |
---|
7 | #include <config.h> |
---|
8 | |
---|
9 | #include "canonicalform.h" |
---|
10 | #include "cf_gmp.h" |
---|
11 | |
---|
12 | // we need this to copy singulars GF(q) table to ours |
---|
13 | extern int nfCharQ; |
---|
14 | extern int nfM1; |
---|
15 | extern int nfMinPoly[]; |
---|
16 | extern short nfPlus1Table[]; |
---|
17 | |
---|
18 | // used to open the GF(q) tables from Singular |
---|
19 | extern FILE * feFopen ( const char * path, const char * mode, char *where = 0, int useWerror = 0, int path_only = 0); |
---|
20 | |
---|
21 | /*BEGINPUBLIC*/ |
---|
22 | |
---|
23 | void gmp_numerator ( const CanonicalForm & f, mpz_ptr result ); |
---|
24 | |
---|
25 | void gmp_denominator ( const CanonicalForm & f, mpz_ptr result ); |
---|
26 | |
---|
27 | int gf_value (const CanonicalForm & f ); |
---|
28 | |
---|
29 | CanonicalForm make_cf ( const MP_INT & n ); |
---|
30 | |
---|
31 | CanonicalForm make_cf ( const MP_INT & n, const MP_INT & d, bool normalize ); |
---|
32 | |
---|
33 | CanonicalForm make_cf_from_gf ( const int z ); |
---|
34 | |
---|
35 | /*ENDPUBLIC*/ |
---|
36 | |
---|
37 | #endif /* ! INCL_SINGEXT_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.