LN_ELEMENTS - fonction LN par éléments (opération sur toute la matrice)

Cette procédure met en œuvre un calcul du logarithme naturel par éléments.

Utilisation

La procédure stockée LN_ELEMENTS a la syntaxe suivante :
LN_ELEMENTS matrixIn,matrixOut )
Paramètres
matrixIn
Le nom de la matrice d'entrée.
Type : NVARCHAR(ANY)
matrixOut
Le nom de la matrice de sortie.
Type : NVARCHAR(ANY)
Retours
BOOLEAN VRAI, en cas de succès.

Exemples

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)