Loading...
Searching...
No Matches
cfGcdUtil.h
Go to the documentation of this file.
/**
* @file cfGcdUtil.h
*
* coprimality check and change of representation mod n
**/
#ifndef CF_GCD_UTIL_H
#define CF_GCD_UTIL_H
bool
gcd_test_one ( const CanonicalForm & f, const CanonicalForm & g, bool swap, int & d );
CanonicalForm
balance_p ( const CanonicalForm & f, const CanonicalForm & q, const CanonicalForm & qh );
CanonicalForm
balance_p ( const CanonicalForm & f, const CanonicalForm & q );
#endif
swap
#define swap(_i, _j)
gcd_test_one
bool gcd_test_one(const CanonicalForm &f, const CanonicalForm &g, bool swap, int &d)
Coprimality Check. f and g are assumed to have the same level. If swap is true, the main variables of...
Definition cfGcdUtil.cc:25
balance_p
CanonicalForm balance_p(const CanonicalForm &f, const CanonicalForm &q, const CanonicalForm &qh)
same as balance_p ( const CanonicalForm & f, const CanonicalForm & q ) but qh= q/2 is provided,...
Definition cfGcdUtil.cc:258
g
g
Definition cfModGcd.cc:4098
f
FILE * f
Definition checklibs.c:9
CanonicalForm
factory's main class
Definition canonicalform.h:86