Fabcoin Core
0.16.2
P2P Digital Currency
|
Public Member Functions | |
PrimeSieve (const Integer &first, const Integer &last, const Integer &step, signed int delta=0) | |
bool | NextCandidate (Integer &c) |
void | DoSieve () |
Static Public Member Functions | |
static void | SieveSingle (std::vector< bool > &sieve, word16 p, const Integer &first, const Integer &step, word16 stepInv) |
Public Attributes | |
Integer | m_first |
Integer | m_last |
Integer | m_step |
signed int | m_delta |
word | m_next |
std::vector< bool > | m_sieve |
Definition at line 288 of file nbtheory.cpp.
void PrimeSieve::DoSieve | ( | ) |
Definition at line 348 of file nbtheory.cpp.
bool PrimeSieve::NextCandidate | ( | Integer & | c | ) |
Definition at line 310 of file nbtheory.cpp.
|
static |
Definition at line 334 of file nbtheory.cpp.
signed int PrimeSieve::m_delta |
Definition at line 299 of file nbtheory.cpp.
Integer PrimeSieve::m_first |
Definition at line 298 of file nbtheory.cpp.
Integer PrimeSieve::m_last |
Definition at line 298 of file nbtheory.cpp.
word PrimeSieve::m_next |
Definition at line 300 of file nbtheory.cpp.
std::vector<bool> PrimeSieve::m_sieve |
Definition at line 301 of file nbtheory.cpp.
Integer PrimeSieve::m_step |
Definition at line 298 of file nbtheory.cpp.