log

log, function

def const dash autodiff pure log(a: number): number

Returns the natural logarithm of a.

Examples

show table "log(4.2)" with
  log(4.2) as "Value"

This produces the following table:

Value
1.435084

Errors

log fails when a is not strictly positive.

See also

User Contributed Notes
0 notes + add a note