kmath
0.3.1-dev-RC
common
kmath-core
/
space.kscience.kmath.structures
/
MutableMemoryBuffer
/
Companion
/
create
create
fun
<
T
:
Any
>
create
(
spec
:
MemorySpec
<
T
>
,
size
:
Int
)
:
MutableMemoryBuffer
<
T
>
(
source
)
inline
fun
<
T
:
Any
>
create
(
spec
:
MemorySpec
<
T
>
,
size
:
Int
,
initializer
:
(
Int
)
->
T
)
:
MutableMemoryBuffer
<
T
>
(
source
)