mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
LinspaceField
mir
ndslice
field
LinspaceField
is used by
linspace
.
@
optmath
struct
LinspaceField (
T
) {
size_t
_length
;
T
_start
;
T
_stop
;
auto
lightConst
();
auto
lightImmutable
();
T
opIndex
(sizediff_t index);
size_t
length
();
size_t
[
1
]
shape
();
}
Members
Functions
length
size_t
length
()
lightConst
auto
lightConst
()
lightImmutable
auto
lightImmutable
()
opIndex
T
opIndex
(sizediff_t index)
shape
size_t
[
1
]
shape
()
Variables
_length
size_t
_length
;
_start
T
_start
;
_stop
T
_stop
;
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
LinspaceField is used by linspace.