ViennaCL - The Vienna Computing Library  1.5.1
Public Types | Public Member Functions | Static Public Attributes
vector_range< VectorType > Class Template Reference

Class for representing non-strided subvectors of a bigger vector x. More...

#include <vector_proxy.hpp>

Inheritance diagram for vector_range< VectorType >:
vector_base< VectorType::cpu_value_type >

Public Types

typedef VectorType::value_type value_type
typedef range::size_type size_type
typedef range::difference_type difference_type
typedef value_type reference
typedef const value_typeconst_reference
typedef VectorType::const_iterator const_iterator
typedef VectorType::iterator iterator
typedef VectorType::cpu_value_type cpu_value_type

Public Member Functions

 vector_range (VectorType &v, range const &entry_range)

Static Public Attributes

static const int alignment = VectorType::alignment

Detailed Description

template<typename VectorType>
class viennacl::vector_range< VectorType >

Class for representing non-strided subvectors of a bigger vector x.

In MATLAB notation, this could for example refer to the subvector x(3:8) of a vector x.


Member Typedef Documentation

typedef VectorType::const_iterator const_iterator
typedef const value_type& const_reference
typedef VectorType::cpu_value_type cpu_value_type
typedef VectorType::iterator iterator
typedef VectorType::value_type value_type

Constructor & Destructor Documentation

vector_range ( VectorType &  v,
range const &  entry_range 
) [inline]

Field Documentation

const int alignment = VectorType::alignment [static]

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