(rontolisp) docs
← linalg Package Functions

linalg:log

(linalg:log array)

Returns a fresh array of the same shape with the natural logarithm applied to every element (numpy's np.log) -- equivalent to (linalg:emap #'log array), but as a named function it is accelerated under --simd. Like log itself, it is fdlibm's on every backend, so the digits agree everywhere.