Skip to content

log

Natural logarithm (base e).

Y = log(X)

Returns ln(X) element-wise. Inverse of exp.

log(exp(1)) % 1
  • log2 — Base-2 logarithm.
  • log10 — Base-10 logarithm.
  • ln — Natural logarithm (base e).
  • exp — Natural exponential.