You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/cdomains/affineEquality/matrix.ml
+23-25Lines changed: 23 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -5,58 +5,56 @@ sig
5
5
typevec
6
6
typet [@@deriving eq, ord, hash]
7
7
8
+
valshow: t -> string
9
+
10
+
valcopy: t -> t
11
+
8
12
valempty: unit -> t(* TODO: needs unit? *)
9
13
10
14
valis_empty: t -> bool
11
15
12
-
valshow: t -> string
16
+
valnum_rows: t -> int
13
17
14
-
valadd_empty_columns: t -> intarray -> t
18
+
valnum_cols: t -> int
19
+
20
+
valinit_with_vec: vec -> t
15
21
16
22
valappend_row: t -> vec -> t
17
23
18
24
valget_row: t -> int -> vec
19
25
20
-
valdel_col: t -> int -> t
21
-
22
-
valdel_cols: t -> intarray -> t
23
-
24
26
valremove_row: t -> int -> t
25
27
26
-
valget_col: t -> int -> vec
27
-
28
-
valappend_matrices: t -> t -> t
29
-
30
-
valnum_rows: t -> int
28
+
valremove_zero_rows: t -> t
31
29
32
-
valnum_cols: t -> int
30
+
valswap_rows: t -> int -> int -> t
33
31
34
-
valreduce_col: t -> int -> t
32
+
valadd_empty_columns: t -> intarray -> t
35
33
36
-
valnormalize: t -> tOption.t(*Gauss-Jordan Elimination to get matrix in reduced row echelon form (rref) + deletion of zero rows. None matrix has no solution*)
34
+
valget_col: t -> int -> vec
37
35
38
-
valrref_vec: t -> vec -> tOption.t(* added to remove side effects in affineEqualityDomain*)
36
+
valset_col: t -> vec -> int -> t
39
37
40
-
valrref_matrix: t -> t -> tOption.t(* this as well *)
38
+
valdel_col: t -> int -> t
41
39
42
-
valfind_opt: (vec -> bool) -> t-> vecoption
40
+
valdel_cols: t -> intarray-> t
43
41
44
42
valmap2: (vec -> num -> vec) -> t -> vec -> t
45
43
46
-
valmap2: (vec -> num -> vec) -> t -> vec -> t(* why is this here twice??*)
47
-
48
44
valmap2i: (int -> vec-> num -> vec) -> t -> vec -> t
49
45
50
-
valset_col: t -> vec -> int -> t
46
+
valfind_opt: (vec -> bool) -> t -> vecoption
51
47
52
-
valinit_with_vec: vec -> t
48
+
valappend_matrices: t -> t -> t
53
49
54
-
valremove_zero_rows: t -> t
50
+
valreduce_col: t -> int -> t
55
51
56
-
valis_covered_by: t -> t-> bool
52
+
valnormalize: t -> tOption.t(*Gauss-Jordan Elimination to get matrix in reduced row echelon form (rref) + deletion of zero rows. None matrix has no solution*)
0 commit comments