|
spla
|
Generalized M x N dimensional matrix object. More...
#include <matrix.hpp>


Public Member Functions | |
| ~Matrix () override=default | |
| virtual uint | get_n_rows ()=0 |
| virtual uint | get_n_cols ()=0 |
| virtual ref_ptr< Type > | get_type ()=0 |
| virtual Status | set_format (FormatMatrix format)=0 |
| virtual Status | set_fill_value (const ref_ptr< Scalar > &value)=0 |
| virtual Status | set_reduce (ref_ptr< OpBinary > resolve_duplicates)=0 |
| virtual Status | set_int (uint row_id, uint col_id, std::int32_t value)=0 |
| virtual Status | set_uint (uint row_id, uint col_id, std::uint32_t value)=0 |
| virtual Status | set_float (uint row_id, uint col_id, float value)=0 |
| virtual Status | get_int (uint row_id, uint col_id, std::int32_t &value)=0 |
| virtual Status | get_uint (uint row_id, uint col_id, std::uint32_t &value)=0 |
| virtual Status | get_float (uint row_id, uint col_id, float &value)=0 |
| virtual Status | build (const ref_ptr< MemView > &keys1, const ref_ptr< MemView > &keys2, const ref_ptr< MemView > &values)=0 |
| virtual Status | read (ref_ptr< MemView > &keys1, ref_ptr< MemView > &keys2, ref_ptr< MemView > &values)=0 |
| virtual Status | clear ()=0 |
Public Member Functions inherited from spla::Object | |
| ~Object () override=default | |
| virtual void | set_label (std::string label)=0 |
| virtual const std::string & | get_label () const =0 |
Public Member Functions inherited from spla::RefCnt | |
| 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< Matrix > | make (uint n_rows, uint n_cols, const ref_ptr< Type > &type) |
| Make new matrix instance with specified dim and values type. | |
Generalized M x N dimensional matrix object.
|
overridedefault |
|
pure virtual |
Implemented in spla::TMatrix< T >.
|
pure virtual |
Implemented in spla::TMatrix< T >.
Implemented in spla::TMatrix< T >.
|
pure virtual |
|
pure virtual |
Implemented in spla::TMatrix< T >.
|
pure virtual |
Implemented in spla::TMatrix< T >.
Implemented in spla::TMatrix< T >.
|
pure virtual |
|
static |
Make new matrix instance with specified dim and values type.
| n_rows | Number of matrix rows; must be > 0; |
| n_cols | Number of matrix columns; must be > 0; |
| type | Type of matrix elements |
|
pure virtual |
Implemented in spla::TMatrix< T >.
Implemented in spla::TMatrix< T >.
Implemented in spla::TMatrix< T >.
|
pure virtual |
Implemented in spla::TMatrix< T >.
Implemented in spla::TMatrix< T >.
Implemented in spla::TMatrix< T >.
|
pure virtual |
Implemented in spla::TMatrix< T >.