kmath
0.3.1-dev-RC
common
kmath-core
/
space.kscience.kmath.operations
/
reduce
reduce
inline
fun
<
T
>
Buffer
<
T
>
.
reduce
(
operation
:
(
left
:
T
,
value
:
T
)
->
T
)
:
T
(
source
)
Reduce a buffer from left to right according to
operation