(rontolisp) docs
← 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, the WASM backends compute it with a software approximation whose low-order digits can differ from the interpreter's and the JVM's.