Module Cgr.Matrix


module Matrix: Cgr_matrix


type ('a, 'b, 'c) matrix = {
   mat_i : 'a array;
   mat_j : 'b array;
   mat_mat : 'c array array;
}
val latex : Pervasives.out_channel ->
?cols:int ->
('a -> string) ->
('b -> string) -> ('c -> string) -> ('a, 'b, 'c) matrix -> unit
val store_matrix : string -> ('a, 'b, 'c) matrix -> unit
val load_matrix : string -> ('a, 'b, 'c) matrix
exception Uncompatible_matrices
val concat_matrices_i : ?check:('a -> 'a -> unit) ->
('b, 'a, 'c) matrix ->
('b, 'a, 'c) matrix -> ('b, 'a, 'c) matrix
val concat_matrices_j : ?check:('a -> 'a -> unit) ->
('a, 'b, 'c) matrix ->
('a, 'b, 'c) matrix -> ('a, 'b, 'c) matrix