mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
slideAlong.slideAlong
mir
ndslice
topology
slideAlong
auto
slideAlong
(Slice!(Iterator, N, kind) slice)
auto
slideAlong
(S[] slice)
auto
slideAlong
(S slice)
template
slideAlong
(size_t params, alias fun, SDimensions...)
@
optmath
static if
(
allSatisfy!(isSizediff_t, SDimensions) && params > 1 && __traits(isSame, naryFun!fun, fun)
)
@
optmath
auto
slideAlong
(
S
)
(
S
slice
)
if
(
hasAsSlice
!
S
)
if
(
params
<= 'z' - 'a' + 1 &&
SDimensions.length
> 0
)
alias
slideAlong
=
.
map
!(
naryFun
!
fun
)
alias
slideAlong
=
.
slideAlong
!(
params
,
naryFun
!
fun
,
staticMap
!(
toSizediff_t
,
SDimensions
))
Return Value
Type:
auto
lazy convolution result
Meta
Source
See Implementation
mir
ndslice
topology
slideAlong
functions
slideAlong