api / koma.extensions / fillLinear
fillLinear
@JvmName("fillByteLinear") inline fun
NDArray
<
Byte
>.fillLinear(f: (idx:
Int
) ->
Byte
):
NDArray
<
Byte
>
@JvmName("fillDoubleLinear") inline fun
NDArray
<
Double
>.fillLinear(f: (idx:
Int
) ->
Double
):
NDArray
<
Double
>
@JvmName("fillFloatLinear") inline fun
NDArray
<
Float
>.fillLinear(f: (idx:
Int
) ->
Float
):
NDArray
<
Float
>
@JvmName("fillGenericLinear") fun <T>
NDArray
<
T
>.fillLinear(f: (idx:
Int
) ->
T
):
NDArray
<
T
>
@JvmName("fillIntLinear") inline fun
NDArray
<
Int
>.fillLinear(f: (idx:
Int
) ->
Int
):
NDArray
<
Int
>
@JvmName("fillLongLinear") inline fun
NDArray
<
Long
>.fillLinear(f: (idx:
Int
) ->
Long
):
NDArray
<
Long
>
@JvmName("fillShortLinear") inline fun
NDArray
<
Short
>.fillLinear(f: (idx:
Int
) ->
Short
):
NDArray
<
Short
>