package gsl
GSL - Bindings to the GNU Scientific Library
Install
Dune Dependency
Authors
Maintainers
Sources
gsl-ocaml-1.19.1.tar.gz
sha256=05891594ed3b4ea0c2f201531aeafce1280b937a18ba76d818760252c2b34b66
md5=b59a432ac89b49fbd0085d4e17315c50
doc/gsl/Gsl_histo/index.html
Module 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
Allocating histograms
val make : int -> t
val set_ranges : t -> float array -> unit
val set_ranges_uniform : t -> xmin:float -> xmax:float -> unit
Updating and accessing histogram elements
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
Searching histogram ranges
val find : t -> float -> int
Histograms statistics
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
Histogram operations
val scale : t -> float -> unit
val shift : t -> float -> unit
Resampling
val sample : histo_pdf -> float -> float
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page