IndexItem
IndexItem
Section titled “IndexItem”#include <ncarray/indexing.hh>struct IndexItemDefined in src/lib/ncarray/indexing.hh:91
A generic indexing argument with a tag indicating the type to be used.
Public Attributes
Section titled “Public Attributes”| Return | Name | Description |
|---|---|---|
IndexType |
type |
|
ssize_t |
idx |
|
Slice |
slice |
IndexType typeType: IndexType
Defined in src/lib/ncarray/indexing.hh:92
ssize_t idxDefined in src/lib/ncarray/indexing.hh:93
Slice slice { 0, 0 }Type: Slice
Defined in src/lib/ncarray/indexing.hh:94
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
NCA_HD |
IndexItem inline |
|
NCA_HD |
IndexItem inline |
|
NCA_HD |
IndexItem inline |
IndexItem
Section titled “IndexItem”inline
inline NCA_HD IndexItem(ssize_t idx_)Defined in src/lib/ncarray/indexing.hh:96
IndexItem
Section titled “IndexItem”inline
inline NCA_HD IndexItem(Slice s)Defined in src/lib/ncarray/indexing.hh:101
IndexItem
Section titled “IndexItem”inline
inline NCA_HD IndexItem(Ellipsis)Defined in src/lib/ncarray/indexing.hh:106