Returns the absolute value of the elements in the given matrix, sequence or number.
Equivalent to R's abs function.
(defn abs "Returns the absolute value of the elements in the given matrix, sequence or number. Equivalent to R's abs function." ([A] (transform-with A #(Math/abs (float %)) abs)))
Comments top
No comments for abs. Log in to add a comment.