kmath-core
/
space.kscience.kmath.structures
/
fold
common
fold
inline fun <
T
:
Any
,
R
>
Buffer
<
T
>.
fold
(initial:
R
, operation: (
R
,
T
) ->
R
):
R
Content copied to clipboard
Fold given buffer according to
operation