Inheritance diagram for RandomSparseStreamGF2:

Public Types | |
| typedef GF2 | Field |
| typedef _Vector | Vector |
Public Methods | |
| RandomSparseStreamGF2 (const GF2 &F, uint32 seed, double p, size_t n, size_t m=0) | |
| Vector & | get (Vector &v) |
| size_t | size () const |
| size_t | pos () const |
| size_t | dim () const |
| operator bool () const | |
| void | reset () |
| void | setP (double p) |
|
|
|
|
|
Reimplemented from VectorStream. |
|
||||||||||||||||||||||||
|
|
|
|
Get the dimension of each vector Implements VectorStream. |
|
|
Get the next vector from the factory and store it in v Implements VectorStream. |
|
|
Return true if and only if the vector stream still has more vectors to construct Implements VectorStream. |
|
|
Get the number of vectors constructed so far Implements VectorStream. |
|
|
Reset the vector stream to the beginning. Implements VectorStream. |
|
|
|
|
|
Get the number of vectors to be constructed in this stream Implements VectorStream. |
1.2.18