REDUCTION
This procedure implements ssq, min, max, and sum on all elements of the matrix.
Usage
The REDUCTION stored procedure has the following syntax:
- REDUCTION(matrixIn,reduction_type)
- Parameters
- matrixIn
- The name of the input matrix.
- reduction_type
- The reduction type. Must be one of the following: MAX MIN SSQ SUM TRACE
Examples
CALL nzm..CREATE_IDENTITY_MATRIX('A',4);
CALL nzm..REDUCTION('A','SUM');
CALL nzm..DELETE_MATRIX('A');
CREATE_IDENTITY_MATRIX
------------------------
t
(1 row)
REDUCTION
-----------
4
(1 row)
DELETE_MATRIX
---------------
t
(1 row)