My Project
|
Go to the source code of this file.
Functions | |
CanonicalForm | QGCD (const CanonicalForm &, const CanonicalForm &) |
gcd over Q(a) More... | |
void | tryInvert (const CanonicalForm &, const CanonicalForm &, CanonicalForm &, bool &) |
void | tryBrownGCD (const CanonicalForm &F, const CanonicalForm &G, const CanonicalForm &M, CanonicalForm &result, bool &fail, bool topLevel=true) |
modular gcd over F_p[x]/(M) for not necessarily irreducible M. If a zero divisor is encountered fail is set to true. More... | |
bool | isLess (int *a, int *b, int lower, int upper) |
bool | isEqual (int *a, int *b, int lower, int upper) |
CanonicalForm | firstLC (const CanonicalForm &f) |
GCD over Q(a)
ABSTRACT: Implementation of Encarnacion's GCD algorithm over number fields, see M.J. Encarnacion "Computing GCDs of polynomials over number fields", extended to the multivariate case.
Definition in file cfGcdAlgExt.h.
CanonicalForm firstLC | ( | const CanonicalForm & | f | ) |
Definition at line 955 of file cfGcdAlgExt.cc.
bool isEqual | ( | int * | a, |
int * | b, | ||
int | lower, | ||
int | upper | ||
) |
Definition at line 946 of file cfGcdAlgExt.cc.
bool isLess | ( | int * | a, |
int * | b, | ||
int | lower, | ||
int | upper | ||
) |
CanonicalForm QGCD | ( | const CanonicalForm & | F, |
const CanonicalForm & | G | ||
) |
gcd over Q(a)
Definition at line 730 of file cfGcdAlgExt.cc.
void tryBrownGCD | ( | const CanonicalForm & | F, |
const CanonicalForm & | G, | ||
const CanonicalForm & | M, | ||
CanonicalForm & | result, | ||
bool & | fail, | ||
bool | topLevel = true |
||
) |
modular gcd over F_p[x]/(M) for not necessarily irreducible M. If a zero divisor is encountered fail is set to true.
Definition at line 386 of file cfGcdAlgExt.cc.
void tryInvert | ( | const CanonicalForm & | F, |
const CanonicalForm & | M, | ||
CanonicalForm & | inv, | ||
bool & | fail | ||
) |
Definition at line 221 of file cfGcdAlgExt.cc.