RED_TRACE

This procedure implements calculation of a trace of the matrix.

Usage

The RED_TRACE strewed procedure has the following syntax:
RED_TRACE(matrixIn)
Parameters
matrixIn
The name of the input matrix.
Type: NVARCHAR(ANY)
Returns
DOUBLE The value of the trace.

Examples

CALL nzm..CREATE_IDENTITY_MATRIX('A',4); 
CALL nzm..RED_TRACE('A'); 
CALL nzm..DELETE_MATRIX('A');

 CREATE_IDENTITY_MATRIX
------------------------
 t
(1 row)

 RED_TRACE
-----------
 4
(1 row)

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