The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Chunks.opSlice
mir
ndslice
chunks
Chunks
Slice
!(
IotaIterator
!
size_t
)
opSlice
(size_t i, size_t j)
ChunksSlice
!()
opSlice
(size_t i, ChunksDollar!() j)
struct
Chunks
(size_t[] dimensions, Iterator, size_t N = 1, SliceKind kind = Contiguous)
const
@
fmamath
ChunksSlice
!()
opSlice
(
size_t
dimensionIndex
)
(
size_t
i
,
ChunksDollar
!()
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