This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-29
Channels
- # admin-announcements (2)
- # beginners (20)
- # boot (139)
- # cider (6)
- # clara (1)
- # cljs-dev (7)
- # cljsrn (4)
- # clojure (160)
- # clojure-berlin (1)
- # clojure-canada (6)
- # clojure-gamedev (1)
- # clojure-japan (7)
- # clojure-russia (14)
- # clojure-spec (90)
- # clojure-uk (10)
- # clojurescript (73)
- # clojutre (1)
- # conf-proposals (8)
- # crypto (67)
- # cursive (9)
- # datomic (6)
- # editors-rus (1)
- # events (1)
- # figwheel (6)
- # funcool (2)
- # hoplon (19)
- # instaparse (37)
- # kekkonen (4)
- # lein-figwheel (2)
- # leiningen (5)
- # luminus (1)
- # off-topic (1)
- # om (10)
- # onyx (60)
- # protorepl (2)
- # re-frame (81)
- # reagent (10)
- # ring-swagger (15)
- # rum (6)
- # specter (17)
- # test-check (10)
- # uncomplicate (31)
- # untangled (12)
- # yada (6)
Default matrix is column-oriented. If you need row-orientation, call trans, which transposes it without cost.
Of course, you can take cols as a sequence and call sum or asum on each col, and it might even be faster on matrices with small number of columns...
Of course, you do not have to use mv!, you con get by with mv, depending on the actual use case.
You also do not have to provide [1 1 1] explicitly. For large matrices, it is much fastser to use (entry! (sv 10000) 1.0)
@blueberry are you talking at Clojure Conj? or Euro Clojure..? I heard on the defn podcast 🙂
yep, a couple of days there would be a nice mini vacation. Bratislava is rather cute.
Thank you very much 🙂 Please do not hesitate to write about that, share examples, etc...