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

ones

fun ones(vararg lengths:Int):DefaultDoubleNDArray

Overrides NumericalNDArrayFactory.ones

Creates a 1 initialized ND container of the requested shape