Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

NonzeroRandIter Class Template Reference

#include <nonzero.h>

List of all members.


Detailed Description

template<class Field, class RandIter = typename Field::RandIter>
class LinBox::NonzeroRandIter< Field, RandIter >

Random iterator for nonzero random numbers

Wraps around an existing random iterator and ensures that the output is entirely nonzero numbers.


Public Types

typedef Field::Element Element

Public Methods

 NonzeroRandIter (const Field &F, const RandIter &r)
 NonzeroRandIter (const NonzeroRandIter &R)
 ~NonzeroRandIter ()
NonzeroRandIter & operator= (const NonzeroRandIter &R)
Element & random (Element &a) const
ElementAbstract & random (ElementAbstract &a) const


Member Typedef Documentation

typedef Field::Element Element
 


Constructor & Destructor Documentation

NonzeroRandIter (  const Field &    F,
const RandIter &    r
)  [inline]
 

NonzeroRandIter (  const NonzeroRandIter< Field, RandIter > &    R )  [inline]
 

~NonzeroRandIter (    )  [inline]
 


Member Function Documentation

NonzeroRandIter& operator= (  const NonzeroRandIter< Field, RandIter > &    R )  [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

Element& random (  Element &    a )  const [inline]
 


Generated on Mon Jun 20 09:16:52 2005 for linbox by doxygen1.2.18