kmath-core
/
space.kscience.kmath.structures
/
Buffer
/
Companion
common
Companion
object
Companion
Content copied to clipboard
Functions
Extensions
Sources
Functions
auto
Link copied to clipboard
common
inline fun <
T
:
Any
>
auto
(size:
Int
, initializer: (
Int
) ->
T
):
Buffer
<
T
>
Content copied to clipboard
Creates a
Buffer
of given type
T
.
inline fun <
T
:
Any
>
auto
(type:
KClass
<
T
>, size:
Int
, initializer: (
Int
) ->
T
):
Buffer
<
T
>
Content copied to clipboard
Creates a
Buffer
of given
type
.
boxing
Link copied to clipboard
common
inline fun <
T
>
boxing
(size:
Int
, initializer: (
Int
) ->
T
):
Buffer
<
T
>
Content copied to clipboard
Creates a
ListBuffer
of given type
T
with given
size
.
contentEquals
Link copied to clipboard
common
fun <
T
:
Any
>
contentEquals
(first:
Buffer
<
T
>, second:
Buffer
<
T
>):
Boolean
Content copied to clipboard
Check the element-by-element match of content of two buffers.
toString
Link copied to clipboard
common
fun
toString
(buffer:
Buffer
<*>):
String
Content copied to clipboard
Extensions
bigInt
Link copied to clipboard
common
inline fun
Buffer.Companion
.
bigInt
(size:
Int
, initializer: (
Int
) ->
BigInt
):
Buffer
<
BigInt
>
Content copied to clipboard
Sources
common source
Link copied to clipboard