linbox
Public Member Functions
NonzeroRandIter< Field, RandIter > Class Template Reference

Random iterator for nonzero random numbers. More...

#include <nonzero.h>

Public Member Functions

ElementAbstractrandom (ElementAbstract &a) const
 Random field element creator.
 

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.

Member Function Documentation

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

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