UNIFORM
This procedure creates a new matrix filled with uniformly distributed random values greater than or equal to zero and less than 1.
Usage
The UNIFORM stored procedure has the following syntax:
- UNIFORM(matrixOut,numberOfRows,numberOfColumns)
- Parameters
- matrixOut
- The name of the output matrix.
- numberOfRows
- The number of rows to include in the new matrix.
- numberOfColumns
- The number of columns to include in the new matrix.
Details
This procedure uses drand48_r.
Examples
call nzm..uniform('A', 50,50);
call nzm..list_matrices();
call nzm..delete_matrix('A');
UNIFORM
---------
t
(1 row)
LIST_MATRICES
---------------
A
(1 row)
DELETE_MATRIX
---------------
t
(1 row)