RED_MAX

This procedure implements computation of the maximum value from a matrix reduction.

Usage

The RED_MAX stored procedure has the following syntax:
RED_MAX(matrixName)
Parameters
matrixName
The name of the matrix.
Type: NVARCHAR(ANY)
Returns
DOUBLE The maximum value in the matrix.

Examples

CALL nzm..shape('6,-2,9, 4,1,6',2,3,'A');
SELECT nzm..red_max('A');
CALL nzm..delete_matrix('A');

 SHAPE
-------
 t
(1 row)

 RED_MAX
---------
 9
(1 row)

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