MOD_ELEMENTS - fonction MOD par élément (opération matricielle complète)

Cette procédure met en œuvre une opération modulo par éléments.

Utilisation

La procédure stockée MOD_ELEMENTS a la syntaxe suivante :
MOD_ELEMENTS matrixIn,matrixOut,divisor )
Paramètres
matrixIn
Le nom de la matrice d'entrée.
Type : NVARCHAR(ANY)
matrixOut
Le nom de la matrice de sortie.
Type : NVARCHAR(ANY)
diviseur
Le diviseur.
Type : Double
Retours
BOOLEAN VRAI, en cas de succès.

Exemples

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)