mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
ndIotaField
mir
ndslice
field
ndIotaField
is used by
ndiota
.
@
optmath
struct
ndIotaField (
size_t
N
)
if
(
N
) {
@
optmath
size_t
[
N
-
1
]
_lengths
;
auto
lightConst
();
auto
lightImmutable
();
size_t
[
N
]
opIndex
(size_t index);
}
Members
Functions
lightConst
auto
lightConst
()
lightImmutable
auto
lightImmutable
()
opIndex
size_t
[
N
]
opIndex
(size_t index)
Variables
_lengths
size_t
[
N
-
1
]
_lengths
;
Meta
Source
See Implementation
mir
ndslice
field
enums
hasZeroShiftFieldMember
functions
BitField__map
MapField__map
_mapField
_vmapField
applyAssumeZeroShift
structs
BitField
BitpackField
CycleField
LinspaceField
MagicField
MapField
OrthogonalReduceField
RepeatField
SparseField
VmapField
ZipField
ndIotaField
templates
ZeroShiftField
ndIotaField is used by ndiota.