NORMAL -simplified version

This procedure creates a new matrix filled with normally distributed random values using drand48_r.

Usage

The NORMAL stored procedure has the following syntax:
NORMAL(matrixOut,numberOfRows,numberOfColumns)
Parameters
matrixOut
The name of the matrix to be generated.
Type: NVARCHAR(ANY)
numberOfRows
The number of rows to be included in the created matrix.
Type: INT4
numberOfColumns
The number of columns to be included in the created matrix.
Type: NVARCHAR(ANY)
Returns
BOOLEAN TRUE, if successful.

Details

This procedure uses drand48_r.

Examples

CALL nzm..normal('A', 10, 10);
CALL nzm..list_matrices();
CALL nzm..delete_matrix('A');

 NORMAL
--------
 t
(1 row)

 LIST_MATRICES
---------------
 A
(1 row)

 DELETE_MATRIX
---------------
 t
(1 row)