log - Maple Help

MTM

 log
 compute the natural logarithm

 Calling Sequence log(M)

Parameters

 M - array, matrix, vector, or scalar

Description

 • The log(M) function computes the element-wise natural logarithm of M.  The result, R, is formed as R[i,j] = log(M[i,j]).

Examples

 > $\mathrm{with}\left(\mathrm{MTM}\right):$
 > $M≔\mathrm{Matrix}\left(\left[\left[0.3,0.2\right],\left[0.1,0.4\right]\right]\right):$
 > $\mathrm{log}\left(M\right)$
 $\left[\begin{array}{cc}{-1.203972804}& {-1.609437912}\\ {-2.302585093}& {-0.9162907319}\end{array}\right]$ (1)