entry Class Reference

List of all members.

Public Member Functions

 entry (const unsigned int index)
 ~entry ()
const mpz_t & get_mpz (const unsigned int index) const
mp_limb_t get_hash () const
bool operator< (const entry &rhs) const
bool operator== (const entry &rhs) const
signed int compare (const mp_limb_t rhs) const

Static Public Attributes

static mpz_t Base

Private Attributes

mp_limb_t hashval

Static Private Attributes

static unsigned int iL = 0
static mpz_t L

Friends

class phimahashvecs


Detailed Description

Definition at line 188 of file fermat.cc.


Constructor & Destructor Documentation

entry::entry ( const unsigned int  index  )  [inline]

Definition at line 197 of file fermat.cc.

References Base, hashval, iL, L, mpz_getlimbn(), mpz_mod(), mpz_mul(), mpz_powm_ui(), and n.

Here is the call graph for this function:

entry::~entry (  )  [inline]

Definition at line 211 of file fermat.cc.


Member Function Documentation

const mpz_t& entry::get_mpz ( const unsigned int  index  )  const [inline]

Definition at line 212 of file fermat.cc.

References Base, iL, L, mpz_powm_ui(), and n.

Referenced by phimahashvecs::insert().

Here is the call graph for this function:

mp_limb_t entry::get_hash (  )  const [inline]

Definition at line 221 of file fermat.cc.

References hashval.

bool entry::operator< ( const entry rhs  )  const [inline]

Definition at line 222 of file fermat.cc.

References hashval.

bool entry::operator== ( const entry rhs  )  const [inline]

Definition at line 228 of file fermat.cc.

References hashval.

signed int entry::compare ( const mp_limb_t  rhs  )  const [inline]

Definition at line 232 of file fermat.cc.

References hashval.


Friends And Related Function Documentation

friend class phimahashvecs [friend]

Definition at line 192 of file fermat.cc.


Member Data Documentation

mp_limb_t entry::hashval [private]

Definition at line 191 of file fermat.cc.

Referenced by compare(), entry(), get_hash(), operator<(), and operator==().

unsigned int entry::iL = 0 [static, private]

Definition at line 193 of file fermat.cc.

Referenced by entry(), get_mpz(), phimahashvecs::phimahashvecs(), and phimahashvecs::prepare().

mpz_t entry::L [static, private]

Definition at line 194 of file fermat.cc.

Referenced by entry(), get_mpz(), phimahashvecs::phimahashvecs(), and phimahashvecs::prepare().

mpz_t entry::Base [static]

Definition at line 196 of file fermat.cc.

Referenced by entry(), phimahashvecs::found(), get_mpz(), phimat2(), and phimahashvecs::prepare().


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