api / koma.internal.default.generated.ndarray / DefaultByteNDArrayFactory / ones

ones

fun ones(vararg lengths:Int):DefaultByteNDArray

Overrides NumericalNDArrayFactory.ones

Creates a 1 initialized ND container of the requested shape