source: git/libpolys/polys/clapsing.h @ 3426545

spielwiese
Last change on this file since 3426545 was 3426545, checked in by Oleksandr Motsak <motsak@…>, 11 years ago
Misc. osx/no-implicit-templates/static build-related changes
  • Property mode set to 100644
File size: 2.3 KB
Line 
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#ifndef INCL_FACTORYSING_H
10#define INCL_FACTORYSING_H
11
12#ifdef HAVE_FACTORY
13
14class bigintmat;
15class intvec;
16
17struct snumber; typedef struct snumber *   number;
18struct spolyrec; typedef struct spolyrec    polyrec; typedef polyrec *          poly;
19struct ip_sring; typedef struct ip_sring *         ring;
20struct sip_sideal; typedef struct sip_sideal *       ideal;
21
22class ip_smatrix; typedef ip_smatrix *       matrix;
23
24struct n_Procs_s; typedef struct  n_Procs_s  *coeffs;
25
26//#include <polys/clapconv.h>
27//#include <kernel/longtrans.h>
28
29/// destroys f and g
30poly singclap_gcd ( poly f, poly g, const ring r );
31
32/// clears denominators of f and g, divides by gcd(f,g)
33void singclap_gcd_and_divide ( poly& f, poly& g, const ring r);
34
35// commented out!
36// poly singclap_alglcm ( poly f, poly g, const ring r );
37// void singclap_algdividecontent ( napoly f, napoly g, napoly &ff, napoly &gg );
38
39poly singclap_resultant ( poly f, poly g , poly x, const ring r);
40
41BOOLEAN singclap_extgcd ( poly f, poly g, poly &res, poly &pa, poly &pb , const ring r);
42
43poly singclap_pdivide ( poly f, poly g, const ring r );
44
45void singclap_divide_content ( poly f, const ring r);
46
47ideal singclap_factorize ( poly f, intvec ** v , int with_exps, const ring r);
48
49ideal singclap_sqrfree ( poly f, intvec ** v , int with_exps, const ring r );
50
51# ifdef HAVE_NTL
52#  if 1
53matrix  singntl_HNF(matrix A, const ring r);
54intvec* singntl_HNF(intvec* A, const ring r);
55matrix  singntl_LLL(matrix A, const ring r);
56intvec* singntl_LLL(intvec* A, const ring r);
57
58ideal singclap_absBiFactorize ( poly f, ideal & mipos, intvec ** exps, int & n, const ring r);
59#  endif
60# endif
61
62BOOLEAN singclap_isSqrFree(poly f, const ring r);
63
64# ifdef HAVE_LIBFAC
65 matrix singclap_irrCharSeries ( ideal I, const ring r);
66 char* singclap_neworder ( ideal I, const ring r);
67# endif
68
69poly singclap_det( const matrix m, const ring r );
70int singclap_det_i( intvec * m, const ring r );
71number singclap_det_bi( bigintmat * m, const coeffs cf);
72
73number   nChineseRemainder(number *x, number *q,int rl, const coeffs r);
74
75
76#endif /* HAVE_FACTORY */
77
78#endif /* INCL_FACTORYSING_H */
79
Note: See TracBrowser for help on using the repository browser.