ViennaCL - The Vienna Computing Library
1.5.2
|
Class for representing strided subvectors of a bigger vector x. More...
#include <vector_proxy.hpp>
Public Types | |
typedef VectorType::value_type | value_type |
typedef slice::size_type | size_type |
typedef slice::difference_type | difference_type |
typedef value_type | reference |
typedef const value_type & | const_reference |
typedef VectorType::const_iterator | const_iterator |
typedef VectorType::iterator | iterator |
typedef VectorType::cpu_value_type | cpu_value_type |
Public Member Functions | |
vector_slice (VectorType &v, slice const &entry_slice) | |
Static Public Attributes | |
static const int | alignment = VectorType::alignment |
Class for representing strided subvectors of a bigger vector x.
In MATLAB notation, this could for example refer to the subvector x(3:2:8) of a vector x.
typedef VectorType::const_iterator const_iterator |
Reimplemented from vector_base< VectorType::cpu_value_type >.
typedef const value_type& const_reference |
typedef VectorType::cpu_value_type cpu_value_type |
Reimplemented from vector_base< VectorType::cpu_value_type >.
Reimplemented from vector_base< VectorType::cpu_value_type >.
typedef VectorType::iterator iterator |
Reimplemented from vector_base< VectorType::cpu_value_type >.
typedef value_type reference |
typedef slice::size_type size_type |
Reimplemented from vector_base< VectorType::cpu_value_type >.
typedef VectorType::value_type value_type |
Reimplemented from vector_base< VectorType::cpu_value_type >.
vector_slice | ( | VectorType & | v, |
slice const & | entry_slice | ||
) | [inline] |
const int alignment = VectorType::alignment [static] |
Reimplemented from vector_base< VectorType::cpu_value_type >.