source: git/libpolys/polys/clapsing.h @ 3ef9c8

spielwiese
Last change on this file since 3ef9c8 was 3ef9c8, checked in by Martin Lee <martinlee84@…>, 12 years ago
chg: changes in factory interface and iparith.cc accordingly to master
  • Property mode set to 100644
File size: 1.9 KB
Line 
1// emacs edit mode for this file is -*- C++ -*-
2/****************************************
3*  Computer Algebra System SINGULAR     *
4****************************************/
5// $Id$
6/*
7* ABSTRACT: interface between Singular and factory
8*/
9
10
11#ifndef INCL_FACTORYSING_H
12#define INCL_FACTORYSING_H
13
14#include <polys/monomials/p_polys.h>
15#include <polys/monomials/ring.h>
16#include <polys/simpleideals.h>
17#include <misc/intvec.h>
18#include <polys/matpol.h>
19//#include <polys/clapconv.h>
20//#include <kernel/longtrans.h>
21
22/* destroys f and g */
23poly singclap_gcd ( poly f, poly g, const ring r );
24
25/*
26// commented out!
27napoly singclap_alglcm ( napoly f, napoly g );
28void singclap_algdividecontent ( napoly f, napoly g, napoly &ff, napoly &gg );
29*/
30
31poly singclap_resultant ( poly f, poly g , poly x, const ring r);
32
33BOOLEAN singclap_extgcd ( poly f, poly g, poly &res, poly &pa, poly &pb , const ring r);
34
35poly singclap_pdivide ( poly f, poly g, const ring r );
36
37void singclap_divide_content ( poly f, const ring r);
38
39ideal singclap_factorize ( poly f, intvec ** v , int with_exps, const ring r);
40
41ideal singclap_sqrfree ( poly f, intvec ** v , int with_exps, const ring r );
42
43#ifdef HAVE_NTL
44#if 1
45matrix singntl_HNF(matrix A, const ring r);
46intvec* singntl_HNF(intvec* A, const ring r);
47matrix singntl_LLL(matrix A, const ring r);
48intvec* singntl_LLL(intvec* A, const ring r);
49#endif
50#endif
51
52BOOLEAN singclap_isSqrFree(poly f, const ring r);
53
54/*
55 // need libfac??? commented out!
56 matrix singclap_irrCharSeries ( ideal I, const ring r);
57 char* singclap_neworder ( ideal I, const ring r);
58*/ 
59
60poly singclap_det( const matrix m, const ring r );
61int singclap_det_i( intvec * m, const ring r );
62/*
63BOOLEAN jjRESULTANT(leftv res, leftv u, leftv v, leftv w);
64BOOLEAN jjCHARSERIES(leftv res, leftv u);
65#if 0
66BOOLEAN jjIS_SQR_FREE(leftv res, leftv u);
67#endif
68*/
69
70number   nChineseRemainder(number *x, number *q,int rl, const coeffs r);
71
72#endif /* INCL_FACTORYSING_H */
73
Note: See TracBrowser for help on using the repository browser.