#include <random-prime.h>
Public Types | |
| typedef integer | Prime_Type |
Public Methods | |
| RandomPrime (int bits=30, unsigned long seed=0) | |
| Prime_Type | randomPrime () const |
| Prime_Type | randomPrime (Prime_Type &p) const |
Static Public Methods | |
| void | setSeed (unsigned long ul) |
Public Attributes | |
| int | _bits |
|
|
|
|
||||||||||||
|
|
|
|
@memo randomPrime(Prime_Type& p) return a random prime |
|
|
@memo randomPrime() return a random prime |
|
|
@memo setSeed (unsigned long ul) Set the random seed to be ul. |
|
|
|
1.2.18