mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
TripletIterator
mir
ndslice
iterator
Iterates triplets position in a slice.
TripletIterator
is used by
triplets
.
@
optmath
struct
TripletIterator (
Iterator
SliceKind
kind
=
Contiguous
) {
@
optmath
size_t
_iterator
;
@
optmath
Slice
!(
Iterator
,
1
,
kind
)
_slice
;
auto
lightConst
();
auto
lightImmutable
();
Triplet
!(
Iterator
,
kind
)
opUnary
();
Triplet
!(
Iterator
,
kind
)
opIndex
(ptrdiff_t index);
}
Members
Functions
lightConst
auto
lightConst
()
lightImmutable
auto
lightImmutable
()
opIndex
Triplet
!(
Iterator
,
kind
)
opIndex
(ptrdiff_t index)
opUnary
Triplet
!(
Iterator
,
kind
)
opUnary
()
Variables
_iterator
size_t
_iterator
;
_slice
Slice
!(
Iterator
,
1
,
kind
)
_slice
;
Meta
Source
See Implementation
mir
ndslice
iterator
functions
FieldIterator__map
FlattenedIterator__map
IndexIterator__map
MapIterator__map
RetroIterator__map
SlideIterator__map
StrideIterator__map
_mapIterator
_vmapIterator
manifest constants
std_ops
structs
BytegroupIterator
CachedIterator
ChopIterator
FieldIterator
FlattenedIterator
IndexIterator
IotaIterator
MapIterator
MemberIterator
NeighboursIterator
RetroIterator
SliceIterator
SlideIterator
StairsIterator
StrideIterator
SubSliceIterator
Triplet
TripletIterator
VmapIterator
ZipIterator
templates
_zip_fronts
_zip_index
_zip_types
Iterates triplets position in a slice.
TripletIterator is used by triplets.