natural logarithm
y = log(x)
arrays of real or complex numbers, of any number of dimensions and of any identical sizes.
log(x) is the "element-wise" logarithm
y(i,j)=log(x(i,j)). For matrix logarithm, see
logm.
log(…) can be overloaded for unsupported input types.
exp(log([1,%i,-1,-%i])) | ![]() | ![]() |