api / koma.ndarray / NumericalNDArrayFactory / ones

ones

abstract fun ones(vararg lengths:Int):NDArray<T>

Creates a 1 initialized ND container of the requested shape