SQRT_ELEMENTS - elementwise SQRT (entire matrix operation)
This procedure implements element wise square root calculation.
Usage
The SQRT_ELEMENTS stored procedure has the following syntax:
- SQRT_ELEMENTS(matrixIn,matrixOut)
- Parameters
- matrixIn
- The name of the input matrix.
- matrixOut
- The name of the output matrix.
Examples
CALL nzm..shape('2,9,49,64,81',3,3,'A');
CALL nzm..SQRT_ELEMENTS('A', 'B');
CALL nzm..print('B');
CALL nzm..delete_matrix('A');
CALL nzm..delete_matrix('B');
SHAPE
-------
t
(1 row)
SQRT_ELEMENTS
---------------
t
(1 row)
PRINT
--------------------------------------------------------
-- matrix: B --
1.4142135623731, 3, 7
8, 9, 1.4142135623731
3, 7, 8
(1 row)
DELETE_MATRIX
---------------
t
(1 row)
DELETE_MATRIX
---------------
t
(1 row)