The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Chunks.opIndex
mir
ndslice
chunks
Chunks
auto
opIndex
(Slices slices)
struct
Chunks
(size_t[] dimensions, Iterator, size_t N = 1, SliceKind kind = Contiguous)
@
fmamath
auto
opIndex
(
Slices
...
)
(
Slices
slices
)
if
(
Slices.length
<=
dimensions.length
)
auto
opIndex
(size_t[dimensions.length] index)
size_t
[
dimensions
.
length
]
chunkLengths
()
size_t
[
dimensions
.
length
]
_chunkLengths
;
Meta
Source
See Implementation
mir
ndslice
chunks
Chunks
functions
back
chunkLengths
empty
front
length
lightConst
lightImmutable
opDollar
opIndex
opSlice
popBack
popFront
save
select
shape
slice
variables
_chunkLengths
_slice