spielwiese
Last change
on this file since 97a059 was
97a059,
checked in by Martin Lee <martinlee84@…>, 12 years ago
|
Started fork swSingularFlint from spielwiese
chg: changed build system to be able to compile Singular with Flint
add: conversion functions from factory to Flint and vice versa
chg: added HAVE_FLINT to factory config.h
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | #ifndef FLINT_CONVERT_H |
---|
2 | #define FLINT_CONVERT_H |
---|
3 | |
---|
4 | #include <config.h> |
---|
5 | #include "canonicalform.h" |
---|
6 | |
---|
7 | #ifdef HAVE_FLINT |
---|
8 | #ifdef __cplusplus |
---|
9 | extern "C" |
---|
10 | { |
---|
11 | #endif |
---|
12 | #include <fmpz.h> |
---|
13 | #include <fmpq.h> |
---|
14 | #include <fmpz_poly.h> |
---|
15 | #include <nmod_poly.h> |
---|
16 | #ifdef __cplusplus |
---|
17 | } |
---|
18 | #endif |
---|
19 | |
---|
20 | void convertCF2Fmpz (fmpz_t result, const CanonicalForm& f); |
---|
21 | void convertFacCF2Fmpz_poly_t (fmpz_poly_t result, const CanonicalForm& f); |
---|
22 | CanonicalForm convertFmpz2CF (fmpz_t coefficient); |
---|
23 | CanonicalForm convertFmpz_poly_t2FacCF (fmpz_poly_t poly, const Variable& x); |
---|
24 | void convertFacCF2nmod_poly_t (nmod_poly_t result, const CanonicalForm& f); |
---|
25 | CanonicalForm convertnmod_poly_t2FacCF (nmod_poly_t poly, const Variable& x); |
---|
26 | void convertCF2Fmpq (fmpq_t result, const CanonicalForm& f); |
---|
27 | CFFList convertFLINTnmod_poly_factor2FacCFFList (nmod_poly_factor_t fac, |
---|
28 | mp_limb_t leadingCoeff, |
---|
29 | const Variable& x |
---|
30 | ); |
---|
31 | |
---|
32 | #endif |
---|
33 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.