elliptic_curve.cc File Reference

contains implementation of elliptic curves More...

#include "elliptic_curve.H"
#include "modulo.H"
#include <cmath>
#include "mpz_multi_invert.cc"
#include "PersistentData.H"
#include "Semaphore.H"

Include dependency graph for elliptic_curve.cc:

Go to the source code of this file.

Functions

void get_fft_parameter (unsigned int &pg_returnvalue, unsigned int &pms_returnvalue, const double phase2, const mpz_t N)
 get parameters for phase 2 of Phi, Fibonacci, elliptic curves...
void swap (PmpzPoint &A, PmpzPoint &B)
void swap (PmpzPoint &A, PmpzPoint &B, PmpzPoint &C)

Variables

const int COST_XZ_mul2 = 5
const int COST_XZ_mul2plus1 = 6


Detailed Description

contains implementation of elliptic curves

Definition in file elliptic_curve.cc.


Function Documentation

void get_fft_parameter ( unsigned int &  pg_returnvalue,
unsigned int &  pms_returnvalue,
const double  phase2,
const mpz_t  N 
)

get parameters for phase 2 of Phi, Fibonacci, elliptic curves...

Definition at line 85 of file fft_param.cc.

Referenced by elliptic_curves::go(), and polphi_template().

void swap ( PmpzPoint A,
PmpzPoint B,
PmpzPoint C 
) [inline]

Definition at line 195 of file elliptic_curve.cc.

void swap ( PmpzPoint A,
PmpzPoint B 
) [inline]

Definition at line 189 of file elliptic_curve.cc.


Variable Documentation

const int COST_XZ_mul2 = 5

Definition at line 103 of file elliptic_curve.cc.

Referenced by elliptic_curves::cost_of_evaluating_lucas_chain().

const int COST_XZ_mul2plus1 = 6

Definition at line 124 of file elliptic_curve.cc.

Referenced by elliptic_curves::cost_of_evaluating_lucas_chain().


Generated on Wed Nov 7 23:29:48 2007 for Qsieve by  doxygen 1.5.4