linbox
Files | Data Structures | Functions
randiter

Random Iterator Generators. More...

+ Collaboration diagram for randiter:

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-prime.h
 Generates random positive prime Integers.
 

Data Structures

class  PrimeIterator< Trait >
 Prime Iterator. More...
 
class  MaskedPrimeIterator< Trait >
 Masked 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()

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.