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

rand

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

Overrides MatrixFactory.rand

Creates a matrix of uniform 0-1 random samples