PRINT

This procedure generates formatted print of a matrix.

The PRINT stored procedure has the following syntax:
PRINT(matrixIn,r_style)
Parameters
matrixIn
The name of the input matrix.
Type: NVARCHAR(ANY)
r_style
A Boolean TRUE/FALSE value.
Type: BOOLEAN
Returns
NVARCHAR(16000) The matrix as a string.
CALL nzm..CREATE_IDENTITY_MATRIX('A',4); 
CALL nzm..PRINT('A', false); 
CALL nzm..DELETE_MATRIX('A');

 CREATE_IDENTITY_MATRIX
------------------------
 t
(1 row)

                           PRINT
-------------------------------------------------------------
 -- matrix: A --
 1, 0, 0, 0
 0, 1, 0, 0
 0, 0, 1, 0
 0, 0, 0, 1
(1 row)

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

CALL nzm..CREATE_IDENTITY_MATRIX('A',4); 
CALL nzm..PRINT('A',true); 
CALL nzm..DELETE_MATRIX('A');

 CREATE_IDENTITY_MATRIX
------------------------
 t
(1 row)

                             PRINT
--------------------------------------------------------------------
 -- matrix: A --
 A<-matrix(c(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),4,4)
(1 row)

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