api / koma.matrix.mtj / MTJMatrixFactory / ones

ones

fun ones(rows:Int, cols:Int):MTJMatrix

Overrides MatrixFactory.ones

Creates a one initialized matrix of the requested shape