1 | // emacs edit mode for this file is -*- C++ -*- |
---|
2 | /**************************************** |
---|
3 | * Computer Algebra System SINGULAR * |
---|
4 | ****************************************/ |
---|
5 | /* |
---|
6 | * ABSTRACT: interface between Singular and factory |
---|
7 | */ |
---|
8 | |
---|
9 | |
---|
10 | #ifndef INCL_FACTORYSING_H |
---|
11 | #define INCL_FACTORYSING_H |
---|
12 | |
---|
13 | |
---|
14 | #ifdef HAVE_FACTORY |
---|
15 | |
---|
16 | #include <polys/monomials/p_polys.h> |
---|
17 | #include <polys/monomials/ring.h> |
---|
18 | #include <polys/simpleideals.h> |
---|
19 | #include <misc/intvec.h> |
---|
20 | #include <polys/matpol.h> |
---|
21 | #include <coeffs/bigintmat.h> |
---|
22 | //#include <polys/clapconv.h> |
---|
23 | //#include <kernel/longtrans.h> |
---|
24 | |
---|
25 | /* destroys f and g */ |
---|
26 | poly singclap_gcd ( poly f, poly g, const ring r ); |
---|
27 | |
---|
28 | /* |
---|
29 | // commented out! |
---|
30 | napoly singclap_alglcm ( napoly f, napoly g ); |
---|
31 | void singclap_algdividecontent ( napoly f, napoly g, napoly &ff, napoly &gg ); |
---|
32 | */ |
---|
33 | |
---|
34 | poly singclap_resultant ( poly f, poly g , poly x, const ring r); |
---|
35 | |
---|
36 | BOOLEAN singclap_extgcd ( poly f, poly g, poly &res, poly &pa, poly &pb , const ring r); |
---|
37 | |
---|
38 | poly singclap_pdivide ( poly f, poly g, const ring r ); |
---|
39 | |
---|
40 | void singclap_divide_content ( poly f, const ring r); |
---|
41 | |
---|
42 | ideal singclap_factorize ( poly f, intvec ** v , int with_exps, const ring r); |
---|
43 | |
---|
44 | ideal singclap_sqrfree ( poly f, intvec ** v , int with_exps, const ring r ); |
---|
45 | |
---|
46 | #ifdef HAVE_NTL |
---|
47 | #if 1 |
---|
48 | matrix singntl_HNF(matrix A, const ring r); |
---|
49 | intvec* singntl_HNF(intvec* A, const ring r); |
---|
50 | matrix singntl_LLL(matrix A, const ring r); |
---|
51 | intvec* singntl_LLL(intvec* A, const ring r); |
---|
52 | #endif |
---|
53 | #endif |
---|
54 | |
---|
55 | BOOLEAN singclap_isSqrFree(poly f, const ring r); |
---|
56 | |
---|
57 | #ifdef HAVE_LIBFAC |
---|
58 | matrix singclap_irrCharSeries ( ideal I, const ring r); |
---|
59 | char* singclap_neworder ( ideal I, const ring r); |
---|
60 | #endif |
---|
61 | |
---|
62 | poly singclap_det( const matrix m, const ring r ); |
---|
63 | int singclap_det_i( intvec * m, const ring r ); |
---|
64 | number singclap_det_bi( bigintmat * m, const coeffs cf); |
---|
65 | |
---|
66 | number nChineseRemainder(number *x, number *q,int rl, const coeffs r); |
---|
67 | |
---|
68 | |
---|
69 | #endif /* HAVE_FACTORY */ |
---|
70 | |
---|
71 | |
---|
72 | #endif /* INCL_FACTORYSING_H */ |
---|
73 | |
---|