VectorStream< _Vector > Class Template Reference
[linbox/vector]

Vector factory. More...

#include <stream.h>

Inheritance diagram for VectorStream< _Vector >:
ConstantVectorStream< _Vector > RandomDenseStream< Field, _Vector, RandIter, Trait > RandomSparseStream< Field, _Vector, RandIter, Trait > StandardBasisStream< Field, _Vector, Trait >

List of all members.

Public Member Functions

virtual Vector & get (Vector &v)=0
Self_toperator>> (Vector &v)
virtual size_t size () const =0
virtual size_t pos () const =0
virtual size_t dim () const =0
virtual operator bool () const =0
virtual void reset ()=0
void rewind ()
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

Detailed Description

template<class _Vector>
class LinBox::VectorStream< _Vector >

Vector factory.

This is an abstract base class that generates a sequence of vectors in a generic way. Typical uses would be in tests, where the same test might be run on a sequence of random vectors or on e_1, ..., e_n.


Member Function Documentation

virtual Vector& get ( Vector &  v  )  [pure virtual]
Self_t& operator>> ( Vector &  v  )  [inline]
virtual size_t size (  )  const [pure virtual]
virtual size_t pos (  )  const [pure virtual]
virtual size_t dim (  )  const [pure virtual]
virtual operator bool (  )  const [pure virtual]
virtual void reset (  )  [pure virtual]
void rewind (  )  [inline]

Alias for reset


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

Generated on Sat Nov 7 08:38:07 2009 for linbox by  doxygen 1.6.1