source: git/libfac/factor/helpstuff.h @ 91b36d

spielwiese
Last change on this file since 91b36d was 91b36d, checked in by Hans Schönemann <hannes@…>, 16 years ago
*hannes: licence stuff git-svn-id: file:///usr/local/Singular/svn/trunk@10750 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.7 KB
Line 
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
7bool mydivremt ( const CanonicalForm&, const CanonicalForm&, CanonicalForm&, CanonicalForm& );
8void mydivrem( const CanonicalForm& f, const CanonicalForm& g, CanonicalForm& a, CanonicalForm& b );
9///////////////////////////////////////////////////////////////
10// Now some procedures used in MVMultiHensel and in Truefactors
11///////////////////////////////////////////////////////////////
12CanonicalForm mod_power( const CanonicalForm & f, int k, int levelU);
13int subvardegree( const CanonicalForm & F, int levelF );
14CanonicalForm change_poly( const CanonicalForm & f , const SFormList & Substitutionlist, int directionback );
15
16///////////////////////////////////////////////////////////////
17// Now some procedures used in SqrFree and in Factor
18///////////////////////////////////////////////////////////////
19CFFList myappend( const CFFList & Inputlist, const CFFactor & TheFactor) ;
20CFFList myUnion(const CFFList & Inputlist1,const CFFList & Inputlist2);
21int Powerup( const int base , const int exp=1);
22inline int min ( const int a, const int b ){
23  return (a<=b ? a:b);
24}
25inline 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 $
34Revision 1.6  2008/03/17 17:44:17  Singular
35*hannes: fact.tst
36
37Revision 1.3  1997/09/12 07:19:57  Singular
38* hannes/michael: libfac-0.3.0
39
40Revision 1.2  1997/04/25 22:23:49  michael
41Version for libfac-0.2.1
42
43*/
Note: See TracBrowser for help on using the repository browser.