linbox
vector

LinBox vectors. More...

LinBox vectors.

All LinBox dense vectors must implement the dense vector common object interface as it is defined in the dense vector archetype. It is basically the non-resizing subset of functionality of the STL vector<T> container. For information on the STL vector, see SGI's Standard Template Library Programmer's Guide.

All LinBox sparse vectors must implement the sparse vector common object interface as it is defined in the sparse vector archetype.

The LinBox sparse vector common object interface is the same as either the STL sequence of pairs of size_t and a field element or an STL unique and pair associative container. (That is, an STL map without the operator[].) It is also always assumed that the entries in the sparse vector are in ascending order starting with the first index no less than zero.

LinBox vectors are indexed starting at zero, not one, just like STL vectors and C-style arrays.

See also
Archetypes