log( z [ , n ] )

The natural logarithm of z in SageMath. Alias of ln. The inverse of exp.

The optional n argument allows changing the base of the logarithm from the default value of e.

Plot on the real axis:

Series expansion about unity:

Special values:

Related functions:   ln   exp

Function category: logarithmic functions sagemath-docs