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

ones

fun ones(vararg lengths:Int):DefaultIntNDArray

Overrides NumericalNDArrayFactory.ones

Creates a 1 initialized ND container of the requested shape