mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
asKindOf.asKindOf
mir
ndslice
topology
asKindOf
Undocumented in source. Be warned that the author may not have intended to support it.
auto
asKindOf
(Slice!(Iterator, N, Contiguous, Labels) slice)
template
asKindOf
(SliceKind kind)
@
optmath
static if
(
kind == Contiguous
)
auto
asKindOf
(
Iterator
size_t
N
Labels
...
)
(
Slice
!(
Iterator
,
N
,
Contiguous
,
Labels
)
slice
)
alias
asKindOf
=
canonical
alias
asKindOf
=
universal
Meta
Source
See Implementation
mir
ndslice
topology
asKindOf
functions
asKindOf