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

ones

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

Overrides MatrixFactory.ones

Creates a one initialized matrix of the requested shape