linbox
Public Member Functions
GmpRandomPrime Class Reference

generating random prime integers, using the gmp library. More...

#include <gmp-random-prime.h>

Public Member Functions

 GmpRandomPrime (integer m)
 Create a new random prime generator. More...
 

Detailed Description

generating random prime integers, using the gmp library.

Similar to random-prime.h, but return type is integer, not long, allowing for larger primes.

Author
Dan Roche
Deprecated:
This is not true.

Constructor & Destructor Documentation

◆ GmpRandomPrime()

GmpRandomPrime ( integer  m)
inline

Create a new random prime generator.

Primes generated will be <= max.


The documentation for this class was generated from the following file: