GEMM - multiplicación general de matrices - versión simplificada

Este procedimiento calcula la multiplicación general de matrices C = AB, donde A, B y C son matrices.

Uso

El procedimiento almacenado GEMM tiene la siguiente sintaxis:
GEMM matrixA,matrixB,matrixC )
Parámetros
matrixA
El nombre de la matriz de entrada A.
Tipo NVARCHAR(ANY)
matrixB
El nombre de la matriz de entrada B.
Tipo NVARCHAR(ANY)
matrixC
El nombre de la matriz de salida C.
Tipo NVARCHAR(ANY)
Devuelve
BOOLEAN TRUE siempre.

Detalles

Este procedimiento llama directamente a la variante BOOLEAN = nzm..GEMM matrixA,transposeA, matrixB, transposeB, matrixC ) de GEMM con para-metros de entrada establecidos en: transposeA = FALSE, transposeB = FALSE.

Ejemplos

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

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

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

 GEMM
------
 t
(1 row)

                      PRINT
--------------------------------------------------
 -- matrix: C --
 20, 20, 20
 23, 23, 23
 65, 65, 65
(1 row)

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

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

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