package gsl

  1. Overview
  2. Docs

Mathematical constants and some simple functions

Constants

val e : float

e

val log2e : float

log_2 (e)

val log10e : float

log_10 (e)

val sqrt2 : float

sqrt(2)

val sqrt1_2 : float

sqrt(1/2)

val sqrt3 : float

sqrt(3)

val pi : float

pi

val pi_2 : float

pi/2

val pi_4 : float

pi/4

val sqrtpi : float

sqrt(pi)

val i_2_sqrtpi : float

2/sqrt(pi)

val i_1_pi : float

1/pi

val i_2_pi : float

2/pi

val ln10 : float

ln(10)

val ln2 : float

ln(2)

val lnpi : float

ln(pi)

val euler : float

Euler constant

Simple Functions

val pow_int : float -> int -> float
val log1p : float -> float
val expm1 : float -> float
val hypot : float -> float -> float
val acosh : float -> float
val asinh : float -> float
val atanh : float -> float
val fcmp : float -> float -> epsilon:float -> int
OCaml

Innovation. Community. Security.