IndexItem
IndexItem
Section titled “IndexItem”#include <indexing.hh>struct IndexItemDefined in src/lib/ncarray/indexing.hh:94
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:95
ssize_t idxDefined in src/lib/ncarray/indexing.hh:96
Slice slice { 0, 0 }Defined in src/lib/ncarray/indexing.hh:97
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:99
IndexItem
Section titled “IndexItem”inline
inline NCA_HD IndexItem(Slice s)Defined in src/lib/ncarray/indexing.hh:104
IndexItem
Section titled “IndexItem”inline
inline NCA_HD IndexItem(Ellipsis)Defined in src/lib/ncarray/indexing.hh:109