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