numbpart::Cnumbpart Class Reference

Inheritance diagram for numbpart::Cnumbpart:

Inheritance graph
[legend]
Collaboration diagram for numbpart::Cnumbpart:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Cnumbpart (const int n)
 ~Cnumbpart ()
void get_numbpart (mpz_t res, const int n)

Private Types

typedef mpz_t * Pmpz_t

Private Member Functions

void numbpart_recurse (const int n)

Private Attributes

const int size
Pmpz_t *const p


Detailed Description

Definition at line 34 of file numbpart.cc.


Member Typedef Documentation

typedef mpz_t* numbpart::Cnumbpart::Pmpz_t [private]

Definition at line 40 of file numbpart.cc.


Constructor & Destructor Documentation

numbpart::Cnumbpart::Cnumbpart ( const int  n  )  [inline]

Definition at line 45 of file numbpart.cc.

References p, and size.

numbpart::Cnumbpart::~Cnumbpart (  )  [inline]

Definition at line 49 of file numbpart.cc.

References mpz_clear(), p, and size.

Here is the call graph for this function:


Member Function Documentation

void numbpart::Cnumbpart::numbpart_recurse ( const int  n  )  [private]

Definition at line 65 of file numbpart.cc.

References std::floor(), mpz_add(), mpz_init(), mpz_init_set_si(), mpz_sub(), numbpart::omega(), p, and std::sqrt().

Referenced by get_numbpart().

Here is the call graph for this function:

void numbpart::Cnumbpart::get_numbpart ( mpz_t  res,
const int  n 
) [inline]

Definition at line 55 of file numbpart.cc.

References mpz_set(), numbpart_recurse(), p, and size.

Referenced by numbpart::numbpart().

Here is the call graph for this function:


Member Data Documentation

const int numbpart::Cnumbpart::size [private]

Definition at line 39 of file numbpart.cc.

Referenced by Cnumbpart(), get_numbpart(), and ~Cnumbpart().

Pmpz_t* const numbpart::Cnumbpart::p [private]

Definition at line 41 of file numbpart.cc.

Referenced by Cnumbpart(), get_numbpart(), numbpart_recurse(), and ~Cnumbpart().


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