COPY_MATRIX - copy a matrix
This procedure creates a copy of the specified matrix.
Usage
The COPY_MATRIX stored procedure has the following syntax:
- COPY_MATRIX(matrixIn,matrixOut)
- Parameters
- matrixIn
- The name of the input matrix.
- matrixOut
- The name of the output matrix.
Examples
CALL nzm..shape('1',3,3,'A');
CALL nzm..COPY_MATRIX('A', 'B');
CALL nzm..print('B');
CALL nzm..delete_matrix('A');
CALL nzm..delete_matrix('B');
SHAPE
-------
t
(1 row)
COPY_MATRIX
-------------
t
(1 row)
PRINT
-----------------------------------------
-- matrix: B --
1, 1, 1
1, 1, 1
1, 1, 1
(1 row)
DELETE_MATRIX
---------------
t
(1 row)
DELETE_MATRIX
---------------
t
(1 row)