Compute the logarithm of an number
y = log (x)
The log function computes the logarithm of a number and returns the result as an array. If its argument is an array, the log function will be applied to each element and the result returned as an array.