linbox
|
Specialization of RandomSparseStream for sparse sequence vectors. More...
#include <stream.h>
Public Member Functions | |
Vector & | get (Vector &v) |
Get the next vector from the factory and store it in v. | |
Self_t & | operator>> (Vector &v) |
Extraction operator form. | |
size_t | size () const |
Get the number of vectors to be constructed in this stream. | |
size_t | pos () const |
Get the number of vectors constructed so far. | |
size_t | dim () const |
Get the dimension of each vector. | |
operator bool () const | |
Return true if and only if the vector stream still has more vectors to construct. | |
void | reset () |
Reset the vector stream to the beginning. | |
void | rewind () |
Alias for reset. | |
Legacy interface | |
These functions provide compatiblity with older parts of the library. Their use is deprecated. | |
Vector & | next (Vector &v) |
size_t | j () const |
size_t | m () const |
size_t | n () const |
Specialization of RandomSparseStream for sparse sequence vectors.