Scythe-1.0.3
Matrix<double,Col,Concrete> scythe::mersenne::runif ( unsigned int  rows,
unsigned int  cols 
) [inline]

Generate a Matrix of random uniform variates.

This routine returns a Matrix of double precision random uniform variates on the interval (0, 1). This method overloads the virtual method of the same name in the rng base class.

This is the default template version of this method and is called through implicit template instantiation.

Parameters:
rowsThe number of rows in the returned Matrix.
colsThe number of columns in the returned Matrix.
See also:
runif()
rng
Note:
We are forced to override this overloaded method because the 1-arg version of runif() hides the base class's definition of this method from the compiler, although it probably should not.

Reimplemented from scythe::rng< mersenne >.