log

log, function

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

Returns the natural logarithm of the specified number.

Example

x = 4.2
y = log(x)
show scalar "" with y // 1.44

Errors

The function log fails when called with a non-positive argument.

’log()’: invalid argument ‘-4.2’.

See also

User Contributed Notes
0 notes + add a note