package phylogenetics

  1. Overview
  2. Docs
val init : (t -> 'a) -> 'a table
val get : 'a table -> t -> 'a
val set : 'a table -> t -> 'a -> unit
val map : 'a table -> f:('a -> 'b) -> 'b table
val map2 : 'a table -> 'a table -> f:('a -> 'a -> 'b) -> 'b table
val mapi : 'a table -> f:(t -> 'a -> 'b) -> 'b table
val of_array_exn : 'a array -> 'a table
val of_vector : vector -> float table
val choose : float table -> rng:Gsl.Rng.t -> t
val fold : 'a table -> init:'b -> f:('b -> 'a -> 'b) -> 'b
val foldi : 'a table -> init:'b -> f:(t -> 'b -> 'a -> 'b) -> 'b
val count : 'a table -> f:('a -> bool) -> int
val counti : 'a table -> f:(t -> 'a -> bool) -> int
OCaml

Innovation. Community. Security.