source: git/factory/singext.h @ 72bfc8

spielwiese
Last change on this file since 72bfc8 was cf2d9e, checked in by Martin Lee <martinlee84@…>, 12 years ago
chg: use feFopen to open GF tables if Singular is used TODO: add a check if table was already read in and if so load it from memory?
  • Property mode set to 100644
File size: 659 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 <factory/cf_gmp.h>
11
12extern FILE * feFopen ( const char * path, const char * mode);
13
14/*BEGINPUBLIC*/
15
16void gmp_numerator ( const CanonicalForm & f, mpz_ptr result );
17
18void gmp_denominator ( const CanonicalForm & f, mpz_ptr result );
19
20int gf_value (const CanonicalForm & f );
21
22CanonicalForm make_cf ( const mpz_ptr n );
23
24CanonicalForm make_cf ( const mpz_ptr n, const mpz_ptr d, bool normalize );
25
26CanonicalForm make_cf_from_gf ( const int z );
27
28/*ENDPUBLIC*/
29
30#endif /* ! INCL_SINGEXT_H */
Note: See TracBrowser for help on using the repository browser.