The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Chunks.select
mir
ndslice
chunks
Chunks
auto
select
(size_t index)
auto
select
(size_t i, size_t j)
struct
Chunks
(size_t[] dimensions, Iterator, size_t N = 1, SliceKind kind = Contiguous)
@
property
@
fmamath
auto
select
(
size_t
dimensionIndex
= 0
)
(
size_t
i
,
size_t
j
)
if
(
dimensionIndex
<
dimensions.length
)
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