mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
slideAlong.slideAlong
mir
ndslice
topology
slideAlong
Undocumented in source.
auto
slideAlong
(Slice!(Iterator, N, kind) slice)
auto
slideAlong
(S[] slice)
auto
slideAlong
(S slice)
alias
slideAlong
=
.
map
!(
naryFun
!
fun
)
alias
slideAlong
=
.
slideAlong
!(
params
,
naryFun
!
fun
,
staticMap
!(
toSizediff_t
,
SDimensions
))
template
slideAlong
(size_t params, alias fun, SDimensions...)
@
optmath
static if
(!(
allSatisfy!(isSizediff_t, SDimensions) && params > 1 && __traits(isSame, naryFun!fun, fun)
))
static if
(!(
params == 1
))
alias
slideAlong
= .
slideAlong
!(
params
,
naryFun
!
fun
,
staticMap
!(
toSizediff_t
,
SDimensions
))
Meta
Source
See Implementation
mir
ndslice
topology
slideAlong
functions
slideAlong