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

ones

fun ones(vararg lengths:Int):DefaultFloatNDArray

Overrides NumericalNDArrayFactory.ones

Creates a 1 initialized ND container of the requested shape