api / koma.matrix.common / DoubleFactoryBase / rand

rand

open fun rand(rows:Int, cols:Int):T

Overrides MatrixFactory.rand

Creates a matrix of uniform 0-1 random samples