forward f x h computes the numerical derivative of the function f at the point x using an adaptive backward difference algorithm with a step-size of h.
forward f x h
f
x
h
central f x h computes the numerical derivative of the function f at the point x using an adaptive central difference algorithm with a step-size of h.
central f x h
The default OCaml handler for GSL errors.
e
Euler constant
eval p x returns p.(0) +. p.(1) *. x +. p.(2) *. x**2 +. ... +. p.(n) *. x**n where n = Array.length p.
eval p x
p.(0) +. p.(1) *. x +. p.(2) *. x**2 +. ... +. p.(n) *. x**n
n = Array.length p
eval_array interp x_a y_a fills the array y_a with the evaluation of the interpolation function interp for each point of array x_a.
eval_array interp x_a y_a
y_a
interp
x_a
forward f x h computes the numerical derivative of the function f at the point x using an adaptive forward difference algorithm with a step-size of h.
The OCaml handler for GSL errors.
1/pi
2/pi
2/sqrt(pi)
Error.init () setups the GSL error handler so that the OCaml function Error.handler gets called in case of an error.
Error.init ()
Error.handler
ln(10)
ln(2)
ln(pi)
log_10 (e)
log_2 (e)
matmult a ~transpa b ~transpb c stores in matrix c the product of matrices a and b.
matmult a ~transpa b ~transpb c
c
a
b
pi
pi/2
pi/4
printer is an exceoption printer for Exn.
printer
Exn
sqrt(1/2)
sqrt(2)
sqrt(3)
sqrt(pi)
strerror e returns a description of the error e.
strerror e
string_of_errno e returns the name of e.
string_of_errno e
Error.uninit () reverts the GSL error handler to the default of the GSL C-library.
Error.uninit ()
Version of GSL library.