lambda_delta Class Reference

List of all members.

Public Member Functions

 lambda_delta (const mpz_t n, const mpz_t delta)
 ~lambda_delta ()
const mpf_t & f (const mpf_t &x)
const mpf_t & f1 (const mpf_t &x)

Static Public Member Functions

static void Delta_by_ratio (mpz_t &Delta, const mpz_t n, const double ratio_p=1.0, const double ratio_q=1.0)

Private Attributes

mpf_t SQRTN
mpf_t DELTA
mpf_t fres
mpf_t f1res

Static Private Attributes

static const unsigned int bits = 2048


Detailed Description

Definition at line 456 of file fermat.cc.


Constructor & Destructor Documentation

lambda_delta::lambda_delta ( const mpz_t  n,
const mpz_t  delta 
) [inline]

Definition at line 478 of file fermat.cc.

References bits, DELTA, f1res, fres, and SQRTN.

lambda_delta::~lambda_delta (  )  [inline]

Definition at line 485 of file fermat.cc.

References DELTA, f1res, fres, and SQRTN.


Member Function Documentation

static void lambda_delta::Delta_by_ratio ( mpz_t &  Delta,
const mpz_t  n,
const double  ratio_p = 1.0,
const double  ratio_q = 1.0 
) [inline, static]

Definition at line 464 of file fermat.cc.

References bits, and mpz_set_f().

Referenced by phimat2().

Here is the call graph for this function:

const mpf_t& lambda_delta::f ( const mpf_t &  x  )  [inline]

Definition at line 491 of file fermat.cc.

References DELTA, fres, and SQRTN.

const mpf_t& lambda_delta::f1 ( const mpf_t &  x  )  [inline]

Definition at line 502 of file fermat.cc.

References f1res, and SQRTN.


Member Data Documentation

mpf_t lambda_delta::SQRTN [private]

Definition at line 459 of file fermat.cc.

Referenced by f(), f1(), lambda_delta(), and ~lambda_delta().

mpf_t lambda_delta::DELTA [private]

Definition at line 459 of file fermat.cc.

Referenced by f(), lambda_delta(), and ~lambda_delta().

mpf_t lambda_delta::fres [private]

Definition at line 460 of file fermat.cc.

Referenced by f(), lambda_delta(), and ~lambda_delta().

mpf_t lambda_delta::f1res [private]

Definition at line 460 of file fermat.cc.

Referenced by f1(), lambda_delta(), and ~lambda_delta().

const unsigned int lambda_delta::bits = 2048 [static, private]

Definition at line 461 of file fermat.cc.

Referenced by Delta_by_ratio(), and lambda_delta().


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