Source file owl_sparse_ndarray_d.ml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 1 "src/owl/sparse/owl_sparse_ndarray_d.ml"
open Bigarray
module M = Owl_sparse_ndarray_generic
include M
type elt = float
type arr = (float, float64_elt) Owl_sparse_ndarray_generic.t
let zeros s = M.zeros Float64 s
let binary ?density s = M.binary ?density Float64 s
let uniform ?scale ?density s = M.uniform ?scale ?density Float64 s
let of_array s x = M.of_array Float64 s x
let load f = M.load Float64 f