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

ones

fun ones(vararg lengths:Int):DefaultShortNDArray

Overrides NumericalNDArrayFactory.ones

Creates a 1 initialized ND container of the requested shape