The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
TripletIterator
mir
ndslice
iterator
Iterates triplets position in a slice.
TripletIterator
is used by
triplets
.
@
fmamath
struct
TripletIterator (
Iterator
SliceKind
kind
=
Contiguous
) {
@
fmamath
size_t
_iterator
;
@
fmamath
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
structs
BytegroupIterator
CachedIterator
ChopIterator
FieldIterator
FlattenedIterator
IndexIterator
IotaIterator
MapIterator
MemberIterator
NeighboursIterator
RetroIterator
SliceIterator
SlideIterator
StairsIterator
StrideIterator
SubSliceIterator
Triplet
TripletIterator
VmapIterator
ZipIterator
Iterates triplets position in a slice.
TripletIterator is used by triplets.