1 | // emacs edit mode for this file is -*- C++ -*- |
---|
2 | #ifndef LIBPOLYS_POLYS_FLINT_MPOLY_H |
---|
3 | #define LIBPOLYS_POLYS_FLINT_MPOLY_H |
---|
4 | /**************************************** |
---|
5 | * Computer Algebra System SINGULAR * |
---|
6 | ****************************************/ |
---|
7 | /* |
---|
8 | * ABSTRACT: flint mpoly |
---|
9 | */ |
---|
10 | |
---|
11 | #ifdef HAVE_FLINT |
---|
12 | #include <flint/flint.h> |
---|
13 | #include "polys/monomials/monomials.h" |
---|
14 | |
---|
15 | #if __FLINT_RELEASE >= 20503 |
---|
16 | #include <flint/fmpq.h> |
---|
17 | #include <flint/fmpq_poly.h> |
---|
18 | #include <flint/fmpq_mpoly.h> |
---|
19 | |
---|
20 | BOOLEAN convSingRFlintR(fmpq_mpoly_ctx_t ctx, const ring r); |
---|
21 | void convSingPFlintMP(fmpq_mpoly_t res, fmpq_mpoly_ctx_t ctx, poly p, int lp,const ring r); |
---|
22 | poly convFlintMPSingP(fmpq_mpoly_t p, fmpq_mpoly_ctx_t ctx, const ring r); |
---|
23 | |
---|
24 | BOOLEAN convSingRFlintR(nmod_mpoly_ctx_t ctx, const ring r); |
---|
25 | void convSingPFlintMP(nmod_mpoly_t res, nmod_mpoly_ctx_t ctx, poly p, int lp,const ring r); |
---|
26 | poly convFlintMPSingP(nmod_mpoly_t p, nmod_mpoly_ctx_t ctx, const ring r); |
---|
27 | |
---|
28 | BOOLEAN convSingRFlintR(fmpz_mpoly_ctx_t ctx, const ring r); |
---|
29 | void convSingPFlintMP(fmpz_mpoly_t res, fmpq_mpoly_ctx_t ctx, poly p, int lp,const ring r); |
---|
30 | poly convFlintMPSingP(fmpz_mpoly_t p, fmpq_mpoly_ctx_t ctx, const ring r); |
---|
31 | |
---|
32 | poly Flint_Mult_MP(poly p,int lp,poly q,int lq,fmpq_mpoly_ctx_t ctx, const ring r); |
---|
33 | poly Flint_Mult_MP(poly p,int lp,poly q,int lq,nmod_mpoly_ctx_t ctx, const ring r); |
---|
34 | poly Flint_Mult_MP(poly p,int lp,poly q,int lq,fmpz_mpoly_ctx_t ctx, const ring r); |
---|
35 | poly Flint_Divide_MP(poly p,int lp, poly q, int lq, fmpq_mpoly_ctx_t ctx, const ring r); |
---|
36 | poly Flint_Divide_MP(poly p,int lp, poly q, int lq, nmod_mpoly_ctx_t ctx, const ring r); |
---|
37 | poly Flint_GCD_MP(poly p,int lp,poly q,int lq,fmpq_mpoly_ctx_t ctx,const ring r); |
---|
38 | poly Flint_GCD_MP(poly p,int lp,poly q,int lq,nmod_mpoly_ctx_t ctx,const ring r); |
---|
39 | poly Flint_GCD_MP(poly p,int lp,poly q,int lq,fmpz_mpoly_ctx_t ctx,const ring r); |
---|
40 | |
---|
41 | #endif |
---|
42 | #endif |
---|
43 | #endif |
---|
44 | // LIBPOLYS_POLYS_FLINTCONV_H |
---|