package orf

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module A = BatArray
module Fn = Filename
module Ht = BatHashtbl
module IS = BatSet.Int
module IntSet = BatSet.Int
module L = BatList
module LO = Line_oriented
module Log = Dolog.Log
type filename = string
val tap : ('a -> 'b) -> 'a -> 'a
val fst3 : ('a * 'b * 'c) -> 'a
val snd3 : ('a * 'b * 'c) -> 'b
val trd3 : ('a * 'b * 'c) -> 'c
val mkfifo : filename -> unit
val enforce : bool -> string -> unit
val enforce_f : bool -> (unit -> string) -> unit
val temp_filename : string -> string -> string
val with_temp_out_file : (filename -> 'a) -> 'a
val with_in_file2 : string -> string -> (in_channel -> in_channel -> 'a) -> 'a
val with_in_file3 : string -> string -> string -> (in_channel -> in_channel -> in_channel -> 'a) -> 'a
val read_n_lines : int -> in_channel -> string list
val maybe_extract_comment_header : filename -> string option * string list
val skip_blocks : int -> ('a -> 'b) -> 'a -> unit
val get_command_output : string -> string
val temp_dir : string -> string
val fork_out_cmd : string -> int
val command_exists : string -> string option
val run_command : string -> unit
val get_env : string -> string option
val find_command : string -> string -> string option
val filename_is_absolute : string -> bool
val relative_to_absolute : string -> string
val remove_string_prefix : string -> string -> string
val may_apply_opt : ('a -> 'b) -> 'a option -> 'b option
val may_apply : ('a -> unit) -> 'a option -> unit
exception Enough_times
val n_times : int -> (unit -> 'a) -> 'a list * exn
val id : 'a -> 'a
val string_of_floats_array : float array -> string
val enforce_file_extension : string list -> string -> unit
val m_pi : float
val prepend : 'a -> 'a list ref -> unit
val in_bounds : 'a -> 'a -> 'a -> bool
val array_medianf : float array -> float
val list_medianf : float list -> float
val string_of_array : ?pre:string -> ?sep:string -> ?suf:string -> ('a -> string) -> 'a array -> string
val string_of_list : ?pre:string -> ?sep:string -> ?suf:string -> ('a -> string) -> 'a list -> string
val save : LO.filename -> 'a -> unit
val restore : LO.filename -> 'a
val is_odd : int -> bool
val is_even : int -> bool
val get_first_line : LO.filename -> string
val cut : char -> int -> string -> string
val get_ncores : unit -> int
val int_of_bool : bool -> int
val bool_of_int : int -> bool
val approx_equal : float -> float -> float -> bool
val is_nan : float -> bool
val faverage : float list -> float
val fmean : float list -> float
val stddev : float list -> float
val fincr_by : float ref -> float -> unit
val make_pair : 'a -> 'b -> 'a * 'b
val list_uniq_count : 'a list -> ('a * int) list
val time_it : (unit -> 'a) -> float * 'a
val ceili : float -> int
val list_rev_sort : ('a -> 'a -> int) -> 'a list -> 'a list
val list_really_take : int -> 'a list -> 'a list
val array_rand_elt : BatRandom.State.t -> 'a array -> 'a
val list_rand_elt : BatRandom.State.t -> 'a list -> 'a
val list_really_remove_one : 'a list -> 'a -> 'a list
val parse_SMILES_line : string -> string * string
val string_contains_regexp : Str.regexp -> string -> bool
val array_bootstrap_sample : Random.State.t -> int -> 'a array -> 'a array
val array_bootstrap_sample_OOB : Random.State.t -> int -> 'a array -> 'a array * int array
val array_bootstrapi_sample_OOB : Random.State.t -> int -> 'a array -> int array * int array
val robust_float_of_string : string -> float
val bound_between : 'a -> 'a -> 'a -> 'a
exception Not_singleton
val is_singleton : IntSet.t -> bool
val square : float -> float
val standard_deviation : float array -> float
val std_dev : float -> float array -> float
val ht_iteri : (int -> 'a -> 'b -> unit) -> ('a, 'b) Ht.t -> unit
val array_iter3 : 'a array -> 'b array -> 'c array -> ('a -> 'b -> 'c -> 'd) -> unit
OCaml

Innovation. Community. Security.