linbox
Public Member Functions
Subvector< Iterator, ConstIterator > Class Template Reference

Dense subvectorThis class provides a statically sized subvector of a random access container (such as std::vector, deque). More...

#include <subvector.h>

Public Member Functions

template<class Container >
Subvectoroperator= (const Container &x)
 assign the elements of Container one by one to *this. More...
 

Detailed Description

template<typename Iterator, typename ConstIterator = Iterator>
class LinBox::Subvector< Iterator, ConstIterator >

Dense subvector

This class provides a statically sized subvector of a random access container (such as std::vector, deque).

It does not work on sparse linbox vectors. It implements all of the types and methods of a std::vector except for those that invalidate iterators, i.e., those (potentially) involving vector resizing, such as push_back(), insert(), resize().

Member Function Documentation

◆ operator=()

Subvector& operator= ( const Container &  x)
inline

assign the elements of Container one by one to *this.

Container must be at least as long as this.


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