Skip to content

Commit d9af3a4

Browse files
committed
Rebuild.
1 parent 2630120 commit d9af3a4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/matrix.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module Make (R:Ring.T) = struct
55
(** A matrix. *)
66
type t = R.t array array
77

8+
(** A matrix. *)
89
type matrix = t
910

1011
(** Zero matrix. *)
@@ -145,6 +146,7 @@ module Make (R:Ring.T) = struct
145146
(** Underlying (non-labeled) matrix. *)
146147
let matrix ((_,_,m):t) = m
147148

149+
(** Generate a matrix filled with zeroes. *)
148150
let zero rows cols : t =
149151
let m = zero (Array.length rows) (Array.length cols) in
150152
L.of_array rows, L.of_array cols, m

0 commit comments

Comments
 (0)