Permalink
9d8fa1f Dec 25, 2012
8 lines (5 sloc) 327 Bytes
(** substitution probability matrices (P matrices) *)
type matrix = (float, Bigarray.float64_elt, Bigarray.c_layout) Bigarray.Array2.t (** [Gsl.Matrix.matrix] *)
(** validate that given array is a positive square matrix in which the rows sum to 1
@raise Invalid_argument if not*)
val validate : ?tol:float -> matrix -> unit