source: git/factory/singext.h @ 276c3f

spielwiese
Last change on this file since 276c3f was 3a28ff, checked in by Hans Schoenemann <hannes@…>, 13 years ago
some SINGULAR dependencies removed git-svn-id: file:///usr/local/Singular/svn/trunk@13612 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 899 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 "cf_gmp.h"
10
11#include "canonicalform.h"
12
13// we need this to copy singulars GF(q) table to ours
14extern int nfCharQ;
15extern int nfM1;
16extern int nfMinPoly[];
17extern short nfPlus1Table[];
18
19// used to open the GF(q) tables from Singular
20extern FILE * feFopen ( const char * path, const char * mode, char *where = 0, int useWerror = 0, int path_only = 0);
21
22/*BEGINPUBLIC*/
23
24void gmp_numerator ( const CanonicalForm & f, mpz_ptr result );
25
26void gmp_denominator ( const CanonicalForm & f, mpz_ptr result );
27
28int gf_value (const CanonicalForm & f );
29
30CanonicalForm make_cf ( const MP_INT & n );
31
32CanonicalForm make_cf ( const MP_INT & n, const MP_INT & d, bool normalize );
33
34CanonicalForm make_cf_from_gf ( const int z );
35
36/*ENDPUBLIC*/
37
38#endif /* ! INCL_SINGEXT_H */
Note: See TracBrowser for help on using the repository browser.