LN_ELEMENTS - elementweise LN-Funktion (gesamte Matrixoperation)

Dieses Verfahren implementiert eine elementweise natürliche Logarithmusberechnung.

Verwendung

Die gespeicherte Prozedur LN_ELEMENTS hat die folgende Syntax:
LN_ELEMENTS matrixIn,matrixOut )
Parameter
matrixIn
Der Name der Eingabematrix.
Typ: NVARCHAR(ANY)
matrixOut
Der Name der Ausgabematrix.
Typ: NVARCHAR(ANY)
Rückgabe
BOOLEAN TRUE, wenn erfolgreich.

Beispiele

CALL nzm..SHAPE('1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16',4,4,'A'); 
CALL nzm..LN_ELEMENTS('A','B'); 
CALL nzm..PRINT('B');
CALL nzm..DELETE_MATRIX('A');
CALL nzm..DELETE_MATRIX('B');

 SHAPE
-------
 t
(1 row)

 LN_ELEMENTS
-------------
 t
(1 row)

                                                PRINT
-----------------------------------------------------------------------------------------------------
 -- matrix: B --
 0, 0.69314718055995, 1.0986122886681, 1.3862943611199
 1.6094379124341, 1.7917594692281, 1.9459101490553, 2.0794415416798
 2.1972245773362, 2.302585092994, 2.3978952727984, 2.484906649788
 2.5649493574615, 2.6390573296153, 2.7080502011022, 2.7725887222398
(1 row)

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

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