package molenc

  1. Overview
  2. Docs
module A = Stdlib.Array
module BA = Stdlib.Bigarray
module BA1 = BA.Array1
module Ht = Stdlib.Hashtbl
module IntMap = BatMap.Int
module L = MyList
type t = (int, BA.int_elt, BA.c_layout) BA1.t
val create_BA1 : int -> (int, BA.int_elt, BA.c_layout) BA1.t
val of_string : string -> t
val to_string : t -> string
val max_feat_id : ('a, 'b, 'c) BA1.t -> 'a
val nb_features : (int, 'a, 'b) BA1.t -> int
val to_dense : int -> t -> int array
val to_dense_printf : int -> t -> unit
val sum_min_max : t -> t -> int * int
val tanimoto : t -> t -> float
val distance : t -> t -> float
val key_values : (IntMap.key, 'a, 'b) BA1.t -> IntMap.key IntMap.t
val key_value_pairs : ('a, 'b, 'c) BA1.t -> ('a * 'a) list
val drop_features : (IntMap.key, 'a) Ht.t -> (IntMap.key, 'b, 'c) BA1.t -> (int, BA.int_elt, BA.c_layout) BA1.t
val sum_values : (int, 'a, 'b) BA1.t -> int
OCaml

Innovation. Community. Security.