The OpenD Programming Language

reduce.reduce

template reduce(alias fun)
static if(__traits(isSame, naryFun!fun, fun) && !Mir_disable_inlining_in_reduce)
reduce
(
S
Slices...
)
(,
Slices slices
)
if (
Slices.length
)

Parameters

seed S

An initial accumulation value.

slices Slices

One or more slices, range, and arrays.

Return Value

Type: auto

the accumulated result

Meta