source: git/factory/singext.h @ 6c5d86

spielwiese
Last change on this file since 6c5d86 was 9f8d5d, checked in by Olaf Bachmann <obachman@…>, 25 years ago
* chaged declaration of feFopen git-svn-id: file:///usr/local/Singular/svn/trunk@3630 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 910 bytes
Line 
1/* emacs edit mode for this file is -*- C++ -*- */
2/* $Id: singext.h,v 1.7 1999-09-21 14:39:50 obachman Exp $ */
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 ( char * path, char * mode, char *where = 0, int useWerror = 0, int path_only = 0);
21
22/*BEGINPUBLIC*/
23
24MP_INT gmp_numerator ( const CanonicalForm & f );
25
26MP_INT gmp_denominator ( const CanonicalForm & f );
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.