Module Fun
module Fun: sig .. end
Callbacks and types for error estimates
Types for special functions
These type are used by module Sf
type result = {
}
The result of a computation : res is the value and err an
estimate of the absolute error in the value.
type result_e10 = {
|
res_e10 :float; |
|
err_e10 :float; |
|
e10 :int; |
}
Result of computation with a scaling exponent. Actual result is
obtained as res *. 10. ** e10.
type mode =
| |
DOUBLE |
| |
SIMPLE |
| |
APPROX |
Reduce the accuracy of some evaluations to speed up computations.
val smash : result_e10 -> result
Callbacks
type gsl_fun = float -> float
type gsl_fun_fdf = {
|
f :float -> float; |
|
df :float -> float; |
|
fdf :float -> float * float; |
}
type monte_fun = float array -> float
type multi_fun = x:Vector.vector -> f:Vector.vector -> unit
type multi_fun_fdf = {
}
type multim_fun = x:Vector.vector -> float
type multim_fun_fdf = {
}