|
ViennaCL - The Vienna Computing Library
1.5.1
|
Represents a vector consisting of scalars 's' only, i.e. v[i] = s for all i. To be used as an initializer for viennacl::vector, vector_range, or vector_slize only. More...
#include <forwards.h>
Public Types | |
| typedef base_type::size_type | size_type |
| typedef SCALARTYPE const & | const_reference |
Public Types inherited from implicit_vector_base< SCALARTYPE > | |
| typedef SCALARTYPE const & | const_reference |
| typedef SCALARTYPE | cpu_value_type |
Public Member Functions | |
| scalar_vector (size_type s, SCALARTYPE val, viennacl::context ctx=viennacl::context()) | |
Public Member Functions inherited from implicit_vector_base< SCALARTYPE > | |
| 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 | |
Protected Types inherited from implicit_vector_base< SCALARTYPE > | |
| typedef vcl_size_t | size_type |
Protected Member Functions inherited from implicit_vector_base< SCALARTYPE > | |
| 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 inherited from implicit_vector_base< SCALARTYPE > | |
| size_type | size_ |
| std::pair< bool, vcl_size_t > | index_ |
| std::pair< SCALARTYPE, bool > | value_ |
| viennacl::context | ctx_ |
Represents a vector consisting of scalars 's' only, i.e. v[i] = s for all i. To be used as an initializer for viennacl::vector, vector_range, or vector_slize only.
| typedef SCALARTYPE const& const_reference |
| typedef base_type::size_type size_type |
|
inline |
1.8.6