api / koma.matrix / MatrixFactory / ones

ones

abstract fun ones(rows:Int, cols:Int):T

Creates a one initialized matrix of the requested shape