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

RandomDenseStreamGF2 Class Reference

Inheritance diagram for RandomDenseStreamGF2:

VectorStream< BitVector > List of all members.

Public Types

typedef BitVector Vector

Public Methods

 RandomDenseStreamGF2 (const GF2 &F, uint32 seed, size_t n, size_t m=0)
Vectorget (Vector &v)
size_t size () const
size_t pos () const
size_t dim () const
 operator bool () const
void reset ()

Member Typedef Documentation

typedef BitVector Vector
 

Reimplemented from VectorStream< BitVector >.


Constructor & Destructor Documentation

RandomDenseStreamGF2 const GF2   F,
uint32    seed,
size_t    n,
size_t    m = 0
[inline]
 


Member Function Documentation

size_t dim   const [inline, virtual]
 

Get the dimension of each vector

Implements VectorStream< BitVector >.

Vector& get Vector   v [inline, virtual]
 

Get the next vector from the factory and store it in v

Implements VectorStream< BitVector >.

operator bool   const [inline, virtual]
 

Return true if and only if the vector stream still has more vectors to construct

Implements VectorStream< BitVector >.

size_t pos   const [inline, virtual]
 

Get the number of vectors constructed so far

Implements VectorStream< BitVector >.

void reset   [inline, virtual]
 

Reset the vector stream to the beginning.

Implements VectorStream< BitVector >.

size_t size   const [inline, virtual]
 

Get the number of vectors to be constructed in this stream

Implements VectorStream< BitVector >.


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