(rontolisp) docs
← Functions

linalg:cosh

(linalg:cosh array)

Returns a fresh array of the same shape with the hyperbolic cosine applied to every element (numpy's np.cosh) -- equivalent to (linalg:emap #'cosh array), but as a named function it is accelerated under --simd. Like cosh itself, the WASM backends compute it with a software approximation whose low-order digits can differ from the interpreter's and the JVM's.