log

Natural logarithm

Calculates the natural logarithm (base e) of x.

Parameters

Returns

Vector | NDArray The natural logarithm.

Examples

log(2.71828)
-- Returns = ~1.0

See Also

exp