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

ones

fun ones(vararg lengths:Int):DefaultLongNDArray

Overrides NumericalNDArrayFactory.ones

Creates a 1 initialized ND container of the requested shape