(rontolisp) docs
← linalg Package Functions

linalg:sin

(linalg:sin array)

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