RED_SSQ

This procedure implements computation of the sum of squares of all values from a matrix reduction.

Usage

The RED_SQQ stored procedure has the following syntax:
RED_SQQ(matrixName)
Parameters
matrixName
The name of the matrix.
Type: NVARCHAR(ANY)
Returns
DOUBLE The sum of squares of values in the matrix.

Examples

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

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

 RED_SSQ
---------
 174
(1 row)

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