1 | //////////////////////////////////////////////////////////// |
---|
2 | // emacs edit mode for this file is -*- C++ -*- |
---|
3 | // $Id: helpstuff.h,v 1.7 2008-06-10 14:49:16 Singular Exp $ |
---|
4 | //////////////////////////////////////////////////////////// |
---|
5 | #ifndef HELPSTUFF_H |
---|
6 | #define HELPSTUFF_H |
---|
7 | bool mydivremt ( const CanonicalForm&, const CanonicalForm&, CanonicalForm&, CanonicalForm& ); |
---|
8 | void mydivrem( const CanonicalForm& f, const CanonicalForm& g, CanonicalForm& a, CanonicalForm& b ); |
---|
9 | /////////////////////////////////////////////////////////////// |
---|
10 | // Now some procedures used in MVMultiHensel and in Truefactors |
---|
11 | /////////////////////////////////////////////////////////////// |
---|
12 | CanonicalForm mod_power( const CanonicalForm & f, int k, int levelU); |
---|
13 | int subvardegree( const CanonicalForm & F, int levelF ); |
---|
14 | CanonicalForm change_poly( const CanonicalForm & f , const SFormList & Substitutionlist, int directionback ); |
---|
15 | |
---|
16 | /////////////////////////////////////////////////////////////// |
---|
17 | // Now some procedures used in SqrFree and in Factor |
---|
18 | /////////////////////////////////////////////////////////////// |
---|
19 | CFFList myappend( const CFFList & Inputlist, const CFFactor & TheFactor) ; |
---|
20 | CFFList myUnion(const CFFList & Inputlist1,const CFFList & Inputlist2); |
---|
21 | int Powerup( const int base , const int exp=1); |
---|
22 | inline int min ( const int a, const int b ){ |
---|
23 | return (a<=b ? a:b); |
---|
24 | } |
---|
25 | inline int max ( const int a, const int b ){ |
---|
26 | return (a>b ? a:b); |
---|
27 | } |
---|
28 | |
---|
29 | #endif /* HELPSTUFF_H */ |
---|
30 | |
---|
31 | /////////////////////////////////////////////////////////////////////////////// |
---|
32 | /* |
---|
33 | $Log: not supported by cvs2svn $ |
---|
34 | Revision 1.6 2008/03/17 17:44:17 Singular |
---|
35 | *hannes: fact.tst |
---|
36 | |
---|
37 | Revision 1.3 1997/09/12 07:19:57 Singular |
---|
38 | * hannes/michael: libfac-0.3.0 |
---|
39 | |
---|
40 | Revision 1.2 1997/04/25 22:23:49 michael |
---|
41 | Version for libfac-0.2.1 |
---|
42 | |
---|
43 | */ |
---|