This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-12-05
Channels
- # adventofcode (95)
- # announcements (3)
- # babashka (11)
- # beginners (39)
- # boot (19)
- # bristol-clojurians (1)
- # cider (32)
- # clj-kondo (39)
- # cljsrn (8)
- # clojure (156)
- # clojure-dev (35)
- # clojure-europe (4)
- # clojure-italy (15)
- # clojure-nl (28)
- # clojure-spec (43)
- # clojure-uk (153)
- # clojurescript (168)
- # core-async (13)
- # core-logic (11)
- # cryogen (4)
- # cursive (13)
- # datomic (26)
- # duct (3)
- # emacs (8)
- # fulcro (33)
- # garden (4)
- # graalvm (18)
- # graphql (4)
- # jobs-discuss (2)
- # kaocha (1)
- # leiningen (3)
- # malli (8)
- # off-topic (1)
- # pathom (7)
- # re-frame (21)
- # reagent (3)
- # rewrite-clj (1)
- # schema (4)
- # shadow-cljs (40)
- # sql (2)
- # uncomplicate (3)
I'm reading through the docs and I tried this example:
(sb float-factory 4 2 (range 20) {:layout :row})
float-factory
isn't defined anywhere so I substituted native-float
and got the following error message:
Dragan says: SB matrices have to be either column-major lower or
row-major upper.
{:layout :row, :uplo :lower}
Can anyone provide insight into what's going on? I'm using 0.26.1, the current version.Also, if I add :uplo :upper
to the options, I get an illegal access exception that looks like this:
2. Unhandled clojure.lang.ExceptionInfo
1. Caused by java.lang.IllegalAccessError
class uncomplicate.commons.core$eval5901$fn__5902 (in unnamed
module @0x2add90a7) cannot access class jdk.internal.ref.Cleaner
(in module java.base) because module java.base does not export
jdk.internal.ref to unnamed module @0x2add90a7
For what it's worth, the following code evals just fine:
(let [client (fge 1 2 [4000 123200])
perf (fge 2 1 [3/1000 0.0075])]
(seq (mm perf client)))