|
Polymake Template Library (PTL)
4.0
|
Vector type class which holds the elements in a contiguous array More...

Public Member Functions | |
| Vector () | |
| create as empty | |
| Vector (Int n) | |
| create vector of length n | |
| Int | size () const |
| number of elements | |
| void | clear () |
| truncate to zero size | |
| void | resize (Int n) |
| change the size, initialize appended elements with default constructor | |
| template<typename Vector2 , typename E2 , typename = std::enable_if_t<can_initialize<E2, E>::value>> | |
| Vector & | operator|= (const GenericVector< Vector2, E2 > &v) |
| append a GenericVector | |
| template<typename E2 , typename = std::enable_if_t<can_initialize<E2, E>::value>> | |
| Vector & | operator|= (E2 &&r) |
| append an element | |
Vector type class which holds the elements in a contiguous array
1.8.17