mir-algorithm — Libmir Archive
Libmir Archive
API Reference Index
mir-algorithm Guide
Dlang.org
sumSlices.sumSlices
mir
math
sum
sumSlices
Computes the sum of slices from an iterator according to the specified SliceKind.
template
sumSlices
()
auto
sumSlices
(
Iterator
SliceKind
kind
)
(
Slice
!(
Iterator
, 1,
kind
)
sliceOfSlices
)
if
(
isSlice
!(
DeepElementType
!(
Slice
!(
Iterator
, 1,
kind
)))
)
mir
math
sum
sumSlices
functions
sumSlices
Computes the sum of slices from an iterator according to the specified SliceKind.