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.
List of all members
Section titled “List of all members”| Name | Kind | Owner |
|---|---|---|
type |
variable |
Declared here |
idx |
variable |
Declared here |
slice |
variable |
Declared here |
IndexItem |
function |
Declared here |
IndexItem |
function |
Declared here |
IndexItem |
function |
Declared here |
Public Attributes
Section titled “Public Attributes”| Return | Name | Description |
|---|---|---|
IndexType |
type |
|
ssize_t |
idx |
|
Slice |
slice |
IndexType typeDefined in src/lib/ncarray/indexing.hh:92
ssize_t idxDefined in src/lib/ncarray/indexing.hh:93
Slice slice { 0, 0 }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