api / koma.internal.default.generated.matrix / DefaultIntMatrixFactory / ones

ones

fun ones(rows:Int, cols:Int):Matrix<Int>

Overrides MatrixFactory.ones

Creates a one initialized matrix of the requested shape