This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-04
Channels
- # beginners (149)
- # cider (1)
- # clara (12)
- # cljs-dev (226)
- # cljsrn (2)
- # clojure (275)
- # clojure-russia (5)
- # clojure-uk (14)
- # clojurescript (57)
- # cursive (23)
- # data-science (15)
- # datomic (1)
- # fulcro (8)
- # hoplon (9)
- # onyx (5)
- # portkey (15)
- # protorepl (1)
- # re-frame (8)
- # reagent (17)
- # shadow-cljs (22)
- # uncomplicate (13)
- # vim (36)
@espen302 You need to export java.base module when you run on Java 9, as explained here https://dragan.rocks/articles/18/Neanderthal-018-CUDA9-Java9-Clojure19-update
@blueberry Thanks! That was it.
The system I am solving gives a 9x9 matrix. I am not able to see all of it in the REPL, it is truncated and only shows 4 values for each row and column. Same when I use (print). How can I display the whole matrix?
I am also having some trouble with using the (pi) constant in neandethal/math. Getting "ClassCastException java.base/java.lang.Double cannot be cast to clojure.lang.IFn". (Math/PI) works well though.
@espen302 see the printing.clj namespace. There you can set the printing preferences for neanderhtal.
Thanks--I'm just learning clojure so I find that file a little hard to understand. I'll come back to it when I understand more basic clojure.