package gsl

  1. Overview
  2. Docs

One dimensional Minimization

type kind =
  1. | GOLDENSECTION
  2. | BRENT
type t
val make : kind -> Gsl_fun.gsl_fun -> min:float -> lo:float -> up:float -> t
val name : t -> string
val iterate : t -> unit
val minimum : t -> float
val interval : t -> float * float
val test_interval : x_lo:float -> x_up:float -> epsabs:float -> epsrel:float -> bool
OCaml

Innovation. Community. Security.