finally I have building and installing owl 0.6.0 and the tests succeed.
However I am struggling with basic things using this library. Nearly all what I try fails.
(I have tried examples from http://ocaml.xyz/chapter/matrix.html?highlight=tutorial#create-matrices )
open Owl let x = (Mat.uniform_int 5 5)
When i try to compile it I am getting
File "m.ml", line 4, characters 9-24: Error: Unbound value Mat.uniform_int
leaving int away gives:
?a:Owl.Mat.elt -> ?b:Owl.Mat.elt -> out:Owl.Mat.mat -> unit
This argument cannot be applied without label
My goal is to create a matrix and print it:
open Owl let x = (Mat.uniform_int 5 5) in Mat.iteri (fun i j a -> Printf.printf "(%i,%i) %.1f\n" i j a) x
What am I doing wrong?
Is there a tutorial for owl 0.6.0?