spla
|
One-dimensional dense tightly packed array of typed values. More...
#include <array.hpp>
Public Member Functions | |
~Array () override=default | |
virtual uint | get_n_values ()=0 |
virtual ref_ptr< Type > | get_type ()=0 |
virtual Status | set_int (uint i, T_INT value)=0 |
virtual Status | set_uint (uint i, T_UINT value)=0 |
virtual Status | set_float (uint i, T_FLOAT value)=0 |
virtual Status | get_int (uint i, T_INT &value)=0 |
virtual Status | get_uint (uint i, T_UINT &value)=0 |
virtual Status | get_float (uint i, T_FLOAT &value)=0 |
virtual Status | resize (uint n_values)=0 |
virtual Status | build (const ref_ptr< MemView > &view)=0 |
virtual Status | read (ref_ptr< MemView > &view)=0 |
virtual Status | clear ()=0 |
![]() | |
~Object () override=default | |
virtual void | set_label (std::string label)=0 |
virtual const std::string & | get_label () const =0 |
![]() | |
virtual | ~RefCnt () |
bool | is_unique () const |
std::int32_t | get_refs () const |
std::int32_t | add_ref () const |
std::int32_t | rel_ref () const |
Static Public Member Functions | |
static ref_ptr< Array > | make (uint n_values, const ref_ptr< Type > &type) |
One-dimensional dense tightly packed array of typed values.
Represents typed array of elements, which can be queried and modified. An array may be used to construct some collection from user data, store it, pass around, and use for Vector or Matrix construction.
Also an array may be used to inspect internal storage of a particular Vector or Matrix, allowing to extract arrays of COO, CSR, etc. formats., including their Acc (OpenCL) representation.
|
overridedefault |
Implemented in spla::TArray< T >.
|
pure virtual |
Implemented in spla::TArray< T >.
Implemented in spla::TArray< T >.
Implemented in spla::TArray< T >.
|
pure virtual |
Implemented in spla::TArray< T >.
Implemented in spla::TArray< T >.
Implemented in spla::TArray< T >.
Implemented in spla::TArray< T >.
Implemented in spla::TArray< T >.
Implemented in spla::TArray< T >.
Implemented in spla::TArray< T >.
Implemented in spla::TArray< T >.