source: git/factory/singext.h @ cf2d9e

spielwiese
Last change on this file since cf2d9e 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
RevLine 
[493c477]1/* emacs edit mode for this file is -*- C++ -*- */
[341696]2/* $Id$ */
[2dd068]3
4#ifndef INCL_SINGEXT_H
5#define INCL_SINGEXT_H
6
[e4fe2b]7// #include "config.h"
[9d7aaa]8
[2dd068]9#include "canonicalform.h"
[e4fe2b]10#include <factory/cf_gmp.h>
[2dd068]11
[cf2d9e]12extern FILE * feFopen ( const char * path, const char * mode);
13
[2dd068]14/*BEGINPUBLIC*/
15
[8357930]16void gmp_numerator ( const CanonicalForm & f, mpz_ptr result );
[2dd068]17
[8357930]18void gmp_denominator ( const CanonicalForm & f, mpz_ptr result );
[2dd068]19
[8838ab]20int gf_value (const CanonicalForm & f );
21
[a52291]22CanonicalForm make_cf ( const mpz_ptr n );
[2dd068]23
[a52291]24CanonicalForm make_cf ( const mpz_ptr n, const mpz_ptr d, bool normalize );
[2dd068]25
[8838ab]26CanonicalForm make_cf_from_gf ( const int z );
27
[2dd068]28/*ENDPUBLIC*/
29
[493c477]30#endif /* ! INCL_SINGEXT_H */
Note: See TracBrowser for help on using the repository browser.