api / koma.matrix.ejml / EJMLMatrixFactory / ones

ones

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

Overrides MatrixFactory.ones

Creates a one initialized matrix of the requested shape