full

fun full(vararg shape: Int, init: Double): F64Array

Creates a new array with the given shape, filled with the given value.

Return

the created array

Parameters

shape

the shape of the array

init

the initialization value


fun full(rows: Int, cols: Int, init: Double): F64TwoAxisArray

Creates a new array with the given shape, filled with the given value.

Return

the created array

Since

1.2.0

Parameters

rows

the row count

cols

the column count

init

the initialization value