The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SparseField
mir
ndslice
field
SparseField
is used to represent Sparse ndarrays in mutable DOK format.
@
fmamath
struct
SparseField (
T
) {
T
[
size_t
]
_table
;
auto
lightConst
();
auto
lightImmutable
();
T
opIndex
(size_t index);
T
opIndexAssign
(T value, size_t index);
T
opIndexUnary
(size_t index);
T
opIndexOpAssign
(T value, size_t index);
}
Members
Functions
lightConst
auto
lightConst
()
lightImmutable
auto
lightImmutable
()
opIndex
T
opIndex
(size_t index)
opIndexAssign
T
opIndexAssign
(T value, size_t index)
opIndexOpAssign
T
opIndexOpAssign
(T value, size_t index)
opIndexUnary
T
opIndexUnary
(size_t index)
Variables
_table
T
[
size_t
]
_table
;
Meta
Source
See Implementation
mir
ndslice
field
structs
BitField
BitpackField
CycleField
LinspaceField
MagicField
MapField
OrthogonalReduceField
RepeatField
SparseField
VmapField
ZipField
ndIotaField
SparseField is used to represent Sparse ndarrays in mutable DOK format.