Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

GMPRationalRandIter Class Reference

#include <gmp-rational.h>


Public Types

typedef GMPRationalElement Element

Public Member Functions

 GMPRationalRandIter (const GMPRationalField &F, const integer &size=0, const integer &seed=0)
 GMPRationalRandIter (const GMPRationalRandIter &R)
 ~GMPRationalRandIter ()
GMPRationalRandIteroperator= (const GMPRationalRandIter &R)
Elementrandom (Element &a) const
ElementAbstractrandom (ElementAbstract &a) const


Member Typedef Documentation

typedef GMPRationalElement Element
 


Constructor & Destructor Documentation

GMPRationalRandIter const GMPRationalField F,
const integer size = 0,
const integer seed = 0
[inline]
 

GMPRationalRandIter const GMPRationalRandIter R  )  [inline]
 

~GMPRationalRandIter  )  [inline]
 


Member Function Documentation

GMPRationalRandIter& operator= const GMPRationalRandIter R  )  [inline]
 

Element& random Element a  )  const [inline]
 

ElementAbstract& random ElementAbstract a  )  const [inline]
 

Random field element creator. This returns a random field element from the information supplied at the creation of the generator. Required by abstract base class.

Returns:
reference to random field element


Generated on Fri Jul 8 10:29:56 2005 for linbox by doxygen 1.3.7