source: git/factory/libfac/factor/helpstuff.h @ 16055bd

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