CRingPhiPhase2 Class Reference

Inheritance diagram for CRingPhiPhase2:

Inheritance graph
[legend]
Collaboration diagram for CRingPhiPhase2:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CRingPhiPhase2 (const CRingPhi &_a)
 ~CRingPhiPhase2 ()
void get_polynomdef_point (mpz_t x)
void calc_polynomdef_next_point ()
void calc_EvalStartingPoint (const int D, const double ii)
void get_point_and_calc_next_point (mpz_t x)

Private Attributes

CRingPhi a
mpz_t b_inv
mpz_t b
mpz_t d
mpz_t d_inv
mpz_t b_plus_b_inv
mpz_t d_plus_d_inv
mpz_t prev_b_plus_b_inv
mpz_t temp1
mpz_t temp2


Detailed Description

Definition at line 29 of file pollard_phi.cc.


Constructor & Destructor Documentation

CRingPhiPhase2::CRingPhiPhase2 ( const CRingPhi _a  )  [inline, explicit]

Definition at line 37 of file pollard_phi.cc.

References CRingPhi::a, a, b, b_inv, b_plus_b_inv, d, d_inv, d_plus_d_inv, mpz_add(), mpz_init(), mpz_invert(), mpz_mod(), mpz_powm_ui(), mpz_set(), n, prev_b_plus_b_inv, temp1, and temp2.

Here is the call graph for this function:

CRingPhiPhase2::~CRingPhiPhase2 (  )  [inline]

Definition at line 90 of file pollard_phi.cc.

References b, b_inv, b_plus_b_inv, d, d_inv, d_plus_d_inv, mpz_clear(), prev_b_plus_b_inv, temp1, and temp2.

Here is the call graph for this function:


Member Function Documentation

void CRingPhiPhase2::get_polynomdef_point ( mpz_t  x  )  [inline]

Definition at line 97 of file pollard_phi.cc.

References b_plus_b_inv, and mpz_set().

Here is the call graph for this function:

void CRingPhiPhase2::calc_polynomdef_next_point (  )  [inline]

Definition at line 102 of file pollard_phi.cc.

References b_plus_b_inv, d_plus_d_inv, mpz_mod(), mpz_mul(), mpz_set(), mpz_sub(), n, prev_b_plus_b_inv, and temp1.

Here is the call graph for this function:

void CRingPhiPhase2::calc_EvalStartingPoint ( const int  D,
const double  ii 
) [inline]

Definition at line 110 of file pollard_phi.cc.

References CRingPhi::a, a, b, b_inv, b_plus_b_inv, d, d_inv, d_plus_d_inv, mpz_add(), mpz_invert(), mpz_mod(), mpz_mul(), mpz_powm(), mpz_powm_ui(), mpz_set_d(), n, prev_b_plus_b_inv, temp1, and temp2.

Here is the call graph for this function:

void CRingPhiPhase2::get_point_and_calc_next_point ( mpz_t  x  )  [inline]

Definition at line 122 of file pollard_phi.cc.

References b_plus_b_inv, d_plus_d_inv, mpz_mod(), mpz_mul(), mpz_set(), mpz_sub(), n, and prev_b_plus_b_inv.

Here is the call graph for this function:


Member Data Documentation

CRingPhi CRingPhiPhase2::a [private]

Definition at line 32 of file pollard_phi.cc.

Referenced by calc_EvalStartingPoint(), and CRingPhiPhase2().

mpz_t CRingPhiPhase2::b_inv [private]

Definition at line 33 of file pollard_phi.cc.

Referenced by calc_EvalStartingPoint(), CRingPhiPhase2(), and ~CRingPhiPhase2().

mpz_t CRingPhiPhase2::b [private]

Definition at line 33 of file pollard_phi.cc.

Referenced by calc_EvalStartingPoint(), CRingPhiPhase2(), and ~CRingPhiPhase2().

mpz_t CRingPhiPhase2::d [private]

Definition at line 33 of file pollard_phi.cc.

Referenced by calc_EvalStartingPoint(), CRingPhiPhase2(), and ~CRingPhiPhase2().

mpz_t CRingPhiPhase2::d_inv [private]

Definition at line 33 of file pollard_phi.cc.

Referenced by calc_EvalStartingPoint(), CRingPhiPhase2(), and ~CRingPhiPhase2().

mpz_t CRingPhiPhase2::b_plus_b_inv [private]

Definition at line 33 of file pollard_phi.cc.

Referenced by calc_EvalStartingPoint(), calc_polynomdef_next_point(), CRingPhiPhase2(), get_point_and_calc_next_point(), get_polynomdef_point(), and ~CRingPhiPhase2().

mpz_t CRingPhiPhase2::d_plus_d_inv [private]

Definition at line 33 of file pollard_phi.cc.

Referenced by calc_EvalStartingPoint(), calc_polynomdef_next_point(), CRingPhiPhase2(), get_point_and_calc_next_point(), and ~CRingPhiPhase2().

mpz_t CRingPhiPhase2::prev_b_plus_b_inv [private]

Definition at line 33 of file pollard_phi.cc.

Referenced by calc_EvalStartingPoint(), calc_polynomdef_next_point(), CRingPhiPhase2(), get_point_and_calc_next_point(), and ~CRingPhiPhase2().

mpz_t CRingPhiPhase2::temp1 [private]

Definition at line 33 of file pollard_phi.cc.

Referenced by calc_EvalStartingPoint(), calc_polynomdef_next_point(), CRingPhiPhase2(), and ~CRingPhiPhase2().

mpz_t CRingPhiPhase2::temp2 [private]

Definition at line 33 of file pollard_phi.cc.

Referenced by calc_EvalStartingPoint(), CRingPhiPhase2(), and ~CRingPhiPhase2().


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