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