ViennaCL - The Vienna Computing Library
1.5.2
|
Represents a vector consisting of ones only. More...
#include <forwards.h>
Public Types | |
typedef base_type::size_type | size_type |
typedef SCALARTYPE | const_reference |
![]() | |
typedef SCALARTYPE const & | const_reference |
typedef SCALARTYPE | cpu_value_type |
Public Member Functions | |
one_vector (size_type s, viennacl::context ctx=viennacl::context()) | |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
typedef vcl_size_t | size_type |
![]() | |
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) | |
![]() | |
size_type | size_ |
std::pair< bool, vcl_size_t > | index_ |
std::pair< SCALARTYPE, bool > | value_ |
viennacl::context | ctx_ |
Represents a vector consisting of ones only.
typedef SCALARTYPE const_reference |
typedef base_type::size_type size_type |
|
inline |