source: git/factory/libfac/factor/helpstuff.h @ dccceb

jengelh-datetimespielwiese
Last change on this file since dccceb was dccceb, checked in by Oleksandr Motsak <motsak@…>, 11 years ago
moved libfac under factory/ CHG: moved libfac/ under factory/ Note: starting to merge libfac into factory (as a private library)
  • Property mode set to 100644
File size: 1.3 KB
Line 
1////////////////////////////////////////////////////////////
2// emacs edit mode for this file is -*- C++ -*-
3// $Id$
4////////////////////////////////////////////////////////////
5#ifndef HELPSTUFF_H
6#define HELPSTUFF_H
7bool mydivremt ( const CanonicalForm&, const CanonicalForm&, CanonicalForm&, CanonicalForm& );
8///////////////////////////////////////////////////////////////
9// Now some procedures used in MVMultiHensel and in Truefactors
10///////////////////////////////////////////////////////////////
11CanonicalForm mod_power( const CanonicalForm & f, int k, int levelU);
12int subvardegree( const CanonicalForm & F, int levelF );
13CanonicalForm change_poly( const CanonicalForm & f , const SFormList & Substitutionlist, int directionback );
14
15///////////////////////////////////////////////////////////////
16// Now some procedures used in SqrFree and in Factor
17///////////////////////////////////////////////////////////////
18CFFList myappend( const CFFList & Inputlist, const CFFactor & TheFactor) ;
19CFFList myUnion(const CFFList & Inputlist1,const CFFList & Inputlist2);
20int Powerup( const int base , const int exp=1);
21inline int min ( const int a, const int b ){
22  return (a<=b ? a:b);
23}
24inline int max ( const int a, const int b ){
25  return (a>b ? a:b);
26}
27
28#endif /* HELPSTUFF_H */
29
Note: See TracBrowser for help on using the repository browser.