Skip to content

log

Natural logarithm

log(A)

  • A should be an array of non-negative numbers.
  • It returns an array containing the natural logarithm of each element of A.
  • The output has the same size as A.