[35aab3] | 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 | |
---|
[fea2af] | 13 | |
---|
| 14 | #ifdef HAVE_FACTORY |
---|
| 15 | |
---|
[af598e] | 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> |
---|
[24a9587] | 21 | #include <coeffs/bigintmat.h> |
---|
[22a09d] | 22 | //#include <polys/clapconv.h> |
---|
[af598e] | 23 | //#include <kernel/longtrans.h> |
---|
[35aab3] | 24 | |
---|
[dc79bd] | 25 | /// destroys f and g |
---|
[ce3f53c] | 26 | poly singclap_gcd ( poly f, poly g, const ring r ); |
---|
[fd01a8] | 27 | |
---|
[dc79bd] | 28 | |
---|
[3aa9b6] | 29 | // commented out! |
---|
[dc79bd] | 30 | // poly singclap_alglcm ( poly f, poly g, const ring r ); |
---|
| 31 | // void singclap_algdividecontent ( napoly f, napoly g, napoly &ff, napoly &gg ); |
---|
[35aab3] | 32 | |
---|
[ce3f53c] | 33 | poly singclap_resultant ( poly f, poly g , poly x, const ring r); |
---|
[35aab3] | 34 | |
---|
[ce3f53c] | 35 | BOOLEAN singclap_extgcd ( poly f, poly g, poly &res, poly &pa, poly &pb , const ring r); |
---|
[35aab3] | 36 | |
---|
[ce3f53c] | 37 | poly singclap_pdivide ( poly f, poly g, const ring r ); |
---|
[35aab3] | 38 | |
---|
[ce3f53c] | 39 | void singclap_divide_content ( poly f, const ring r); |
---|
[35aab3] | 40 | |
---|
[ce3f53c] | 41 | ideal singclap_factorize ( poly f, intvec ** v , int with_exps, const ring r); |
---|
[35aab3] | 42 | |
---|
[3ef9c8] | 43 | ideal singclap_sqrfree ( poly f, intvec ** v , int with_exps, const ring r ); |
---|
[0dd641] | 44 | |
---|
[2072126] | 45 | #ifdef HAVE_NTL |
---|
[895b31c] | 46 | #if 1 |
---|
[ce3f53c] | 47 | matrix singntl_HNF(matrix A, const ring r); |
---|
| 48 | intvec* singntl_HNF(intvec* A, const ring r); |
---|
| 49 | matrix singntl_LLL(matrix A, const ring r); |
---|
| 50 | intvec* singntl_LLL(intvec* A, const ring r); |
---|
[2072126] | 51 | #endif |
---|
[895b31c] | 52 | #endif |
---|
[af8863] | 53 | |
---|
[ce3f53c] | 54 | BOOLEAN singclap_isSqrFree(poly f, const ring r); |
---|
[35aab3] | 55 | |
---|
[67c1dc] | 56 | #ifdef HAVE_LIBFAC |
---|
[3aa9b6] | 57 | matrix singclap_irrCharSeries ( ideal I, const ring r); |
---|
[67c1dc] | 58 | char* singclap_neworder ( ideal I, const ring r); |
---|
| 59 | #endif |
---|
[35aab3] | 60 | |
---|
[ce3f53c] | 61 | poly singclap_det( const matrix m, const ring r ); |
---|
| 62 | int singclap_det_i( intvec * m, const ring r ); |
---|
[24a9587] | 63 | number singclap_det_bi( bigintmat * m, const coeffs cf); |
---|
[35aab3] | 64 | |
---|
[529fa4] | 65 | number nChineseRemainder(number *x, number *q,int rl, const coeffs r); |
---|
[cd6df87] | 66 | |
---|
[fea2af] | 67 | |
---|
| 68 | #endif /* HAVE_FACTORY */ |
---|
| 69 | |
---|
| 70 | |
---|
[35aab3] | 71 | #endif /* INCL_FACTORYSING_H */ |
---|
| 72 | |
---|