log#

static vectorious.log(x)#

Returns the natural logarithm (log_e, also ln) of each element of x.

Arguments:
Returns:

NDArray

Examples:

import { log } from 'vectorious/core/log';

log([1, 2, 3]); // => array([0, 0.6931471824645996, 1.0986123085021973])