kmath
0.3.1-dev-RC
common
kmath-core
/
space.kscience.kmath.operations
/
combineToBuffer
combine
To
Buffer
@
UnstableKMathAPI
inline
fun
<
T1
,
T2
,
R
>
Buffer
<
T1
>
.
combineToBuffer
(
other
:
Buffer
<
T2
>
,
bufferFactory
:
BufferFactory
<
R
>
,
crossinline
transform
:
(
T1
,
T2
)
->
R
)
:
Buffer
<
R
>
(
source
)
Zip two buffers using given
transform
.