linbox
Files | Data Structures | Functions
randiter

Random Iterator Generators. More...

Files

file  randiter/archetype.h
 NO DOC.
 
file  generic.h
 Genric random iterator.
 
file  randiter/gmp-rational.h
 Generate a random rational with prescribed size.
 
file  random-integer.h
 Generates random Integers.
 
file  random-prime.h
 Generates random positive prime Integers.
 

Data Structures

class  RandomIntegerIterator< _Unsigned >
 Random Prime Generator. More...
 
class  RandomIntegerIter< _Unsigned >
 Random Integer Iterator. More...
 
class  RandomPrimeIterator
 Random Prime Generator. More...
 
class  RandomPrimeIter
 Random Prime Iterator. More...
 

Functions

 GMPRationalRandIter (const GMPRationalField &F, const integer &size=0, const integer &seed=0)
 Rational number random iterator. More...
 

Detailed Description

Random Iterator Generators.

All LinBox random iterator generators must implement the random iterator generator common object interface as it is defined in the random iterator generator archetype. This interface consists of the methods required of all LinBox random iterator generators.

See Also
Archetypes in LinBox

Function Documentation

GMPRationalRandIter ( const GMPRationalField &  F,
const integer size = 0,
const integer seed = 0 
)
inline

Rational number random iterator.

Parameters
Frational field
size??.
seedseed for random generator. By default it is 0 and a new one is created.