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

spielwiese
Last change on this file since ba5e9e was d2fc749, checked in by Martin Lee <martinlee84@…>, 11 years ago
chg: renamed absBiFactorize to absFactorize
  • 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
32poly singclap_gcd_r ( poly f, poly g, const ring r );
33
34/// clears denominators of f and g, divides by gcd(f,g)
35void singclap_gcd_and_divide ( poly& f, poly& g, const ring r);
36
37// commented out!
38// poly singclap_alglcm ( poly f, poly g, const ring r );
39// void singclap_algdividecontent ( napoly f, napoly g, napoly &ff, napoly &gg );
40
41poly singclap_resultant ( poly f, poly g , poly x, const ring r);
42
43BOOLEAN singclap_extgcd ( poly f, poly g, poly &res, poly &pa, poly &pb , const ring r);
44
45poly singclap_pdivide ( poly f, poly g, const ring r );
46
47void singclap_divide_content ( poly f, const ring r);
48
49ideal singclap_factorize ( poly f, intvec ** v , int with_exps, const ring r);
50
51ideal singclap_sqrfree ( poly f, intvec ** v , int with_exps, const ring r );
52
53# ifdef HAVE_NTL
54#  if 1
55matrix  singntl_HNF(matrix A, const ring r);
56intvec* singntl_HNF(intvec* A, const ring r);
57matrix  singntl_LLL(matrix A, const ring r);
58intvec* singntl_LLL(intvec* A, const ring r);
59
60ideal singclap_absFactorize ( poly f, ideal & mipos, intvec ** exps, int & n, const ring r);
61#  endif
62# endif
63
64BOOLEAN singclap_isSqrFree(poly f, const ring r);
65
66# ifdef HAVE_LIBFAC
67 matrix singclap_irrCharSeries ( ideal I, const ring r);
68 char* singclap_neworder ( ideal I, const ring r);
69# endif
70
71poly singclap_det( const matrix m, const ring r );
72int singclap_det_i( intvec * m, const ring r );
73number singclap_det_bi( bigintmat * m, const coeffs cf);
74
75number   nChineseRemainder(number *x, number *q,int rl, const coeffs r);
76
77
78#endif /* HAVE_FACTORY */
79
80#endif /* INCL_FACTORYSING_H */
81
Note: See TracBrowser for help on using the repository browser.