LOG_ELEMENTS - elementwise log function of any base for the specified block of elements
This procedure implements the elementwise log operation of any base for the specified block of elements.
Usage
The LOG_ELEMENTS stored procedure has the following syntax:
- LOG_ELEMENTS(matrixIn,matrixOut,log_base,row_start,col_start,row_stop,col_stop)
- Parameters
- matrixIn
- The name of the input matrix.
- matrixOut
- The name of the output matrix.
- log_base
- The base to use for the log operation.
- row_start
- The first row of the input matrix to use.
- col_start
- The first column of the input matrix to use.
- row_stop
- The last row of the input matrix to use.
- col_stop
- The last column of the input matrix to use.
Examples
CALL nzm..SHAPE('1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16',4,4,' A');
CALL nzm..LOG_ELEMENTS('A', 'B', 3 , 2, 2, 3, 3);
CALL nzm..PRINT('B');
CALL nzm..DELETE_MATRIX('A');
CALL nzm..DELETE_MATRIX('B');
SHAPE
-------
t
(1 row)
LOG_ELEMENTS
--------------
t
(1 row)
PRINT
------------------------------------------------------------------
-- matrix: B --
1, 2, 3, 4
5, 1.6309297535715, 1.7712437491614, 8
9, 2.0959032742894, 2.1826583386441, 12
13, 14, 15, 16
(1 row)
DELETE_MATRIX
---------------
t
(1 row)
DELETE_MATRIX
---------------
t
(1 row)