MOD_ELEMENTS - elementwise MOD function (entire matrix operation)

This procedure implements an elementwise modulo operation.

Usage

The MOD_ELEMENTS stored procedure has the following syntax:
MOD_ELEMENTS(matrixIn,matrixOut,divisor)
Parameters
matrixIn
The name of the input matrix.
Type: NVARCHAR(ANY)
matrixOut
The name of the output matrix.
Type: NVARCHAR(ANY)
divisor
The divisor.
Type: DOUBLE
Returns
BOOLEAN TRUE, if successful.

Examples

CALL nzm..SHAPE('1,2,3,4,5,6,7,8,9',3,3,'A');
CALL nzm..MOD_ELEMENTS('A','B',3);
CALL nzm..PRINT('B');
CALL nzm..DELETE_MATRIX('A');
CALL nzm..DELETE_MATRIX('B');

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

 MOD_ELEMENTS
--------------
 t
(1 row)
 
                 PRINT
-----------------------------------------
 -- matrix: B --
 1, 2, 0
 1, 2, 0
 1, 2, 0
(1 row)

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

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