mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
reduce.reduce
mir
algorithm
iteration
reduce
Undocumented in source. Be warned that the author may not have intended to support it.
auto
reduce
(S seed, Slices slices)
auto
reduce
(S seed, Slices slices)
template
reduce
(alias fun)
version(Mir_disable_inlining_in_reduce)
@
optmath
static if
(!(
__traits(isSame, naryFun!fun, fun) && !Mir_disable_inlining_in_reduce
))
@
optmath
auto
reduce
(
S
Slices
...
)
(
S
seed
,
scope
Slices
slices
)
if
(
Slices.length
)
alias
reduce
=
.
reduce
!(
naryFun
!
fun
)
Meta
Source
See Implementation
mir
algorithm
iteration
reduce
functions
reduce