|
ViennaCL - The Vienna Computing Library
1.5.1
|
Common base class for representing vectors where the entries are not all stored explicitly. More...
#include <forwards.h>
Public Types | |
| typedef SCALARTYPE const & | const_reference |
| typedef SCALARTYPE | cpu_value_type |
Public Member Functions | |
| viennacl::context | context () const |
| size_type | size () const |
| cpu_value_type | value () const |
| bool | is_value_static () const |
| vcl_size_t | index () const |
| bool | has_index () const |
| cpu_value_type | operator() (size_type i) const |
| cpu_value_type | operator[] (size_type i) const |
Protected Types | |
| typedef vcl_size_t | size_type |
Protected Member Functions | |
| implicit_vector_base (size_type s, vcl_size_t i, std::pair< SCALARTYPE, bool > v, viennacl::context ctx) | |
| implicit_vector_base (size_type s, std::pair< SCALARTYPE, bool > v, viennacl::context ctx) | |
Protected Attributes | |
| size_type | size_ |
| std::pair< bool, vcl_size_t > | index_ |
| std::pair< SCALARTYPE, bool > | value_ |
| viennacl::context | ctx_ |
Common base class for representing vectors where the entries are not all stored explicitly.
Typical examples are zero_vector or scalar_vector.
| typedef SCALARTYPE const& const_reference |
| typedef SCALARTYPE cpu_value_type |
|
protected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.6