mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
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
@
optmath
ChunksSlice
!()
opSlice
(
size_t
dimensionIndex
)
(
size_t
i
,
ChunksDollar
!()
j
)
if
(
dimensionIndex
<
dimensions.length
)
auto
back
()
void
popFront
()
void
popBack
()
ChunksDollar
!()
opDollar
()
auto
opIndex
(Slices slices)
auto
opIndex
(size_t[dimensions.length] index)
auto
save
()
Meta
Source
See Implementation
mir
ndslice
chunks
Chunks
aliases
DeepElement
functions
back
chunkLengths
empty
front
length
lightConst
lightImmutable
opDollar
opIndex
opSlice
popBack
popFront
save
select
shape
slice
variables
_chunkLengths
_slice