mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
withNeighboursSum.withNeighboursSum
mir
ndslice
topology
withNeighboursSum
Undocumented in source.
auto
withNeighboursSum
(Slice!(Iterator, N, kind) slice)
auto
withNeighboursSum
(S[] slice)
auto
withNeighboursSum
(S slice)
alias
withNeighboursSum
=
.
withNeighboursSum
!(
naryFun
!
fun
)
template
withNeighboursSum
(alias fun = "a + b")
@
optmath
static if
(!(
__traits(isSame, naryFun!fun, fun)
))
alias
withNeighboursSum
= .
withNeighboursSum
!(
naryFun
!
fun
)
Meta
Source
See Implementation
mir
ndslice
topology
withNeighboursSum
functions
withNeighboursSum