mir.ndslice.iterator

Members

Functions

FieldIterator__map
auto FieldIterator__map(FieldIterator!(Field) it)
Undocumented in source. Be warned that the author may not have intended to support it.
FlattenedIterator__map
auto FlattenedIterator__map(FlattenedIterator!(Iterator, N, kind) it)
Undocumented in source. Be warned that the author may not have intended to support it.
IndexIterator__map
auto IndexIterator__map(IndexIterator!(Iterator, Field) it)
Undocumented in source. Be warned that the author may not have intended to support it.
MapIterator__map
auto MapIterator__map(MapIterator!(Iterator, fun0) it)
Undocumented in source. Be warned that the author may not have intended to support it.
RetroIterator__map
auto RetroIterator__map(RetroIterator!Iterator it)
Undocumented in source. Be warned that the author may not have intended to support it.
SlideIterator__map
auto SlideIterator__map(SlideIterator!(Iterator, params, fun0) it)
Undocumented in source. Be warned that the author may not have intended to support it.
StrideIterator__map
auto StrideIterator__map(StrideIterator!Iterator it)
Undocumented in source. Be warned that the author may not have intended to support it.
StrideIterator__map
auto StrideIterator__map(StrideIterator!(Iterator, factor) it)
Undocumented in source. Be warned that the author may not have intended to support it.
_mapIterator
auto _mapIterator(Iterator iterator)
Undocumented in source. Be warned that the author may not have intended to support it.
_vmapIterator
auto _vmapIterator(Iterator iterator, Fun fun)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

std_ops
enum std_ops;
Undocumented in source.

Structs

BytegroupIterator
struct BytegroupIterator(Iterator, size_t count, DestinationType)

BytegroupIterator is used by Bytegroup and bytegroup.

CachedIterator
struct CachedIterator(Iterator, CacheIterator, FlagIterator)
ChopIterator
struct ChopIterator(Iterator, Sliceable)

Iterates chunks in a sliceable using an iterator composed of indices stored consequently.

FieldIterator
struct FieldIterator(Field)

Creates an iterator on top of a field.

FlattenedIterator
struct FlattenedIterator(Iterator, size_t N, SliceKind kind)

Creates an iterator on top of all elements in a slice.

IndexIterator
struct IndexIterator(Iterator, Field)

Iterates a field using an iterator.

IotaIterator
struct IotaIterator(I)

Step counter.

MapIterator
struct MapIterator(Iterator, alias _fun)

MapIterator is used by map.

MemberIterator
struct MemberIterator(Iterator, string member)

MemberIterator is used by member.

NeighboursIterator
struct NeighboursIterator(Iterator, size_t N, alias _fun, bool around)

NeighboursIterator is used by map.

RetroIterator
struct RetroIterator(Iterator)

Reverse directions for an iterator.

SliceIterator
struct SliceIterator(Iterator, size_t N = 1, SliceKind kind = Contiguous)

Iterates on top of another iterator and returns a slice as a multidimensional window at the current position.

SlideIterator
struct SlideIterator(Iterator, size_t params, alias fun)

SlideIterator is used by diff and slide.

StairsIterator
struct StairsIterator(Iterator, string direction)

StairsIterator is used by stairs.

StrideIterator
struct StrideIterator(Iterator)

Iterates an iterator with a fixed strides.

StrideIterator
struct StrideIterator(Iterator, ptrdiff_t factor)

Iterates an iterator with a fixed strides.

SubSliceIterator
struct SubSliceIterator(Iterator, Sliceable)

Iterates chunks in a sliceable using an iterator composed of indices.

Triplet
struct Triplet(Iterator, SliceKind kind = Contiguous)

Element type of TripletIterator.

TripletIterator
struct TripletIterator(Iterator, SliceKind kind = Contiguous)

Iterates triplets position in a slice.

VmapIterator
struct VmapIterator(Iterator, Fun)

VmapIterator is used by map.

ZipIterator
struct ZipIterator(Iterators...)

Iterates multiple iterators in lockstep.

Templates

_zip_fronts
template _zip_fronts(Iterators...)
Undocumented in source.
_zip_index
template _zip_index(Iterators...)
Undocumented in source.
_zip_types
template _zip_types(Iterators...)
Undocumented in source.

Meta

License

Apache-2.0

Authors

Ilya Yaroshenko