Gsl.Fun
Callbacks and types for error estimates
These type are used by module Sf
The result of a computation : res
is the value and err
an estimate of the absolute error in the value.
Result of computation with a scaling exponent. Actual result is obtained as res *. 10. ** e10
.
val smash : result_e10 -> result
type multi_fun = x:Vector.vector -> f:Vector.vector -> unit
type multi_fun_fdf = {
multi_f : x:Vector.vector -> f:Vector.vector -> unit;
multi_df : x:Vector.vector -> j:Matrix.matrix -> unit;
multi_fdf : x:Vector.vector -> f:Vector.vector -> j:Matrix.matrix -> unit;
}
type multim_fun = x:Vector.vector -> float
type multim_fun_fdf = {
multim_f : x:Vector.vector -> float;
multim_df : x:Vector.vector -> g:Vector.vector -> unit;
multim_fdf : x:Vector.vector -> g:Vector.vector -> float;
}