mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
slideAlong.slideAlong
mir
ndslice
topology
slideAlong
auto
slideAlong
(Slice!(Iterator, N, kind) 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
(
Iterator
size_t
N
SliceKind
kind
)
(
Slice
!(
Iterator
,
N
,
kind
)
slice
)
if
(
params
<= 'z' - 'a' + 1 &&
SDimensions.length
> 0
)
auto
slideAlong
(S[] slice)
auto
slideAlong
(S slice)
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