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

ones

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

Overrides MatrixFactory.ones

Creates a one initialized matrix of the requested shape