LOG_ELEMENTS - elementwise log function of any base

This procedure implements the elementwise log operation of any base.

Usage

The LOG_ELEMENTS stored procedure has the following syntax:
LOG_ELEMENTS(matrixIn,matrixOut,log_base)
Parameters
matrixIn
The name of the input matrix.
Type: NVARCHAR(ANY)
matrixOut
The name of the output matrix.
Type: NVARCHAR(ANY)
log_base
The base to use for the log operation.
Type: INT4
Returns
BOOLEAN TRUE, if successful.

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);
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 --
 0, 0.63092975357146, 1, 1.2618595071429
 1.4649735207179, 1.6309297535715, 1.7712437491614, 1.89278926071442, 2.0959032742894, 2.1826583386441, 2.2618595071429
 2.3347175194728, 2.4021735027329, 2.4649735207179, 2.5237190142858
(1 row)

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

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