Gsl.Histo
Histograms
type t = private {
n : int;
number of histogram bins
*)range : float array;
ranges of the bins ; n+1 elements
*)bin : float array;
counts for each bin ; n elements
*)}
The histogram type
val check : t -> bool
val make : int -> t
val set_ranges : t -> float array -> unit
val set_ranges_uniform : t -> xmin:float -> xmax:float -> unit
val accumulate : t -> ?w:float -> float -> unit
val get : t -> int -> float
val get_range : t -> int -> float * float
val h_max : t -> float
val h_min : t -> float
val bins : t -> int
val reset : t -> unit
val find : t -> float -> int
val max_val : t -> float
val max_bin : t -> int
val min_val : t -> float
val min_bin : t -> int
val mean : t -> float
val sigma : t -> float
val sum : t -> float
val scale : t -> float -> unit
val shift : t -> float -> unit
val sample : histo_pdf -> float -> float