A Java API I am Clojure interoping with requires that I pass it a 2d array of doubles; double[][]. How do I create a primitive 2d array of doubles in Clojur
Try this:
(into-array (map double-array [[1 2] [3 4]]))