Fork me on GitHub

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.


Through the docs of Neanderthal, that is.


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)))