linalg:emap
(linalg:emap function array)
Returns a fresh array of the same shape with function applied to every element -- the array analogue of mapcar. It works on vectors and matrices alike, and accepts any function value: a lambda, a #'-quoted built-in, or a #'-quoted linalg function. The binary elementwise operators linalg:add, linalg:sub, linalg:mul and linalg:div cover the common two-operand cases.