SCALA - scala gli elementi di una matrice

Questa procedura calcola C = A f, dove A e C sono matrici e f è un numero reale.

Utilizzo

La stored procedure SCALE ha la seguente sintassi:
SCALE matrixA,factor,matrixC )
Parametri
matrixA
Il nome della matrice di input A.
Tipo: NVARCHAR(ANY)
fattore
Il fattore di moltiplicazione.
Tipo: DOPPIO
matrixC
Il nome della matrice C.
Tipo: NVARCHAR(ANY)
Risultati
BOOLEAN VERO sempre.

Esempi

call nzm..shape('1,2,3,4,5,0,6,7,8',3,3,'A'); 
call nzm..scale('A','5','B'); 
call nzm..print('A');
call nzm..print('B');
call nzm..delete_matrix('A');
call nzm..delete_matrix('B');

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

 SCALE
-------
 t
(1 row)

                 PRINT
-----------------------------------------
 -- matrix: A --
 1, 2, 3
 4, 5, 0
 6, 7, 8
(1 row)

                    PRINT
------------------------------------------------
 -- matrix: B --
 5, 10, 15
 20, 25, 0
 30, 35, 40
(1 row)

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

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