Matrix transposition in clojure

The usual solution is

(defn transpose [m]
  (apply mapv vector m))

Leave a Comment