GEMM - general matrix multiplication - simplified version

This procedure computes the general matrix multiplication C = AB, where A, B, and C are matrices.

Usage

The GEMM stored procedure has the following syntax:
GEMM(matrixA,matrixB,matrixC)
Parameters
matrixA
The name of the input matrix A.
Type: NVARCHAR(ANY)
matrixB
The name of the input matrix B.
Type: NVARCHAR(ANY)
matrixC
The name of the output matrix C.
Type: NVARCHAR(ANY)
Returns
BOOLEAN TRUE always.

Details

This procedure directly calls the BOOLEAN = nzm..GEMM(matrixA,transposeA, matrixB, transposeB, matrixC) GEMM variant with input para-meters set to: transposeA = FALSE, transposeB = FALSE.

Examples

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)