Public Member Functions | |
CRingFib () | |
CRingFib (const CRingFib &x) | |
~CRingFib () | |
bool | set_startvalue (const unsigned int seed=1) |
void | set (const CRingFib &x) |
void | pow_mod (const unsigned int i, const mpz_t M) |
void | fast_pow_mod (const unsigned int i, const mpz_t M) |
void | test_gcd (mpz_t x, const mpz_t M) |
Static Public Attributes | |
static const std::string | name = "fib" |
static const int | SieveIntervalSize = 2*3*5*7*11*13*17 |
Private Member Functions | |
const CRingFib & | operator= (const CRingFib &) const |
Private Attributes | |
Tfibpair | a |
Friends | |
class | CRingFibPhase2 |
Definition at line 231 of file fibonacci_ppm1.cc.
CRingFib::CRingFib | ( | ) | [inline] |
Definition at line 242 of file fibonacci_ppm1.cc.
CRingFib::CRingFib | ( | const CRingFib & | x | ) | [inline] |
Definition at line 243 of file fibonacci_ppm1.cc.
CRingFib::~CRingFib | ( | ) | [inline] |
Definition at line 244 of file fibonacci_ppm1.cc.
bool CRingFib::set_startvalue | ( | const unsigned int | seed = 1 |
) | [inline] |
Definition at line 245 of file fibonacci_ppm1.cc.
References a, and Tfibpair::set().
void CRingFib::set | ( | const CRingFib & | x | ) | [inline] |
Definition at line 250 of file fibonacci_ppm1.cc.
References a, and Tfibpair::set().
void CRingFib::pow_mod | ( | const unsigned int | i, | |
const mpz_t | M | |||
) | [inline] |
Definition at line 251 of file fibonacci_ppm1.cc.
References a, and Tfibpair::powmod().
void CRingFib::fast_pow_mod | ( | const unsigned int | i, | |
const mpz_t | M | |||
) | [inline] |
Definition at line 252 of file fibonacci_ppm1.cc.
References a, and Tfibpair::fastpowmod().
void CRingFib::test_gcd | ( | mpz_t | x, | |
const mpz_t | M | |||
) | [inline] |
Definition at line 253 of file fibonacci_ppm1.cc.
References a, Tfibpair::fn(), and mpz_gcd().
friend class CRingFibPhase2 [friend] |
Definition at line 254 of file fibonacci_ppm1.cc.
Tfibpair CRingFib::a [private] |
Definition at line 234 of file fibonacci_ppm1.cc.
Referenced by fast_pow_mod(), pow_mod(), set(), set_startvalue(), and test_gcd().
const std::string CRingFib::name = "fib" [static] |
Definition at line 240 of file fibonacci_ppm1.cc.
const int CRingFib::SieveIntervalSize = 2*3*5*7*11*13*17 [static] |
Definition at line 241 of file fibonacci_ppm1.cc.