Source file owl_sparse_matrix.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 1 "src/owl/sparse/owl_sparse_matrix.ml"
(*
 * OWL - OCaml Scientific and Engineering Computing
 * Copyright (c) 2016-2020 Liang Wang <liang.wang@cl.cam.ac.uk>
 *)

(** Sparse matrix: module aliases *)

module Operator = struct
  include Owl_operator.Make_Basic (Owl_sparse_matrix_generic)
  include Owl_operator.Make_Matrix (Owl_sparse_matrix_generic)
end

module Generic = struct
  include Owl_sparse_matrix_generic
  include Operator
end

module S = struct
  include Owl_sparse_matrix_s
  include Operator
end

module D = struct
  include Owl_sparse_matrix_d
  include Operator
end

module C = struct
  include Owl_sparse_matrix_c
  include Operator
end

module Z = struct
  include Owl_sparse_matrix_z
  include Operator
end

module DOK = struct
  include Owl_sparse_dok_matrix
end