oml

Math Library
Library oml
Module Oml . Util
include module type of Oml_util
type iterative_failure_reason =
| Out_of_bounds of float
| No_convergence
| Too_many_iterations of int
| 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 =
| Open of 'a
| 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