source: git/libfac/factor/helpstuff.h @ d9edaf

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