
Public Types | |
| typedef E | element_type |
| element type | |
|
typedef if_else< is_sparse, SparseVector< E >, Vector< E > >::type | persistent_type |
| persistent type | |
|
typedef Generic< _Vector > ::top_type | top_type |
| top type | |
| typedef GenericVector | generic_type |
| generic type | |
Public Member Functions | |
| template<typename Vector2> | |
| top_type & | operator+= (const GenericVector< Vector2 > &v) |
| adding a GenericVector | |
| template<typename Vector2> | |
| top_type & | operator-= (const GenericVector< Vector2 > &v) |
| subtracting a GenericVector | |
| template<typename Right> | |
| top_type & | operator*= (const Right &r) |
| multiply with an element | |
| template<typename Right> | |
| top_type & | operator/= (const Right &r) |
| appending an element | |
| template<typename Right> | |
| top_type & | div_exact (const Right &r) |
| divide by an element | |
| top_type & | dehomogenize () |
| divides by the first element | |
| top_type & | dehomogenize_trop () |
| subtracts first element | |
| bool | operator! () const |
| compare with an implicit zero vector | |
| void | remove0s () |
| remove all zero elements which might have been overseen in some previous operation | |
Static Public Attributes | |
| static const bool | is_sparse = check_container_feature<_Vector,sparse>::value |
| determine if the persistent type is sparse | |