Gsl.Monte
Monte Carlo Integration
val integrate :
kind ->
Fun.monte_fun ->
lo:float array ->
up:float array ->
int ->
Rng.t ->
Fun.result
val make_plain_state : int -> plain_state
val init_plain : plain_state -> unit
val integrate_plain :
Fun.monte_fun ->
lo:float array ->
up:float array ->
int ->
Rng.t ->
plain_state ->
Fun.result
val make_miser_state : int -> miser_state
val init_miser : miser_state -> unit
val integrate_miser :
Fun.monte_fun ->
lo:float array ->
up:float array ->
int ->
Rng.t ->
miser_state ->
Fun.result
val get_miser_params : miser_state -> miser_params
val set_miser_params : miser_state -> miser_params -> unit
type vegas_params = {
vegas_alpha : float;
1.5
*)iterations : int;
5
*)stage : int;
mode : vegas_mode;
verbose : int;
ostream : Stdlib.out_channel option;
}
val make_vegas_state : int -> vegas_state
val init_vegas : vegas_state -> unit
val integrate_vegas :
Fun.monte_fun ->
lo:float array ->
up:float array ->
int ->
Rng.t ->
vegas_state ->
Fun.result
val get_vegas_info : vegas_state -> vegas_info
val get_vegas_params : vegas_state -> vegas_params
val set_vegas_params : vegas_state -> vegas_params -> unit