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

rand

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

Overrides MatrixFactory.rand

Creates a matrix of uniform 0-1 random samples