gsl-ocaml / gsl_stats.ml

(* ocamlgsl - OCaml interface to GSL                        *)
(* Copyright (©) 2002-2005 - Olivier Andrieu                *)
(* distributed under the terms of the GPL version 2         *)


external mean : ?w:float array -> float array -> float
    = "ml_gsl_stats_mean"

external variance : ?w:float array -> ?mean:float -> float array -> float
    = "ml_gsl_stats_variance"

external sd : ?w:float array -> ?mean:float -> float array -> float
    = "ml_gsl_stats_sd"

external variance_with_fixed_mean : 
  ?w:float array -> mean:float -> float array -> float
    = "ml_gsl_stats_variance_with_fixed_mean"

external sd_with_fixed_mean : 
  ?w:float array -> mean:float -> float array -> float
    = "ml_gsl_stats_sd_with_fixed_mean"

external absdev : ?w:float array -> ?mean:float -> float array -> float
    = "ml_gsl_stats_absdev"

external skew : ?w:float array -> float array -> float
    = "ml_gsl_stats_skew"

external skew_m_sd : 
  ?w:float array -> mean:float -> 
  sd:float -> float array -> float
    = "ml_gsl_stats_skew_m_sd"

external kurtosis : ?w:float array -> float array -> float
    = "ml_gsl_stats_kurtosis"

external kurtosis_m_sd : 
  ?w:float array -> mean:float -> 
  sd:float -> float array -> float
    = "ml_gsl_stats_kurtosis_m_sd"

external lag1_autocorrelation : 
  mean:float -> float array -> float
    = "ml_gsl_stats_lag1_autocorrelation"

external covariance : 
  float array -> float array -> float
    = "ml_gsl_stats_covariance"

external covariance_m : 
  mean1:float -> float array -> 
  mean2:float -> float array -> float
    = "ml_gsl_stats_covariance_m"

external max : float array -> float
    = "ml_gsl_stats_max"
external min : float array -> float
    = "ml_gsl_stats_min"
external minmax : float array -> float * float
    = "ml_gsl_stats_minmax"
external max_index : float array -> int
    = "ml_gsl_stats_max_index"
external min_index : float array -> int
    = "ml_gsl_stats_min_index"
external minmax_index : float array -> int * int
    = "ml_gsl_stats_minmax_index"

external quantile_from_sorted_data : float array -> float -> float
    = "ml_gsl_stats_quantile_from_sorted_data"

external correlation :
  float array -> float array -> float
    = "ml_gsl_stats_correlation"
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.