[35aab3] | 1 | // emacs edit mode for this file is -*- C++ -*- |
---|
| 2 | /**************************************** |
---|
| 3 | * Computer Algebra System SINGULAR * |
---|
| 4 | ****************************************/ |
---|
[341696] | 5 | // $Id$ |
---|
[35aab3] | 6 | /* |
---|
| 7 | * ABSTRACT: interface between Singular and factory |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | #ifndef INCL_FACTORYSING_H |
---|
| 12 | #define INCL_FACTORYSING_H |
---|
| 13 | |
---|
[fea2af] | 14 | |
---|
| 15 | #ifdef HAVE_FACTORY |
---|
| 16 | |
---|
[af598e] | 17 | #include <polys/monomials/p_polys.h> |
---|
| 18 | #include <polys/monomials/ring.h> |
---|
| 19 | #include <polys/simpleideals.h> |
---|
| 20 | #include <misc/intvec.h> |
---|
| 21 | #include <polys/matpol.h> |
---|
[22a09d] | 22 | //#include <polys/clapconv.h> |
---|
[af598e] | 23 | //#include <kernel/longtrans.h> |
---|
[35aab3] | 24 | |
---|
[fd01a8] | 25 | /* destroys f and g */ |
---|
[ce3f53c] | 26 | poly singclap_gcd ( poly f, poly g, const ring r ); |
---|
[fd01a8] | 27 | |
---|
[af598e] | 28 | /* |
---|
[3aa9b6] | 29 | // commented out! |
---|
[35aab3] | 30 | napoly singclap_alglcm ( napoly f, napoly g ); |
---|
| 31 | void singclap_algdividecontent ( napoly f, napoly g, napoly &ff, napoly &gg ); |
---|
[af598e] | 32 | */ |
---|
[35aab3] | 33 | |
---|
[ce3f53c] | 34 | poly singclap_resultant ( poly f, poly g , poly x, const ring r); |
---|
[35aab3] | 35 | |
---|
[ce3f53c] | 36 | BOOLEAN singclap_extgcd ( poly f, poly g, poly &res, poly &pa, poly &pb , const ring r); |
---|
[35aab3] | 37 | |
---|
[ce3f53c] | 38 | poly singclap_pdivide ( poly f, poly g, const ring r ); |
---|
[35aab3] | 39 | |
---|
[ce3f53c] | 40 | void singclap_divide_content ( poly f, const ring r); |
---|
[35aab3] | 41 | |
---|
[ce3f53c] | 42 | ideal singclap_factorize ( poly f, intvec ** v , int with_exps, const ring r); |
---|
[35aab3] | 43 | |
---|
[3ef9c8] | 44 | ideal singclap_sqrfree ( poly f, intvec ** v , int with_exps, const ring r ); |
---|
[0dd641] | 45 | |
---|
[2072126] | 46 | #ifdef HAVE_NTL |
---|
[895b31c] | 47 | #if 1 |
---|
[ce3f53c] | 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); |
---|
[2072126] | 52 | #endif |
---|
[895b31c] | 53 | #endif |
---|
[af8863] | 54 | |
---|
[ce3f53c] | 55 | BOOLEAN singclap_isSqrFree(poly f, const ring r); |
---|
[35aab3] | 56 | |
---|
[67c1dc] | 57 | #ifdef HAVE_LIBFAC |
---|
[3aa9b6] | 58 | matrix singclap_irrCharSeries ( ideal I, const ring r); |
---|
[67c1dc] | 59 | char* singclap_neworder ( ideal I, const ring r); |
---|
| 60 | #endif |
---|
[35aab3] | 61 | |
---|
[ce3f53c] | 62 | poly singclap_det( const matrix m, const ring r ); |
---|
| 63 | int singclap_det_i( intvec * m, const ring r ); |
---|
[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 | |
---|