Last active
December 19, 2015 13:40
-
-
Save w01fe/5964002 to your computer and use it in GitHub Desktop.
hiphip_pointwise_product.clj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn pointwise-product | |
"Produce a new double array with the product of corresponding elements of xs and ys" | |
[xs ys] | |
(dbl/amap [x xs y ys] (* x y))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment