kmath-core
/
space.kscience.kmath.structures
/
MutableMemoryBuffer
/
Companion
/
create
common
create
fun <
T
:
Any
>
create
(spec:
MemorySpec
<
T
>, size:
Int
):
MutableMemoryBuffer
<
T
>
Content copied to clipboard
inline fun <
T
:
Any
>
create
(spec:
MemorySpec
<
T
>, size:
Int
, initializer: (
Int
) ->
T
):
MutableMemoryBuffer
<
T
>
Content copied to clipboard