EXP_ELEMENTS - elementwise EXP function
This procedure implements the elementwise exponential value calculation for the specified block of elements.
Usage
The EXP_ELEMENTS stored procedure has the following syntax:
- EXP_ELEMENTS(matrixIn,matrixOut,row_start,col_start,row_stop,col_stop)
- Parameters
- matrixIn
- The name of the input matrix.
- matrixOut
- The name of the output matrix.
- 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 coulmn of the input matrix to use.
Details
The last four arguments may be omitted, in which case, the procedure applies to the entire input matrix.
Examples
CALL nzm..SHAPE('1,2,3,4,5,0,6,7,8', 3, 3, 'A');
CALL nzm..EXP_ELEMENTS('A', 'B', 2, 2, 2, 2);
CALL nzm..PRINT('B');
CALL nzm..DELETE_MATRIX('A');
CALL nzm..DELETE_MATRIX('B');
SHAPE
-------
t
(1 row)
EXP_ELEMENTS
--------------
t
(1 row)
PRINT
-------------------------------------------------------
-- matrix: B --
1, 2, 3
4, 148.41315910258, 0
6, 7, 8
(1 row)
DELETE_MATRIX
---------------
t
(1 row)
DELETE_MATRIX
---------------
t
(1 row)