api / koma.internal.default.generated.matrix / DefaultIntMatrixFactory / rand

rand

fun rand(rows:Int, cols:Int):Matrix<Int>

Overrides MatrixFactory.rand

Creates a matrix of uniform 0-1 random samples