source: git/factory/algext.h @ 6f08f3

spielwiese
Last change on this file since 6f08f3 was fe2d4c, checked in by Martin Lee <martinlee84@…>, 13 years ago
added better compression of polynomials to tryBrownGCD added better termination test to QGCD git-svn-id: file:///usr/local/Singular/svn/trunk@14290 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 1.3 KB
Line 
1#ifndef ALGEXT_H
2#define ALGEXT_H
3
4#include <config.h>
5
6#include "canonicalform.h"
7#include "variable.h"
8
9CanonicalForm QGCD( const CanonicalForm &, const CanonicalForm & );
10void tryDivrem (const CanonicalForm&, const CanonicalForm&, CanonicalForm&,
11                CanonicalForm&, CanonicalForm&, const CanonicalForm&,
12                bool&);
13void tryEuclid( const CanonicalForm &, const CanonicalForm &, const CanonicalForm &, CanonicalForm &, bool & );
14void tryInvert( const CanonicalForm &, const CanonicalForm &, CanonicalForm &, bool & );
15bool hasFirstAlgVar( const CanonicalForm &, Variable & );
16void tryBrownGCD( const CanonicalForm & F, const CanonicalForm & G, const CanonicalForm & M, CanonicalForm & result, bool & fail, bool topLevel= true );
17void tryCRA( const CanonicalForm & x1, const CanonicalForm & q1, const CanonicalForm & x2, const CanonicalForm & q2, CanonicalForm & xnew, CanonicalForm & qnew, bool & fail );
18void tryExtgcd( const CanonicalForm & F, const CanonicalForm & G, CanonicalForm & result, CanonicalForm & s, CanonicalForm & t, bool & fail );
19int * leadDeg(const CanonicalForm & f, int *degs);
20bool isLess(int *a, int *b, int lower, int upper);
21bool isEqual(int *a, int *b, int lower, int upper);
22CanonicalForm firstLC(const CanonicalForm & f);
23
24#endif
25
Note: See TracBrowser for help on using the repository browser.