MTM/log1p - Maple Help

MTM

 log1p
 compute the scaled logarithm

 Calling Sequence log1p(M)

Parameters

 M - array, matrix, vector, or scalar

Description

 • The log1p(M) function computes the scaled element-wise base-e logarithm of M. The result, R, is formed as R[i,j] = log1p(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{log1p}\left(M\right)$
 $\left[\begin{array}{cc}{0.2623642645}& {0.1823215568}\\ {0.09531017980}& {0.3364722366}\end{array}\right]$ (1)

Compatibility

 • The MTM[log1p] command was introduced in Maple 2021.