- BitField
struct BitField(Field, I = typeof(cast()Field.init[size_t.init]))
- BitpackField
struct BitpackField(Field, uint pack, I = typeof(cast()Field.init[size_t.init]))
- CycleField
struct CycleField(Field)
- CycleField
struct CycleField(Field, size_t length)
- LinspaceField
struct LinspaceField(T)
- MagicField
struct MagicField
- MapField
struct MapField(Field, alias _fun)
- OrthogonalReduceField
struct OrthogonalReduceField(FieldsIterator, alias fun, T)
- RepeatField
struct RepeatField(T)
RepeatField is used by repeat.
- SparseField
struct SparseField(T)
SparseField is used to represent Sparse ndarrays in mutable DOK format.
- VmapField
struct VmapField(Field, Fun)
VmapField is used by map.
- ZipField
struct ZipField(Fields...)
Iterates multiple fields in lockstep.
- ndIotaField
struct ndIotaField(size_t N)
ndIotaField is used by ndiota.
This is a submodule of mir.ndslice.
Field is a type with opIndex()(ptrdiff_t index) primitive. An iterator can be created on top of a field using FieldIterator. An ndslice can be created on top of a field using slicedField.
Fields