ADD - matrix addition

This procedure computes C = A + B, where A, B, and C are matrices.

Usage

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

Examples

CALL nzm..SHAPE('1.0,2.0,3.0,4.0', 4, 4, 'A');
CALL nzm..ADD('A', 'A', 'C');
CALL nzm..PRINT('C');
CALL nzm..DELETE_MATRIX('A' );
CALL nzm..DELETE_MATRIX('C' );

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

 ADD
-----
 t
(1 row)

                            PRINT
-------------------------------------------------------------
 -- matrix: C --
2, 4, 6, 8
2, 4, 6, 8
2, 4, 6, 8
2, 4, 6, 8
(1 row)

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

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