Skip to content

IndexItem

#include <ncarray/indexing.hh>
struct IndexItem

Defined in src/lib/ncarray/indexing.hh:91

A generic indexing argument with a tag indicating the type to be used.

Return Name Description
IndexType type
ssize_t idx
Slice slice

IndexType type

Type: IndexType

Defined in src/lib/ncarray/indexing.hh:92


ssize_t idx

Defined in src/lib/ncarray/indexing.hh:93


Slice slice { 0, 0 }

Type: Slice

Defined in src/lib/ncarray/indexing.hh:94

Return Name Description
NCA_HD IndexItem inline
NCA_HD IndexItem inline
NCA_HD IndexItem inline

inline

inline NCA_HD IndexItem(ssize_t idx_)

Defined in src/lib/ncarray/indexing.hh:96


inline

inline NCA_HD IndexItem(Slice s)

Defined in src/lib/ncarray/indexing.hh:101


inline

inline NCA_HD IndexItem(Ellipsis)

Defined in src/lib/ncarray/indexing.hh:106