CRingPhi Class Reference

Collaboration diagram for CRingPhi:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CRingPhi ()
 CRingPhi (const CRingPhi &x)
 ~CRingPhi ()
bool set_startvalue (const unsigned int seed=1)
void set (const CRingPhi &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 = "phi"
static const int SieveIntervalSize = 2*3*5*7*11*13*17

Private Attributes

mpz_t a

Friends

class CRingPhiPhase2


Detailed Description

Definition at line 10 of file pollard_phi.cc.


Constructor & Destructor Documentation

CRingPhi::CRingPhi (  )  [inline]

Definition at line 17 of file pollard_phi.cc.

References a, and mpz_init().

Here is the call graph for this function:

CRingPhi::CRingPhi ( const CRingPhi x  )  [inline]

Definition at line 18 of file pollard_phi.cc.

References a, and mpz_init_set().

Here is the call graph for this function:

CRingPhi::~CRingPhi (  )  [inline]

Definition at line 19 of file pollard_phi.cc.

References a, and mpz_clear().

Here is the call graph for this function:


Member Function Documentation

bool CRingPhi::set_startvalue ( const unsigned int  seed = 1  )  [inline]

Definition at line 20 of file pollard_phi.cc.

References a, and mpz_set_ui().

Here is the call graph for this function:

void CRingPhi::set ( const CRingPhi x  )  [inline]

Definition at line 21 of file pollard_phi.cc.

References a, and mpz_set().

Here is the call graph for this function:

void CRingPhi::pow_mod ( const unsigned int  i,
const mpz_t  M 
) [inline]

Definition at line 22 of file pollard_phi.cc.

References a, and mpz_powm_ui().

Here is the call graph for this function:

void CRingPhi::fast_pow_mod ( const unsigned int  i,
const mpz_t  M 
) [inline]

Definition at line 23 of file pollard_phi.cc.

References a, and my_mpz_powm_ui().

Here is the call graph for this function:

void CRingPhi::test_gcd ( mpz_t  x,
const mpz_t  M 
) [inline]

Definition at line 24 of file pollard_phi.cc.

References a, mpz_gcd(), and mpz_sub_ui().

Here is the call graph for this function:


Friends And Related Function Documentation

friend class CRingPhiPhase2 [friend]

Definition at line 25 of file pollard_phi.cc.


Member Data Documentation

mpz_t CRingPhi::a [private]

Definition at line 13 of file pollard_phi.cc.

Referenced by CRingPhiPhase2::calc_EvalStartingPoint(), CRingPhi(), CRingPhiPhase2::CRingPhiPhase2(), fast_pow_mod(), pow_mod(), set(), set_startvalue(), test_gcd(), and ~CRingPhi().

const std::string CRingPhi::name = "phi" [static]

Definition at line 15 of file pollard_phi.cc.

const int CRingPhi::SieveIntervalSize = 2*3*5*7*11*13*17 [static]

Definition at line 16 of file pollard_phi.cc.


The documentation for this class was generated from the following file:
Generated on Wed Nov 7 23:31:27 2007 for Qsieve by  doxygen 1.5.4