spielwiese
Last change
on this file since 88408d0 was
88408d0,
checked in by Martin Lee <martinlee84@…>, 12 years ago
|
chg: switched off old factory factorization over Z
chg: added some function declarations to FLINTconvert.h
chg: added a lot of modular multiplication code and univariate
arithmetic over Q and Q(a) using FLINT
|
-
Property mode set to
100644
|
File size:
1.2 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 <fmpq_poly.h> |
---|
16 | #include <nmod_poly.h> |
---|
17 | #ifdef __cplusplus |
---|
18 | } |
---|
19 | #endif |
---|
20 | |
---|
21 | void convertCF2Fmpz (fmpz_t result, const CanonicalForm& f); |
---|
22 | void convertFacCF2Fmpz_poly_t (fmpz_poly_t result, const CanonicalForm& f); |
---|
23 | CanonicalForm convertFmpz2CF (fmpz_t coefficient); |
---|
24 | CanonicalForm convertFmpz_poly_t2FacCF (fmpz_poly_t poly, const Variable& x); |
---|
25 | void convertFacCF2nmod_poly_t (nmod_poly_t result, const CanonicalForm& f); |
---|
26 | CanonicalForm convertnmod_poly_t2FacCF (nmod_poly_t poly, const Variable& x); |
---|
27 | void convertCF2Fmpq (fmpq_t result, const CanonicalForm& f); |
---|
28 | CanonicalForm convertFmpq_poly_t2FacCF (fmpq_poly_t p, const Variable& x); |
---|
29 | void convertFacCF2Fmpq_poly_t (fmpq_poly_t result, const CanonicalForm& f); |
---|
30 | CFFList convertFLINTnmod_poly_factor2FacCFFList (nmod_poly_factor_t fac, |
---|
31 | mp_limb_t leadingCoeff, |
---|
32 | const Variable& x |
---|
33 | ); |
---|
34 | |
---|
35 | #endif |
---|
36 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.