ABS_ELEMENTS - elementwise ABS (entire matrix operation)
This procedure implements the elementwise absolute value calculation.
Usage
This ABS_ELEMENTS stored procedure has the following syntax:
- ABS_ELEMENTS('matrixIn','matrixOut')
- Parameters
Examples
CALL nzm..SHAPE('-1.0', 4, 4, 'A');
CALL nzm..ABS_ELEMENTS('A', 'B');
CALL nzm..PRINT('A');
CALL nzm..PRINT('B');
CALL nzm..DELETE_MATRIX('A' );
CALL nzm..DELETE_MATRIX('B' );
SHAPE
-------
t
(1 row)
ABS_ELEMENTS
--------------
t
(1 row)
PRINT
-----------------------------------------------------------------------------
-- matrix: A --
-1, -1, -1, -1
-1, -1, -1, -1
-1, -1, -1, -1
-1, -1, -1, -1
(1 row)
PRINT
-------------------------------------------------------------
-- matrix: B --
1,1,1,1
1,1,1,1
1,1,1,1
1,1,1,1
(1 row)
DELETE_MATRIX
---------------
t
(1 row)
DELETE_MATRIX
---------------
t
(1 row)