/usr/lib/ocaml/gsl/gsl_min.mli is in libocamlgsl-ocaml-dev 1.19.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | (* gsl-ocaml - OCaml interface to GSL *)
(* Copyright (©) 2002-2012 - Olivier Andrieu *)
(* Distributed under the terms of the GPL version 3 *)
(** One dimensional Minimization *)
type kind =
| GOLDENSECTION
| BRENT
type t
val make :
kind -> Gsl_fun.gsl_fun -> min:float -> lo:float -> up:float -> t
external name : t -> string
= "ml_gsl_min_fminimizer_name"
external iterate : t -> unit
= "ml_gsl_min_fminimizer_iterate"
external minimum : t -> float
= "ml_gsl_min_fminimizer_x_minimum"
external interval : t -> float * float
= "ml_gsl_min_fminimizer_x_interv"
external test_interval :
x_lo:float -> x_up:float -> epsabs:float -> epsrel:float -> bool
= "ml_gsl_min_test_interval"
|