My Project
Loading...
Searching...
No Matches
cfGcdUtil.h
Go to the documentation of this file.
1/**
2 * @file cfGcdUtil.h
3 *
4 * coprimality check and change of representation mod n
5**/
6
7#ifndef CF_GCD_UTIL_H
8#define CF_GCD_UTIL_H
9bool
10gcd_test_one ( const CanonicalForm & f, const CanonicalForm & g, bool swap, int & d );
11
13balance_p ( const CanonicalForm & f, const CanonicalForm & q, const CanonicalForm & qh );
14
16balance_p ( const CanonicalForm & f, const CanonicalForm & q );
17#endif
#define swap(_i, _j)
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
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
Definition: cfModGcd.cc:4090
FILE * f
Definition: checklibs.c:9
factory's main class
Definition: canonicalform.h:86