package oml

  1. Overview
  2. Docs

Common values used throughout the library.

include module type of Oml_util
type iterative_failure_reason =
  1. | Out_of_bounds of float
  2. | No_convergence
  3. | Too_many_iterations of int
  4. | Too_few_iterations of int
exception Iteration_failure of string * iterative_failure_reason
val invalid_arg : ?m:string -> ?f:string -> ('a, unit, string, 'b) format4 -> 'a
val pi : float
val midpoint : float -> float -> float
val dx : float
val significantly_different_from : ?d:float -> float -> float -> bool
val equal_floats : d:float -> float -> float -> bool
val is_nan : float -> bool
val is_degenerate : float -> bool
type !'a bound =
  1. | Open of 'a
  2. | Closed of 'a
val within : ('a bound * 'a bound) -> 'a -> bool
val fst3 : ('a * 'b * 'c) -> 'a
val snd3 : ('a * 'b * 'c) -> 'b
val thr3 : ('a * 'b * 'c) -> 'c
module Array : sig ... end
module List : sig ... end
module Float : sig ... end
module type Optional_arg_intf = sig ... end
module Kahan : sig ... end