mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
chunks.chunks
mir
ndslice
chunks
chunks
Undocumented in source.
Chunks
!([
Dimensions
],
Iterator
,
N
,
kind
==
Contiguous
&& [
Dimensions
] != [
0
] ?
Canonical
:
kind
)
chunks
(Slice!(Iterator, N, kind) slice, size_t[Dimensions.length] chunkLengths)
alias
chunks
=
.
chunks
!(
staticMap
!(
toSize_t
,
Dimensions
))
template
chunks
(Dimensions...)
static if
(!(
allSatisfy!(isSize_t, Dimensions)
))
alias
chunks
= .
chunks
!(
staticMap
!(
toSize_t
,
Dimensions
))
Meta
Source
See Implementation
mir
ndslice
chunks
chunks
functions
chunks