mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
CycleField
mir
ndslice
field
struct
CycleField
(Field)
struct
CycleField
(Field, size_t length)
@
optmath
struct
CycleField (
Field
size_t
length
) {
import
mir
.
ndslice
.
slice
:
Slice
;
;
@
optmath
enum
_length
;
@
optmath
Field
_field
;
auto
lightConst
();
auto
lightImmutable
();
auto ref
opIndex
(size_t index);
static if
(
!__traits(compiles, &opIndex(size_t.init))
)
auto ref
opIndexAssign
(T value, size_t index);
static if
(
hasZeroShiftFieldMember!Field
)
auto
assumeFieldsHaveZeroShift
();
}
Members
Functions
assumeFieldsHaveZeroShift
auto
assumeFieldsHaveZeroShift
()
Defined if
Field
has member
assumeFieldsHaveZeroShift
.
lightConst
auto
lightConst
()
lightImmutable
auto
lightImmutable
()
opIndex
auto ref
opIndex
(size_t index)
opIndexAssign
auto ref
opIndexAssign
(T value, size_t index)
Manifest constants
_length
enum
_length
;
Cycle length
Variables
_field
Field
_field
;
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