ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
gsl::stats Namespace Reference

This namespace provides the gsl_stats functions. More...

Functions

template<typename T >
double char_mean (T const &data, size_t const stride=1)
 C++ version of gsl_stats_char_mean(). More...
 
template<typename T >
double char_variance (T const &data, size_t const stride=1)
 C++ version of gsl_stats_char_variance(). More...
 
template<typename T >
double char_sd (T const &data, size_t const stride=1)
 C++ version of gsl_stats_char_sd(). More...
 
template<typename T >
double char_variance_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_char_variance_with_fixed_mean(). More...
 
template<typename T >
double char_variance_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_char_variance_with_fixed_mean(). More...
 
template<typename T >
double char_sd_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_char_sd_with_fixed_mean(). More...
 
template<typename T >
double char_sd_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_char_sd_with_fixed_mean(). More...
 
template<typename T >
double char_tss (T const &data, size_t const stride=1)
 C++ version of gsl_stats_char_tss(). More...
 
template<typename T >
double char_tss_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_char_tss_m(). More...
 
template<typename T >
double char_tss_m (T const &data, double const mean)
 C++ version of gsl_stats_char_tss_m(). More...
 
template<typename T >
double char_absdev (T const &data, size_t const stride=1)
 C++ version of gsl_stats_char_absdev(). More...
 
template<typename T >
double char_skew (T const &data, size_t const stride=1)
 C++ version of gsl_stats_char_skew(). More...
 
template<typename T >
double char_kurtosis (T const &data, size_t const stride=1)
 C++ version of gsl_stats_char_kurtosis(). More...
 
template<typename T >
double char_lag1_autocorrelation (T const &data, size_t const stride=1)
 C++ version of gsl_stats_char_lag1_autocorrelation(). More...
 
template<typename T , typename U >
double char_covariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_char_covariance(). More...
 
template<typename T , typename U >
double char_covariance (T const &data1, U const &data2)
 C++ version of gsl_stats_char_covariance(). More...
 
template<typename T , typename U >
double char_correlation (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_char_correlation(). More...
 
template<typename T , typename U >
double char_correlation (T const &data1, U const &data2)
 C++ version of gsl_stats_char_correlation(). More...
 
template<typename T >
double char_variance_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_char_variance_m(). More...
 
template<typename T >
double char_variance_m (T const &data, double const mean)
 C++ version of gsl_stats_char_variance_m(). More...
 
template<typename T >
double char_sd_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_char_sd_m(). More...
 
template<typename T >
double char_sd_m (T const &data, double const mean)
 C++ version of gsl_stats_char_sd_m(). More...
 
template<typename T >
double char_absdev_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_char_absdev_m(). More...
 
template<typename T >
double char_absdev_m (T const &data, double const mean)
 C++ version of gsl_stats_char_absdev_m(). More...
 
template<typename T >
double char_skew_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_char_skew_m_sd(). More...
 
template<typename T >
double char_skew_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_char_skew_m_sd(). More...
 
template<typename T >
double char_kurtosis_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_char_kurtosis_m_sd(). More...
 
template<typename T >
double char_kurtosis_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_char_kurtosis_m_sd(). More...
 
template<typename T >
double char_lag1_autocorrelation_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_char_lag1_autocorrelation_m(). More...
 
template<typename T >
double char_lag1_autocorrelation_m (T const &data, double const mean)
 C++ version of gsl_stats_char_lag1_autocorrelation_m(). More...
 
template<typename T , typename U >
double char_covariance_m (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double const mean1, double const mean2)
 C++ version of gsl_stats_char_covariance_m(). More...
 
template<typename T >
double char_covariance_m (T const &data1, T const &data2, double const mean1, double const mean2)
 C++ version of gsl_stats_char_covariance_m(). More...
 
template<typename T , typename U >
double char_pvariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_char_pvariance(). More...
 
template<typename T , typename U >
double char_ttest (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_char_ttest(). More...
 
template<typename T >
double char_max (T const &data, size_t const stride=1)
 C++ version of gsl_stats_char_max(). More...
 
template<typename T >
double char_min (T const &data, size_t const stride=1)
 C++ version of gsl_stats_char_min(). More...
 
template<typename T >
void char_minmax (char &min, char &max, T const &data, size_t const stride=1)
 C++ version of gsl_stats_char_minmax(). More...
 
template<typename T >
size_t char_max_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_char_max_index(). More...
 
template<typename T >
size_t char_min_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_char_min_index(). More...
 
template<typename T >
void char_minmax_index (size_t &min_index, size_t &max_index, T const &data, size_t const stride=1)
 C++ version of gsl_stats_char_minmax_index(). More...
 
template<typename T >
double char_median_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_char_median_from_sorted_data(). More...
 
template<typename T >
double char_quantile_from_sorted_data (T const &sorted_data, size_t const stride, double const f)
 C++ version of gsl_stats_char_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double char_pvariance (T const &data1, U const &data2)
 C++ version of gsl_stats_char_pvariance(). More...
 
template<typename T , typename U >
double char_ttest (T const &data1, U const &data2)
 C++ version of gsl_stats_char_ttest(). More...
 
template<typename T >
double char_quantile_from_sorted_data (T const &sorted_data, double const f)
 C++ version of gsl_stats_char_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double char_spearman (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double work[])
 C++ version of gsl_stats_char_spearman(). More...
 
template<typename T , typename U >
double char_spearman (T const &data1, U const &data2, double work[])
 C++ version of gsl_stats_char_spearman(). More...
 
template<typename T >
double char_median (T &data, size_t const stride=1)
 C++ version of gsl_stats_char_median(). More...
 
template<typename T >
double char_trmean_from_sorted_data (double const trim, T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_char_trmean_from_sorted_data(). More...
 
template<typename T >
double char_gastwirth_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_char_gastwirth_from_sorted_data(). More...
 
template<typename T , typename U >
double char_mad0 (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_char_mad0(). More...
 
template<typename T , typename U >
double char_mad (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_char_mad(). More...
 
template<typename T , typename U >
double char_Sn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_char_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double char_Sn_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_char_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
char char_Qn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_char_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
char char_Qn_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_char_Qn_from_sorted_data(). More...
 
template<typename T , typename U >
double char_mad0 (T const &data, U &work)
 C++ version of gsl_stats_char_mad0(). More...
 
template<typename T , typename U >
double char_mad (T const &data, U &work)
 C++ version of gsl_stats_char_mad(). More...
 
template<typename T , typename U >
double char_Sn0_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_char_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double char_Sn_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_char_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double char_Qn0_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_char_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double char_Qn_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_char_Qn_from_sorted_data(). More...
 
template<typename T >
double mean (T const &data, size_t const stride=1)
 C++ version of gsl_stats_mean(). More...
 
template<typename T >
double variance (T const &data, size_t const stride=1)
 C++ version of gsl_stats_variance(). More...
 
template<typename T >
double sd (T const &data, size_t const stride=1)
 C++ version of gsl_stats_sd(). More...
 
template<typename T >
double variance_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_variance_with_fixed_mean(). More...
 
template<typename T >
double variance_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_variance_with_fixed_mean(). More...
 
template<typename T >
double sd_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_sd_with_fixed_mean(). More...
 
template<typename T >
double sd_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_sd_with_fixed_mean(). More...
 
template<typename T >
double tss (T const &data, size_t const stride=1)
 C++ version of gsl_stats_tss(). More...
 
template<typename T >
double tss_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_tss_m(). More...
 
template<typename T >
double tss_m (T const &data, double const mean)
 C++ version of gsl_stats_tss_m(). More...
 
template<typename T >
double absdev (T const &data, size_t const stride=1)
 C++ version of gsl_stats_absdev(). More...
 
template<typename T >
double skew (T const &data, size_t const stride=1)
 C++ version of gsl_stats_skew(). More...
 
template<typename T >
double kurtosis (T const &data, size_t const stride=1)
 C++ version of gsl_stats_kurtosis(). More...
 
template<typename T >
double lag1_autocorrelation (T const &data, size_t const stride=1)
 C++ version of gsl_stats_lag1_autocorrelation(). More...
 
template<typename T , typename U >
double covariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_covariance(). More...
 
template<typename T , typename U >
double covariance (T const &data1, U const &data2)
 C++ version of gsl_stats_covariance(). More...
 
template<typename U , typename T >
double wmean (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_wmean(). More...
 
template<typename U , typename T >
double wvariance (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_wvariance(). More...
 
template<typename U , typename T >
double wsd (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_wsd(). More...
 
template<typename U , typename T >
double wvariance_with_fixed_mean (U const &w, size_t const wstride, T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_wvariance_with_fixed_mean(). More...
 
template<typename U , typename T >
double wsd_with_fixed_mean (U const &w, size_t const wstride, T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_wsd_with_fixed_mean(). More...
 
template<typename U , typename T >
double wtss (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_wtss(). More...
 
template<typename U , typename T >
double wtss_m (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean)
 C++ version of gsl_stats_wtss_m(). More...
 
template<typename U , typename T >
double wabsdev (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_wabsdev(). More...
 
template<typename U , typename T >
double wskew (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_wskew(). More...
 
template<typename U , typename T >
double wkurtosis (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_wkurtosis(). More...
 
template<typename U , typename T >
double wvariance_m (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean)
 C++ version of gsl_stats_wvariance_m(). More...
 
template<typename U , typename T >
double wsd_m (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean)
 C++ version of gsl_stats_wsd_m(). More...
 
template<typename U , typename T >
double wabsdev_m (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean)
 C++ version of gsl_stats_wabsdev_m(). More...
 
template<typename U , typename T >
double wskew_m_sd (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean, double const wsd)
 C++ version of gsl_stats_wskew_m_sd(). More...
 
template<typename U , typename T >
double wkurtosis_m_sd (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean, double const wsd)
 C++ version of gsl_stats_wkurtosis_m_sd(). More...
 
template<typename U , typename T >
double wmean (U const &w, T const &data)
 C++ version of gsl_stats_wmean(). More...
 
template<typename U , typename T >
double wvariance (U const &w, T const &data)
 C++ version of gsl_stats_wvariance(). More...
 
template<typename U , typename T >
double wsd (U const &w, T const &data)
 C++ version of gsl_stats_wsd(). More...
 
template<typename U , typename T >
double wvariance_with_fixed_mean (U const &w, T const &data, double const mean)
 C++ version of gsl_stats_wvariance_with_fixed_mean(). More...
 
template<typename U , typename T >
double wsd_with_fixed_mean (U const &w, T const &data, double const mean)
 C++ version of gsl_stats_wsd_with_fixed_mean(). More...
 
template<typename U , typename T >
double wtss (U const &w, T const &data)
 C++ version of gsl_stats_wtss(). More...
 
template<typename U , typename T >
double wtss_m (U const &w, T const &data, double const wmean)
 C++ version of gsl_stats_wtss_m(). More...
 
template<typename U , typename T >
double wabsdev (U const &w, T const &data)
 C++ version of gsl_stats_wabsdev(). More...
 
template<typename U , typename T >
double wskew (U const &w, T const &data)
 C++ version of gsl_stats_wskew(). More...
 
template<typename U , typename T >
double wkurtosis (U const &w, T const &data)
 C++ version of gsl_stats_wkurtosis(). More...
 
template<typename U , typename T >
double wvariance_m (U const &w, T const &data, double const wmean)
 C++ version of gsl_stats_wvariance_m(). More...
 
template<typename U , typename T >
double wsd_m (U const &w, T const &data, double const wmean)
 C++ version of gsl_stats_wsd_m(). More...
 
template<typename U , typename T >
double wabsdev_m (U const &w, T const &data, double const wmean)
 C++ version of gsl_stats_wabsdev_m(). More...
 
template<typename U , typename T >
double wskew_m_sd (U const &w, T const &data, double const wmean, double const wsd)
 C++ version of gsl_stats_wskew_m_sd(). More...
 
template<typename U , typename T >
double wkurtosis_m_sd (U const &w, T const &data, double const wmean, double const wsd)
 C++ version of gsl_stats_wkurtosis_m_sd(). More...
 
template<typename T , typename U >
double correlation (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_correlation(). More...
 
template<typename T , typename U >
double correlation (T const &data1, U const &data2)
 C++ version of gsl_stats_correlation(). More...
 
template<typename T >
double variance_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_variance_m(). More...
 
template<typename T >
double variance_m (T const &data, double const mean)
 C++ version of gsl_stats_variance_m(). More...
 
template<typename T >
double sd_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_sd_m(). More...
 
template<typename T >
double sd_m (T const &data, double const mean)
 C++ version of gsl_stats_sd_m(). More...
 
template<typename T >
double absdev_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_absdev_m(). More...
 
template<typename T >
double absdev_m (T const &data, double const mean)
 C++ version of gsl_stats_absdev_m(). More...
 
template<typename T >
double skew_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_skew_m_sd(). More...
 
template<typename T >
double skew_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_skew_m_sd(). More...
 
template<typename T >
double kurtosis_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_kurtosis_m_sd(). More...
 
template<typename T >
double kurtosis_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_kurtosis_m_sd(). More...
 
template<typename T >
double lag1_autocorrelation_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_lag1_autocorrelation_m(). More...
 
template<typename T >
double lag1_autocorrelation_m (T const &data, double const mean)
 C++ version of gsl_stats_lag1_autocorrelation_m(). More...
 
template<typename T , typename U >
double covariance_m (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double const mean1, double const mean2)
 C++ version of gsl_stats_covariance_m(). More...
 
template<typename T >
double covariance_m (T const &data1, T const &data2, double const mean1, double const mean2)
 C++ version of gsl_stats_covariance_m(). More...
 
template<typename T , typename U >
double pvariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_pvariance(). More...
 
template<typename T , typename U >
double ttest (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_ttest(). More...
 
template<typename T >
double max (T const &data, size_t const stride=1)
 C++ version of gsl_stats_max(). More...
 
template<typename T >
double min (T const &data, size_t const stride=1)
 C++ version of gsl_stats_min(). More...
 
template<typename T >
void minmax (double &min, double &max, T const &data, size_t const stride=1)
 C++ version of gsl_stats_minmax(). More...
 
template<typename T >
size_t max_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_max_index(). More...
 
template<typename T >
size_t min_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_min_index(). More...
 
template<typename T >
void minmax_index (size_t &min_index, size_t &max_index, T const &data, size_t const stride=1)
 C++ version of gsl_stats_minmax_index(). More...
 
template<typename T >
double median_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_median_from_sorted_data(). More...
 
template<typename T >
double quantile_from_sorted_data (T const &sorted_data, size_t const stride, double const f)
 C++ version of gsl_stats_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double pvariance (T const &data1, U const &data2)
 C++ version of gsl_stats_pvariance(). More...
 
template<typename T , typename U >
double ttest (T const &data1, U const &data2)
 C++ version of gsl_stats_ttest(). More...
 
template<typename T >
double quantile_from_sorted_data (T const &sorted_data, double const f)
 C++ version of gsl_stats_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double spearman (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double work[])
 C++ version of gsl_stats_spearman(). More...
 
template<typename T , typename U >
double spearman (T const &data1, U const &data2, double work[])
 C++ version of gsl_stats_spearman(). More...
 
template<typename T >
double median (T &data, size_t const stride=1)
 C++ version of gsl_stats_double_median(). More...
 
template<typename T >
double trmean_from_sorted_data (double const trim, T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_double_trmean_from_sorted_data(). More...
 
template<typename T >
double gastwirth_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_gastwirth_from_sorted_data(). More...
 
template<typename T , typename U >
double mad0 (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_mad0(). More...
 
template<typename T , typename U >
double mad (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_mad(). More...
 
template<typename T , typename U >
double Sn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double Sn_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double Qn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double Qn_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_Qn_from_sorted_data(). More...
 
template<typename T , typename U >
double mad0 (T const &data, U &work)
 C++ version of gsl_stats_mad0(). More...
 
template<typename T , typename U >
double mad (T const &data, U &work)
 C++ version of gsl_stats_mad(). More...
 
template<typename T , typename U >
double Sn0_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double Sn_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double Qn0_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double Qn_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_Qn_from_sorted_data(). More...
 
template<typename T >
double float_mean (T const &data, size_t const stride=1)
 C++ version of gsl_stats_float_mean(). More...
 
template<typename T >
double float_variance (T const &data, size_t const stride=1)
 C++ version of gsl_stats_float_variance(). More...
 
template<typename T >
double float_sd (T const &data, size_t const stride=1)
 C++ version of gsl_stats_float_sd(). More...
 
template<typename T >
double float_variance_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_float_variance_with_fixed_mean(). More...
 
template<typename T >
double float_variance_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_float_variance_with_fixed_mean(). More...
 
template<typename T >
double float_sd_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_float_sd_with_fixed_mean(). More...
 
template<typename T >
double float_sd_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_float_sd_with_fixed_mean(). More...
 
template<typename T >
double float_tss (T const &data, size_t const stride=1)
 C++ version of gsl_stats_float_tss(). More...
 
template<typename T >
double float_tss_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_float_tss_m(). More...
 
template<typename T >
double float_tss_m (T const &data, double const mean)
 C++ version of gsl_stats_float_tss_m(). More...
 
template<typename T >
double float_absdev (T const &data, size_t const stride=1)
 C++ version of gsl_stats_float_absdev(). More...
 
template<typename T >
double float_skew (T const &data, size_t const stride=1)
 C++ version of gsl_stats_float_skew(). More...
 
template<typename T >
double float_kurtosis (T const &data, size_t const stride=1)
 C++ version of gsl_stats_float_kurtosis(). More...
 
template<typename T >
double float_lag1_autocorrelation (T const &data, size_t const stride=1)
 C++ version of gsl_stats_float_lag1_autocorrelation(). More...
 
template<typename T , typename U >
double float_covariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_float_covariance(). More...
 
template<typename T , typename U >
double float_covariance (T const &data1, U const &data2)
 C++ version of gsl_stats_float_covariance(). More...
 
template<typename U , typename T >
double float_wmean (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_float_wmean(). More...
 
template<typename U , typename T >
double float_wvariance (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_float_wvariance(). More...
 
template<typename U , typename T >
double float_wsd (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_float_wsd(). More...
 
template<typename U , typename T >
double float_wvariance_with_fixed_mean (U const &w, size_t const wstride, T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_float_wvariance_with_fixed_mean(). More...
 
template<typename U , typename T >
double float_wsd_with_fixed_mean (U const &w, size_t const wstride, T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_float_wsd_with_fixed_mean(). More...
 
template<typename U , typename T >
double float_wtss (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_float_wtss(). More...
 
template<typename U , typename T >
double float_wtss_m (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean)
 C++ version of gsl_stats_float_wtss_m(). More...
 
template<typename U , typename T >
double float_wabsdev (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_float_wabsdev(). More...
 
template<typename U , typename T >
double float_wskew (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_float_wskew(). More...
 
template<typename U , typename T >
double float_wkurtosis (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_float_wkurtosis(). More...
 
template<typename U , typename T >
double float_wvariance_m (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean)
 C++ version of gsl_stats_float_wvariance_m(). More...
 
template<typename U , typename T >
double float_wsd_m (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean)
 C++ version of gsl_stats_float_wsd_m(). More...
 
template<typename U , typename T >
double float_wabsdev_m (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean)
 C++ version of gsl_stats_float_wabsdev_m(). More...
 
template<typename U , typename T >
double float_wskew_m_sd (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean, double const wsd)
 C++ version of gsl_stats_float_wskew_m_sd(). More...
 
template<typename U , typename T >
double float_wkurtosis_m_sd (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean, double const wsd)
 C++ version of gsl_stats_float_wkurtosis_m_sd(). More...
 
template<typename U , typename T >
double float_wmean (U const &w, T const &data)
 C++ version of gsl_stats_float_wmean(). More...
 
template<typename U , typename T >
double float_wvariance (U const &w, T const &data)
 C++ version of gsl_stats_float_wvariance(). More...
 
template<typename U , typename T >
double float_wsd (U const &w, T const &data)
 C++ version of gsl_stats_float_wsd(). More...
 
template<typename U , typename T >
double float_wvariance_with_fixed_mean (U const &w, T const &data, double const mean)
 C++ version of gsl_stats_float_wvariance_with_fixed_mean(). More...
 
template<typename U , typename T >
double float_wsd_with_fixed_mean (U const &w, T const &data, double const mean)
 C++ version of gsl_stats_wsd_with_fixed_mean(). More...
 
template<typename U , typename T >
double float_wtss (U const &w, T const &data)
 C++ version of gsl_stats_float_wtss(). More...
 
template<typename U , typename T >
double float_wtss_m (U const &w, T const &data, double const wmean)
 C++ version of gsl_stats_float_wtss_m(). More...
 
template<typename U , typename T >
double float_wabsdev (U const &w, T const &data)
 C++ version of gsl_stats_float_wabsdev(). More...
 
template<typename U , typename T >
double float_wskew (U const &w, T const &data)
 C++ version of gsl_stats_float_wskew(). More...
 
template<typename U , typename T >
double float_wkurtosis (U const &w, T const &data)
 C++ version of gsl_stats_float_wkurtosis(). More...
 
template<typename U , typename T >
double float_wvariance_m (U const &w, T const &data, double const wmean)
 C++ version of gsl_stats_float_wvariance_m(). More...
 
template<typename U , typename T >
double float_wsd_m (U const &w, T const &data, double const wmean)
 C++ version of gsl_stats_float_wsd_m(). More...
 
template<typename U , typename T >
double float_wabsdev_m (U const &w, T const &data, double const wmean)
 C++ version of gsl_stats_float_wabsdev_m(). More...
 
template<typename U , typename T >
double float_wskew_m_sd (U const &w, T const &data, double const wmean, double const wsd)
 C++ version of gsl_stats_float_wskew_m_sd(). More...
 
template<typename U , typename T >
double float_wkurtosis_m_sd (U const &w, T const &data, double const wmean, double const wsd)
 C++ version of gsl_stats_float_wkurtosis_m_sd(). More...
 
template<typename T , typename U >
double float_correlation (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_float_correlation(). More...
 
template<typename T , typename U >
double float_correlation (T const &data1, U const &data2)
 C++ version of gsl_stats_float_correlation(). More...
 
template<typename T >
double float_variance_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_float_variance_m(). More...
 
template<typename T >
double float_variance_m (T const &data, double const mean)
 C++ version of gsl_stats_float_variance_m(). More...
 
template<typename T >
double float_sd_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_float_sd_m(). More...
 
template<typename T >
double float_sd_m (T const &data, double const mean)
 C++ version of gsl_stats_float_sd_m(). More...
 
template<typename T >
double float_absdev_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_float_absdev_m(). More...
 
template<typename T >
double float_absdev_m (T const &data, double const mean)
 C++ version of gsl_stats_float_absdev_m(). More...
 
template<typename T >
double float_skew_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_float_skew_m_sd(). More...
 
template<typename T >
double float_skew_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_float_skew_m_sd(). More...
 
template<typename T >
double float_kurtosis_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_float_kurtosis_m_sd(). More...
 
template<typename T >
double float_kurtosis_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_float_kurtosis_m_sd(). More...
 
template<typename T >
double float_lag1_autocorrelation_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_float_lag1_autocorrelation_m(). More...
 
template<typename T >
double float_lag1_autocorrelation_m (T const &data, double const mean)
 C++ version of gsl_stats_float_lag1_autocorrelation_m(). More...
 
template<typename T , typename U >
double float_covariance_m (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double const mean1, double const mean2)
 C++ version of gsl_stats_float_covariance_m(). More...
 
template<typename T >
double float_covariance_m (T const &data1, T const &data2, double const mean1, double const mean2)
 C++ version of gsl_stats_float_covariance_m(). More...
 
template<typename T , typename U >
double float_pvariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_float_pvariance(). More...
 
template<typename T , typename U >
double float_ttest (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_float_ttest(). More...
 
template<typename T >
double float_max (T const &data, size_t const stride=1)
 C++ version of gsl_stats_float_max(). More...
 
template<typename T >
double float_min (T const &data, size_t const stride=1)
 C++ version of gsl_stats_float_min(). More...
 
template<typename T >
void float_minmax (float &min, float &max, T const &data, size_t const stride=1)
 C++ version of gsl_stats_float_minmax(). More...
 
template<typename T >
size_t float_max_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_float_max_index(). More...
 
template<typename T >
size_t float_min_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_float_min_index(). More...
 
template<typename T >
void float_minmax_index (size_t &min_index, size_t &max_index, T const &data, size_t const stride=1)
 C++ version of gsl_stats_float_minmax_index(). More...
 
template<typename T >
double float_median_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_float_median_from_sorted_data(). More...
 
template<typename T >
double float_quantile_from_sorted_data (T const &sorted_data, size_t const stride, double const f)
 C++ version of gsl_stats_float_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double float_pvariance (T const &data1, U const &data2)
 C++ version of gsl_stats_float_pvariance(). More...
 
template<typename T , typename U >
double float_ttest (T const &data1, U const &data2)
 C++ version of gsl_stats_float_ttest(). More...
 
template<typename T >
double float_quantile_from_sorted_data (T const &sorted_data, double const f)
 C++ version of gsl_stats_float_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double float_spearman (T const &data1, U const &data2, double work[])
 C++ version of gsl_stats_float_spearman(). More...
 
template<typename T >
double float_median (T &data, size_t const stride=1)
 C++ version of gsl_stats_double_float_median(). More...
 
template<typename T >
double float_trmean_from_sorted_data (double const trim, T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_double_float_trmean_from_sorted_data(). More...
 
template<typename T >
double float_gastwirth_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_float_gastwirth_from_sorted_data(). More...
 
template<typename T , typename U >
double float_mad0 (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_float_mad0(). More...
 
template<typename T , typename U >
double float_mad (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_float_mad(). More...
 
template<typename T , typename U >
double float_Sn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_float_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double float_Sn_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_float_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double float_Qn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_float_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double float_Qn_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_float_Qn_from_sorted_data(). More...
 
template<typename T , typename U >
double float_mad0 (T const &data, U &work)
 C++ version of gsl_stats_float_mad0(). More...
 
template<typename T , typename U >
double float_mad (T const &data, U &work)
 C++ version of gsl_stats_float_mad(). More...
 
template<typename T , typename U >
double float_Sn0_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_float_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double float_Sn_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_float_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double float_Qn0_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_float_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double float_Qn_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_float_Qn_from_sorted_data(). More...
 
template<typename T >
double int_mean (T const &data, size_t const stride=1)
 C++ version of gsl_stats_int_mean(). More...
 
template<typename T >
double int_variance (T const &data, size_t const stride=1)
 C++ version of gsl_stats_int_variance(). More...
 
template<typename T >
double int_sd (T const &data, size_t const stride=1)
 C++ version of gsl_stats_int_sd(). More...
 
template<typename T >
double int_variance_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_int_variance_with_fixed_mean(). More...
 
template<typename T >
double int_variance_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_int_variance_with_fixed_mean(). More...
 
template<typename T >
double int_sd_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_int_sd_with_fixed_mean(). More...
 
template<typename T >
double int_sd_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_int_sd_with_fixed_mean(). More...
 
template<typename T >
double int_tss (T const &data, size_t const stride=1)
 C++ version of gsl_stats_int_tss(). More...
 
template<typename T >
double int_tss_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_int_tss_m(). More...
 
template<typename T >
double int_tss_m (T const &data, double const mean)
 C++ version of gsl_stats_int_tss_m(). More...
 
template<typename T >
double int_absdev (T const &data, size_t const stride=1)
 C++ version of gsl_stats_int_absdev(). More...
 
template<typename T >
double int_skew (T const &data, size_t const stride=1)
 C++ version of gsl_stats_int_skew(). More...
 
template<typename T >
double int_kurtosis (T const &data, size_t const stride=1)
 C++ version of gsl_stats_int_kurtosis(). More...
 
template<typename T >
double int_lag1_autocorrelation (T const &data, size_t const stride=1)
 C++ version of gsl_stats_int_lag1_autocorrelation(). More...
 
template<typename T , typename U >
double int_covariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_int_covariance(). More...
 
template<typename T , typename U >
double int_covariance (T const &data1, U const &data2)
 C++ version of gsl_stats_int_covariance(). More...
 
template<typename T , typename U >
double int_correlation (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_int_correlation(). More...
 
template<typename T , typename U >
double int_correlation (T const &data1, U const &data2)
 C++ version of gsl_stats_int_correlation(). More...
 
template<typename T >
double int_variance_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_int_variance_m(). More...
 
template<typename T >
double int_variance_m (T const &data, double const mean)
 C++ version of gsl_stats_int_variance_m(). More...
 
template<typename T >
double int_sd_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_int_sd_m(). More...
 
template<typename T >
double int_sd_m (T const &data, double const mean)
 C++ version of gsl_stats_int_sd_m(). More...
 
template<typename T >
double int_absdev_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_int_absdev_m(). More...
 
template<typename T >
double int_absdev_m (T const &data, double const mean)
 C++ version of gsl_stats_int_absdev_m(). More...
 
template<typename T >
double int_skew_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_int_skew_m_sd(). More...
 
template<typename T >
double int_skew_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_int_skew_m_sd(). More...
 
template<typename T >
double int_kurtosis_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_int_kurtosis_m_sd(). More...
 
template<typename T >
double int_kurtosis_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_int_kurtosis_m_sd(). More...
 
template<typename T >
double int_lag1_autocorrelation_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_int_lag1_autocorrelation_m(). More...
 
template<typename T >
double int_lag1_autocorrelation_m (T const &data, double const mean)
 C++ version of gsl_stats_int_lag1_autocorrelation_m(). More...
 
template<typename T , typename U >
double int_covariance_m (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double const mean1, double const mean2)
 C++ version of gsl_stats_int_covariance_m(). More...
 
template<typename T >
double int_covariance_m (T const &data1, T const &data2, double const mean1, double const mean2)
 C++ version of gsl_stats_int_covariance_m(). More...
 
template<typename T , typename U >
double int_pvariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_int_pvariance(). More...
 
template<typename T , typename U >
double int_ttest (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_int_ttest(). More...
 
template<typename T >
double int_max (T const &data, size_t const stride=1)
 C++ version of gsl_stats_int_max(). More...
 
template<typename T >
double int_min (T const &data, size_t const stride=1)
 C++ version of gsl_stats_int_min(). More...
 
template<typename T >
void int_minmax (int &min, int &max, T const &data, size_t const stride=1)
 C++ version of gsl_stats_int_minmax(). More...
 
template<typename T >
size_t int_max_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_int_max_index(). More...
 
template<typename T >
size_t int_min_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_int_min_index(). More...
 
template<typename T >
void int_minmax_index (size_t &min_index, size_t &max_index, T const &data, size_t const stride=1)
 C++ version of gsl_stats_int_minmax_index(). More...
 
template<typename T >
double int_median_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_int_median_from_sorted_data(). More...
 
template<typename T >
double int_quantile_from_sorted_data (T const &sorted_data, size_t const stride, double const f)
 C++ version of gsl_stats_int_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double int_pvariance (T const &data1, U const &data2)
 C++ version of gsl_stats_int_pvariance(). More...
 
template<typename T , typename U >
double int_ttest (T const &data1, U const &data2)
 C++ version of gsl_stats_int_ttest(). More...
 
template<typename T >
double int_quantile_from_sorted_data (T const &sorted_data, double const f)
 C++ version of gsl_stats_int_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double int_spearman (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double work[])
 C++ version of gsl_stats_int_spearman(). More...
 
template<typename T , typename U >
double int_spearman (T const &data1, U const &data2, double work[])
 C++ version of gsl_stats_int_spearman(). More...
 
template<typename T >
double int_median (T &data, size_t const stride=1)
 C++ version of gsl_stats_int_median(). More...
 
template<typename T >
double int_trmean_from_sorted_data (double const trim, T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_int_trmean_from_sorted_data(). More...
 
template<typename T >
double int_gastwirth_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_int_gastwirth_from_sorted_data(). More...
 
template<typename T , typename U >
double int_mad0 (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_int_mad0(). More...
 
template<typename T , typename U >
double int_mad (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_int_mad(). More...
 
template<typename T , typename U >
double int_Sn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_int_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double int_Sn_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_int_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
int int_Qn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_int_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
int int_Qn_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_int_Qn_from_sorted_data(). More...
 
template<typename T , typename U >
double int_mad0 (T const &data, U &work)
 C++ version of gsl_stats_int_mad0(). More...
 
template<typename T , typename U >
double int_mad (T const &data, U &work)
 C++ version of gsl_stats_int_mad(). More...
 
template<typename T , typename U >
double int_Sn0_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_int_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double int_Sn_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_int_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double int_Qn0_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_int_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double int_Qn_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_int_Qn_from_sorted_data(). More...
 
template<typename T >
double long_mean (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_mean(). More...
 
template<typename T >
double long_variance (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_variance(). More...
 
template<typename T >
double long_sd (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_sd(). More...
 
template<typename T >
double long_variance_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_long_variance_with_fixed_mean(). More...
 
template<typename T >
double long_variance_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_long_variance_with_fixed_mean(). More...
 
template<typename T >
double long_sd_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_long_sd_with_fixed_mean(). More...
 
template<typename T >
double long_sd_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_long_sd_with_fixed_mean(). More...
 
template<typename T >
double long_tss (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_tss(). More...
 
template<typename T >
double long_tss_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_long_tss_m(). More...
 
template<typename T >
double long_tss_m (T const &data, double const mean)
 C++ version of gsl_stats_long_tss_m(). More...
 
template<typename T >
double long_absdev (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_absdev(). More...
 
template<typename T >
double long_skew (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_skew(). More...
 
template<typename T >
double long_kurtosis (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_kurtosis(). More...
 
template<typename T >
double long_lag1_autocorrelation (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_lag1_autocorrelation(). More...
 
template<typename T , typename U >
double long_covariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_long_covariance(). More...
 
template<typename T , typename U >
double long_covariance (T const &data1, U const &data2)
 C++ version of gsl_stats_long_covariance(). More...
 
template<typename T , typename U >
double long_correlation (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_long_correlation(). More...
 
template<typename T , typename U >
double long_correlation (T const &data1, U const &data2)
 C++ version of gsl_stats_long_correlation(). More...
 
template<typename T >
double long_variance_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_long_variance_m(). More...
 
template<typename T >
double long_variance_m (T const &data, double const mean)
 C++ version of gsl_stats_long_variance_m(). More...
 
template<typename T >
double long_sd_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_long_sd_m(). More...
 
template<typename T >
double long_sd_m (T const &data, double const mean)
 C++ version of gsl_stats_long_sd_m(). More...
 
template<typename T >
double long_absdev_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_long_absdev_m(). More...
 
template<typename T >
double long_absdev_m (T const &data, double const mean)
 C++ version of gsl_stats_long_absdev_m(). More...
 
template<typename T >
double long_skew_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_long_skew_m_sd(). More...
 
template<typename T >
double long_skew_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_long_skew_m_sd(). More...
 
template<typename T >
double long_kurtosis_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_long_kurtosis_m_sd(). More...
 
template<typename T >
double long_kurtosis_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_long_kurtosis_m_sd(). More...
 
template<typename T >
double long_lag1_autocorrelation_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_long_lag1_autocorrelation_m(). More...
 
template<typename T >
double long_lag1_autocorrelation_m (T const &data, double const mean)
 C++ version of gsl_stats_long_lag1_autocorrelation_m(). More...
 
template<typename T , typename U >
double long_covariance_m (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double const mean1, double const mean2)
 C++ version of gsl_stats_long_covariance_m(). More...
 
template<typename T >
double long_covariance_m (T const &data1, T const &data2, double const mean1, double const mean2)
 C++ version of gsl_stats_long_covariance_m(). More...
 
template<typename T , typename U >
double long_pvariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_long_pvariance(). More...
 
template<typename T , typename U >
double long_ttest (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_long_ttest(). More...
 
template<typename T >
double long_max (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_max(). More...
 
template<typename T >
double long_min (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_min(). More...
 
template<typename T >
void long_minmax (long &min, long &max, T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_minmax(). More...
 
template<typename T >
size_t long_max_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_max_index(). More...
 
template<typename T >
size_t long_min_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_min_index(). More...
 
template<typename T >
void long_minmax_index (size_t &min_index, size_t &max_index, T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_minmax_index(). More...
 
template<typename T >
double long_median_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_long_median_from_sorted_data(). More...
 
template<typename T >
double long_quantile_from_sorted_data (T const &sorted_data, size_t const stride, double const f)
 C++ version of gsl_stats_long_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double long_pvariance (T const &data1, U const &data2)
 C++ version of gsl_stats_long_pvariance(). More...
 
template<typename T , typename U >
double long_ttest (T const &data1, U const &data2)
 C++ version of gsl_stats_long_ttest(). More...
 
template<typename T >
double long_quantile_from_sorted_data (T const &sorted_data, double const f)
 C++ version of gsl_stats_long_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double long_spearman (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double work[])
 C++ version of gsl_stats_long_spearman(). More...
 
template<typename T , typename U >
double long_spearman (T const &data1, U const &data2, double work[])
 C++ version of gsl_stats_long_spearman(). More...
 
template<typename T >
double long_median (T &data, size_t const stride=1)
 C++ version of gsl_stats_long_median(). More...
 
template<typename T >
double long_trmean_from_sorted_data (double const trim, T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_long_trmean_from_sorted_data(). More...
 
template<typename T >
double long_gastwirth_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_long_gastwirth_from_sorted_data(). More...
 
template<typename T , typename U >
double long_mad0 (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_long_mad0(). More...
 
template<typename T , typename U >
double long_mad (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_long_mad(). More...
 
template<typename T , typename U >
double long_Sn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_long_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double long_Sn_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_long_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
long long_Qn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_long_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
long long_Qn_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_long_Qn_from_sorted_data(). More...
 
template<typename T , typename U >
double long_mad0 (T const &data, U &work)
 C++ version of gsl_stats_long_mad0(). More...
 
template<typename T , typename U >
double long_mad (T const &data, U &work)
 C++ version of gsl_stats_long_mad(). More...
 
template<typename T , typename U >
double long_Sn0_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_long_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double long_Sn_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_long_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double long_Qn0_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_long_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double long_Qn_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_long_Qn_from_sorted_data(). More...
 
template<typename T >
double long_double_mean (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_double_mean(). More...
 
template<typename T >
double long_double_variance (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_double_variance(). More...
 
template<typename T >
double long_double_sd (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_double_sd(). More...
 
template<typename T >
double long_double_variance_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_long_double_variance_with_fixed_mean(). More...
 
template<typename T >
double long_double_variance_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_long_double_variance_with_fixed_mean(). More...
 
template<typename T >
double long_double_sd_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_long_double_sd_with_fixed_mean(). More...
 
template<typename T >
double long_double_sd_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_long_double_sd_with_fixed_mean(). More...
 
template<typename T >
double long_double_tss (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_double_tss(). More...
 
template<typename T >
double long_double_tss_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_long_double_tss_m(). More...
 
template<typename T >
double long_double_tss_m (T const &data, double const mean)
 C++ version of gsl_stats_long_double_tss_m(). More...
 
template<typename T >
double long_double_absdev (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_double_absdev(). More...
 
template<typename T >
double long_double_skew (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_double_skew(). More...
 
template<typename T >
double long_double_kurtosis (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_double_kurtosis(). More...
 
template<typename T >
double long_double_lag1_autocorrelation (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_double_lag1_autocorrelation(). More...
 
template<typename T , typename U >
double long_double_covariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_long_double_covariance(). More...
 
template<typename T , typename U >
double long_double_covariance (T const &data1, U const &data2)
 C++ version of gsl_stats_long_double_covariance(). More...
 
template<typename U , typename T >
double long_double_wmean (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_long_double_wmean(). More...
 
template<typename U , typename T >
double long_double_wvariance (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_long_double_wvariance(). More...
 
template<typename U , typename T >
double long_double_wsd (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_long_double_wsd(). More...
 
template<typename U , typename T >
double long_double_wvariance_with_fixed_mean (U const &w, size_t const wstride, T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_long_double_wvariance_with_fixed_mean(). More...
 
template<typename U , typename T >
double long_double_wsd_with_fixed_mean (U const &w, size_t const wstride, T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_long_double_wsd_with_fixed_mean(). More...
 
template<typename U , typename T >
double long_double_wtss (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_long_double_wtss(). More...
 
template<typename U , typename T >
double long_double_wtss_m (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean)
 C++ version of gsl_stats_long_double_wtss_m(). More...
 
template<typename U , typename T >
double long_double_wabsdev (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_long_double_wabsdev(). More...
 
template<typename U , typename T >
double long_double_wskew (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_long_double_wskew(). More...
 
template<typename U , typename T >
double long_double_wkurtosis (U const &w, size_t const wstride, T const &data, size_t const stride)
 C++ version of gsl_stats_long_double_wkurtosis(). More...
 
template<typename U , typename T >
double long_double_wvariance_m (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean)
 C++ version of gsl_stats_long_double_wvariance_m(). More...
 
template<typename U , typename T >
double long_double_wsd_m (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean)
 C++ version of gsl_stats_long_double_wsd_m(). More...
 
template<typename U , typename T >
double long_double_wabsdev_m (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean)
 C++ version of gsl_stats_long_double_wabsdev_m(). More...
 
template<typename U , typename T >
double long_double_wskew_m_sd (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean, double const wsd)
 C++ version of gsl_stats_long_double_wskew_m_sd(). More...
 
template<typename U , typename T >
double long_double_wkurtosis_m_sd (U const &w, size_t const wstride, T const &data, size_t const stride, double const wmean, double const wsd)
 C++ version of gsl_stats_long_double_wkurtosis_m_sd(). More...
 
template<typename U , typename T >
double long_double_wmean (U const &w, T const &data)
 C++ version of gsl_stats_long_double_wmean(). More...
 
template<typename U , typename T >
double long_double_wvariance (U const &w, T const &data)
 C++ version of gsl_stats_long_double_wvariance(). More...
 
template<typename U , typename T >
double long_double_wsd (U const &w, T const &data)
 C++ version of gsl_stats_long_double_wsd(). More...
 
template<typename U , typename T >
double long_double_wvariance_with_fixed_mean (U const &w, T const &data, double const mean)
 C++ version of gsl_stats_long_double_wvariance_with_fixed_mean(). More...
 
template<typename U , typename T >
double long_double_wsd_with_fixed_mean (U const &w, T const &data, double const mean)
 C++ version of gsl_stats_wsd_with_fixed_mean(). More...
 
template<typename U , typename T >
double long_double_wtss (U const &w, T const &data)
 C++ version of gsl_stats_long_double_wtss(). More...
 
template<typename U , typename T >
double long_double_wtss_m (U const &w, T const &data, double const wmean)
 C++ version of gsl_stats_long_double_wtss_m(). More...
 
template<typename U , typename T >
double long_double_wabsdev (U const &w, T const &data)
 C++ version of gsl_stats_long_double_wabsdev(). More...
 
template<typename U , typename T >
double long_double_wskew (U const &w, T const &data)
 C++ version of gsl_stats_long_double_wskew(). More...
 
template<typename U , typename T >
double long_double_wkurtosis (U const &w, T const &data)
 C++ version of gsl_stats_long_double_wkurtosis(). More...
 
template<typename U , typename T >
double long_double_wvariance_m (U const &w, T const &data, double const wmean)
 C++ version of gsl_stats_long_double_wvariance_m(). More...
 
template<typename U , typename T >
double long_double_wsd_m (U const &w, T const &data, double const wmean)
 C++ version of gsl_stats_long_double_wsd_m(). More...
 
template<typename U , typename T >
double long_double_wabsdev_m (U const &w, T const &data, double const wmean)
 C++ version of gsl_stats_long_double_wabsdev_m(). More...
 
template<typename U , typename T >
double long_double_wskew_m_sd (U const &w, T const &data, double const wmean, double const wsd)
 C++ version of gsl_stats_long_double_wskew_m_sd(). More...
 
template<typename U , typename T >
double long_double_wkurtosis_m_sd (U const &w, T const &data, double const wmean, double const wsd)
 C++ version of gsl_stats_long_double_wkurtosis_m_sd(). More...
 
template<typename T , typename U >
double long_double_correlation (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_long_double_correlation(). More...
 
template<typename T , typename U >
double long_double_correlation (T const &data1, U const &data2)
 C++ version of gsl_stats_long_double_correlation(). More...
 
template<typename T >
double long_double_variance_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_long_double_variance_m(). More...
 
template<typename T >
double long_double_variance_m (T const &data, double const mean)
 C++ version of gsl_stats_long_double_variance_m(). More...
 
template<typename T >
double long_double_sd_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_long_double_sd_m(). More...
 
template<typename T >
double long_double_sd_m (T const &data, double const mean)
 C++ version of gsl_stats_long_double_sd_m(). More...
 
template<typename T >
double long_double_absdev_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_long_double_absdev_m(). More...
 
template<typename T >
double long_double_absdev_m (T const &data, double const mean)
 C++ version of gsl_stats_long_double_absdev_m(). More...
 
template<typename T >
double long_double_skew_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_long_double_skew_m_sd(). More...
 
template<typename T >
double long_double_skew_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_long_double_skew_m_sd(). More...
 
template<typename T >
double long_double_kurtosis_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_long_double_kurtosis_m_sd(). More...
 
template<typename T >
double long_double_kurtosis_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_long_double_kurtosis_m_sd(). More...
 
template<typename T >
double long_double_lag1_autocorrelation_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_long_double_lag1_autocorrelation_m(). More...
 
template<typename T >
double long_double_lag1_autocorrelation_m (T const &data, double const mean)
 C++ version of gsl_stats_long_double_lag1_autocorrelation_m(). More...
 
template<typename T , typename U >
double long_double_covariance_m (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double const mean1, double const mean2)
 C++ version of gsl_stats_long_double_covariance_m(). More...
 
template<typename T >
double long_double_covariance_m (T const &data1, T const &data2, double const mean1, double const mean2)
 C++ version of gsl_stats_long_double_covariance_m(). More...
 
template<typename T , typename U >
double long_double_pvariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_long_double_pvariance(). More...
 
template<typename T , typename U >
double long_double_ttest (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_long_double_ttest(). More...
 
template<typename T >
double long_double_max (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_double_max(). More...
 
template<typename T >
double long_double_min (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_double_min(). More...
 
template<typename T >
void long_double_minmax (long double &min, long double &max, T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_double_minmax(). More...
 
template<typename T >
size_t long_double_max_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_double_max_index(). More...
 
template<typename T >
size_t long_double_min_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_double_min_index(). More...
 
template<typename T >
void long_double_minmax_index (size_t &min_index, size_t &max_index, T const &data, size_t const stride=1)
 C++ version of gsl_stats_long_double_minmax_index(). More...
 
template<typename T >
double long_double_median_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_long_double_median_from_sorted_data(). More...
 
template<typename T >
double long_double_quantile_from_sorted_data (T const &sorted_data, size_t const stride, double const f)
 C++ version of gsl_stats_long_double_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double long_double_pvariance (T const &data1, U const &data2)
 C++ version of gsl_stats_long_double_pvariance(). More...
 
template<typename T , typename U >
double long_double_ttest (T const &data1, U const &data2)
 C++ version of gsl_stats_long_double_ttest(). More...
 
template<typename T >
double long_double_quantile_from_sorted_data (T const &sorted_data, double const f)
 C++ version of gsl_stats_long_double_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double long_double_spearman (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double work[])
 C++ version of gsl_stats_long_double_spearman(). More...
 
template<typename T , typename U >
double long_double_spearman (T const &data1, U const &data2, double work[])
 C++ version of gsl_stats_long_double_spearman(). More...
 
template<typename T >
double long_double_median (T &data, size_t const stride=1)
 C++ version of gsl_stats_double_long_double_median(). More...
 
template<typename T >
double long_double_trmean_from_sorted_data (double const trim, T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_double_long_double_trmean_from_sorted_data(). More...
 
template<typename T >
double long_double_gastwirth_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_long_double_gastwirth_from_sorted_data(). More...
 
template<typename T , typename U >
double long_double_mad0 (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_long_double_mad0(). More...
 
template<typename T , typename U >
double long_double_mad (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_long_double_mad(). More...
 
template<typename T , typename U >
double long_double_Sn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_long_double_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double long_double_Sn_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_long_double_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double long_double_Qn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_long_double_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double long_double_Qn_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_long_double_Qn_from_sorted_data(). More...
 
template<typename T , typename U >
double long_double_mad0 (T const &data, U &work)
 C++ version of gsl_stats_long_double_mad0(). More...
 
template<typename T , typename U >
double long_double_mad (T const &data, U &work)
 C++ version of gsl_stats_long_double_mad(). More...
 
template<typename T , typename U >
double long_double_Sn0_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_long_double_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double long_double_Sn_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_long_double_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double long_double_Qn0_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_long_double_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double long_double_Qn_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_long_double_Qn_from_sorted_data(). More...
 
template<typename T >
double short_mean (T const &data, size_t const stride=1)
 C++ version of gsl_stats_short_mean(). More...
 
template<typename T >
double short_variance (T const &data, size_t const stride=1)
 C++ version of gsl_stats_short_variance(). More...
 
template<typename T >
double short_sd (T const &data, size_t const stride=1)
 C++ version of gsl_stats_short_sd(). More...
 
template<typename T >
double short_variance_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_short_variance_with_fixed_mean(). More...
 
template<typename T >
double short_variance_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_short_variance_with_fixed_mean(). More...
 
template<typename T >
double short_sd_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_short_sd_with_fixed_mean(). More...
 
template<typename T >
double short_sd_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_short_sd_with_fixed_mean(). More...
 
template<typename T >
double short_tss (T const &data, size_t const stride=1)
 C++ version of gsl_stats_short_tss(). More...
 
template<typename T >
double short_tss_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_short_tss_m(). More...
 
template<typename T >
double short_tss_m (T const &data, double const mean)
 C++ version of gsl_stats_short_tss_m(). More...
 
template<typename T >
double short_absdev (T const &data, size_t const stride=1)
 C++ version of gsl_stats_short_absdev(). More...
 
template<typename T >
double short_skew (T const &data, size_t const stride=1)
 C++ version of gsl_stats_short_skew(). More...
 
template<typename T >
double short_kurtosis (T const &data, size_t const stride=1)
 C++ version of gsl_stats_short_kurtosis(). More...
 
template<typename T >
double short_lag1_autocorrelation (T const &data, size_t const stride=1)
 C++ version of gsl_stats_short_lag1_autocorrelation(). More...
 
template<typename T , typename U >
double short_covariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_short_covariance(). More...
 
template<typename T , typename U >
double short_covariance (T const &data1, U const &data2)
 C++ version of gsl_stats_short_covariance(). More...
 
template<typename T , typename U >
double short_correlation (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_short_correlation(). More...
 
template<typename T , typename U >
double short_correlation (T const &data1, U const &data2)
 C++ version of gsl_stats_short_correlation(). More...
 
template<typename T >
double short_variance_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_short_variance_m(). More...
 
template<typename T >
double short_variance_m (T const &data, double const mean)
 C++ version of gsl_stats_short_variance_m(). More...
 
template<typename T >
double short_sd_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_short_sd_m(). More...
 
template<typename T >
double short_sd_m (T const &data, double const mean)
 C++ version of gsl_stats_short_sd_m(). More...
 
template<typename T >
double short_absdev_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_short_absdev_m(). More...
 
template<typename T >
double short_absdev_m (T const &data, double const mean)
 C++ version of gsl_stats_short_absdev_m(). More...
 
template<typename T >
double short_skew_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_short_skew_m_sd(). More...
 
template<typename T >
double short_skew_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_short_skew_m_sd(). More...
 
template<typename T >
double short_kurtosis_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_short_kurtosis_m_sd(). More...
 
template<typename T >
double short_kurtosis_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_short_kurtosis_m_sd(). More...
 
template<typename T >
double short_lag1_autocorrelation_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_short_lag1_autocorrelation_m(). More...
 
template<typename T >
double short_lag1_autocorrelation_m (T const &data, double const mean)
 C++ version of gsl_stats_short_lag1_autocorrelation_m(). More...
 
template<typename T , typename U >
double short_covariance_m (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double const mean1, double const mean2)
 C++ version of gsl_stats_short_covariance_m(). More...
 
template<typename T >
double short_covariance_m (T const &data1, T const &data2, double const mean1, double const mean2)
 C++ version of gsl_stats_short_covariance_m(). More...
 
template<typename T , typename U >
double short_pvariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_short_pvariance(). More...
 
template<typename T , typename U >
double short_ttest (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_short_ttest(). More...
 
template<typename T >
double short_max (T const &data, size_t const stride=1)
 C++ version of gsl_stats_short_max(). More...
 
template<typename T >
double short_min (T const &data, size_t const stride=1)
 C++ version of gsl_stats_short_min(). More...
 
template<typename T >
void short_minmax (short &min, short &max, T const &data, size_t const stride=1)
 C++ version of gsl_stats_short_minmax(). More...
 
template<typename T >
size_t short_max_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_short_max_index(). More...
 
template<typename T >
size_t short_min_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_short_min_index(). More...
 
template<typename T >
void short_minmax_index (size_t &min_index, size_t &max_index, T const &data, size_t const stride=1)
 C++ version of gsl_stats_short_minmax_index(). More...
 
template<typename T >
double short_median_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_short_median_from_sorted_data(). More...
 
template<typename T >
double short_quantile_from_sorted_data (T const &sorted_data, size_t const stride, double const f)
 C++ version of gsl_stats_short_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double short_pvariance (T const &data1, U const &data2)
 C++ version of gsl_stats_short_pvariance(). More...
 
template<typename T , typename U >
double short_ttest (T const &data1, U const &data2)
 C++ version of gsl_stats_short_ttest(). More...
 
template<typename T >
double short_quantile_from_sorted_data (T const &sorted_data, double const f)
 C++ version of gsl_stats_short_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double short_spearman (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double work[])
 C++ version of gsl_stats_short_spearman(). More...
 
template<typename T , typename U >
double short_spearman (T const &data1, U const &data2, double work[])
 C++ version of gsl_stats_short_spearman(). More...
 
template<typename T >
double short_median (T &data, size_t const stride=1)
 C++ version of gsl_stats_short_median(). More...
 
template<typename T >
double short_trmean_from_sorted_data (double const trim, T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_short_trmean_from_sorted_data(). More...
 
template<typename T >
double short_gastwirth_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_short_gastwirth_from_sorted_data(). More...
 
template<typename T , typename U >
double short_mad0 (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_short_mad0(). More...
 
template<typename T , typename U >
double short_mad (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_short_mad(). More...
 
template<typename T , typename U >
double short_Sn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_short_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double short_Sn_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_short_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
short short_Qn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_short_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
short short_Qn_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_short_Qn_from_sorted_data(). More...
 
template<typename T , typename U >
double short_mad0 (T const &data, U &work)
 C++ version of gsl_stats_short_mad0(). More...
 
template<typename T , typename U >
double short_mad (T const &data, U &work)
 C++ version of gsl_stats_short_mad(). More...
 
template<typename T , typename U >
double short_Sn0_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_short_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double short_Sn_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_short_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double short_Qn0_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_short_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double short_Qn_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_short_Qn_from_sorted_data(). More...
 
template<typename T >
double uchar_mean (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uchar_mean(). More...
 
template<typename T >
double uchar_variance (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uchar_variance(). More...
 
template<typename T >
double uchar_sd (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uchar_sd(). More...
 
template<typename T >
double uchar_variance_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_uchar_variance_with_fixed_mean(). More...
 
template<typename T >
double uchar_variance_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_uchar_variance_with_fixed_mean(). More...
 
template<typename T >
double uchar_sd_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_uchar_sd_with_fixed_mean(). More...
 
template<typename T >
double uchar_sd_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_uchar_sd_with_fixed_mean(). More...
 
template<typename T >
double uchar_tss (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uchar_tss(). More...
 
template<typename T >
double uchar_tss_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_uchar_tss_m(). More...
 
template<typename T >
double uchar_tss_m (T const &data, double const mean)
 C++ version of gsl_stats_uchar_tss_m(). More...
 
template<typename T >
double uchar_absdev (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uchar_absdev(). More...
 
template<typename T >
double uchar_skew (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uchar_skew(). More...
 
template<typename T >
double uchar_kurtosis (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uchar_kurtosis(). More...
 
template<typename T >
double uchar_lag1_autocorrelation (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uchar_lag1_autocorrelation(). More...
 
template<typename T , typename U >
double uchar_covariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_uchar_covariance(). More...
 
template<typename T , typename U >
double uchar_covariance (T const &data1, U const &data2)
 C++ version of gsl_stats_uchar_covariance(). More...
 
template<typename T , typename U >
double uchar_correlation (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_uchar_correlation(). More...
 
template<typename T , typename U >
double uchar_correlation (T const &data1, U const &data2)
 C++ version of gsl_stats_uchar_correlation(). More...
 
template<typename T >
double uchar_variance_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_uchar_variance_m(). More...
 
template<typename T >
double uchar_variance_m (T const &data, double const mean)
 C++ version of gsl_stats_uchar_variance_m(). More...
 
template<typename T >
double uchar_sd_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_uchar_sd_m(). More...
 
template<typename T >
double uchar_sd_m (T const &data, double const mean)
 C++ version of gsl_stats_uchar_sd_m(). More...
 
template<typename T >
double uchar_absdev_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_uchar_absdev_m(). More...
 
template<typename T >
double uchar_absdev_m (T const &data, double const mean)
 C++ version of gsl_stats_uchar_absdev_m(). More...
 
template<typename T >
double uchar_skew_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_uchar_skew_m_sd(). More...
 
template<typename T >
double uchar_skew_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_uchar_skew_m_sd(). More...
 
template<typename T >
double uchar_kurtosis_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_uchar_kurtosis_m_sd(). More...
 
template<typename T >
double uchar_kurtosis_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_uchar_kurtosis_m_sd(). More...
 
template<typename T >
double uchar_lag1_autocorrelation_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_uchar_lag1_autocorrelation_m(). More...
 
template<typename T >
double uchar_lag1_autocorrelation_m (T const &data, double const mean)
 C++ version of gsl_stats_uchar_lag1_autocorrelation_m(). More...
 
template<typename T , typename U >
double uchar_covariance_m (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double const mean1, double const mean2)
 C++ version of gsl_stats_uchar_covariance_m(). More...
 
template<typename T >
double uchar_covariance_m (T const &data1, T const &data2, double const mean1, double const mean2)
 C++ version of gsl_stats_uchar_covariance_m(). More...
 
template<typename T , typename U >
double uchar_pvariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_uchar_pvariance(). More...
 
template<typename T , typename U >
double uchar_ttest (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_uchar_ttest(). More...
 
template<typename T >
double uchar_max (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uchar_max(). More...
 
template<typename T >
double uchar_min (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uchar_min(). More...
 
template<typename T >
void uchar_minmax (unsigned char &min, unsigned char &max, T const &data, size_t const stride=1)
 C++ version of gsl_stats_uchar_minmax(). More...
 
template<typename T >
size_t uchar_max_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uchar_max_index(). More...
 
template<typename T >
size_t uchar_min_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uchar_min_index(). More...
 
template<typename T >
void uchar_minmax_index (size_t &min_index, size_t &max_index, T const &data, size_t const stride=1)
 C++ version of gsl_stats_uchar_minmax_index(). More...
 
template<typename T >
double uchar_median_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_uchar_median_from_sorted_data(). More...
 
template<typename T >
double uchar_quantile_from_sorted_data (T const &sorted_data, size_t const stride, double const f)
 C++ version of gsl_stats_uchar_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double uchar_pvariance (T const &data1, U const &data2)
 C++ version of gsl_stats_uchar_pvariance(). More...
 
template<typename T , typename U >
double uchar_ttest (T const &data1, U const &data2)
 C++ version of gsl_stats_uchar_ttest(). More...
 
template<typename T >
double uchar_quantile_from_sorted_data (T const &sorted_data, double const f)
 C++ version of gsl_stats_uchar_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double uchar_spearman (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double work[])
 C++ version of gsl_stats_uchar_spearman(). More...
 
template<typename T , typename U >
double uchar_spearman (T const &data1, U const &data2, double work[])
 C++ version of gsl_stats_uchar_spearman(). More...
 
template<typename T >
double uchar_median (T &data, size_t const stride=1)
 C++ version of gsl_stats_uchar_median(). More...
 
template<typename T >
double uchar_trmean_from_sorted_data (double const trim, T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_uchar_trmean_from_sorted_data(). More...
 
template<typename T >
double uchar_gastwirth_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_uchar_gastwirth_from_sorted_data(). More...
 
template<typename T , typename U >
double uchar_mad0 (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_uchar_mad0(). More...
 
template<typename T , typename U >
double uchar_mad (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_uchar_mad(). More...
 
template<typename T , typename U >
double uchar_Sn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_uchar_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double uchar_Sn_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_uchar_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
unsigned char uchar_Qn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_uchar_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
unsigned char uchar_Qn_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_uchar_Qn_from_sorted_data(). More...
 
template<typename T , typename U >
double uchar_mad0 (T const &data, U &work)
 C++ version of gsl_stats_uchar_mad0(). More...
 
template<typename T , typename U >
double uchar_mad (T const &data, U &work)
 C++ version of gsl_stats_uchar_mad(). More...
 
template<typename T , typename U >
double uchar_Sn0_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_uchar_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double uchar_Sn_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_uchar_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double uchar_Qn0_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_uchar_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double uchar_Qn_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_uchar_Qn_from_sorted_data(). More...
 
template<typename T >
double uint_mean (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uint_mean(). More...
 
template<typename T >
double uint_variance (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uint_variance(). More...
 
template<typename T >
double uint_sd (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uint_sd(). More...
 
template<typename T >
double uint_variance_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_uint_variance_with_fixed_mean(). More...
 
template<typename T >
double uint_variance_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_uint_variance_with_fixed_mean(). More...
 
template<typename T >
double uint_sd_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_uint_sd_with_fixed_mean(). More...
 
template<typename T >
double uint_sd_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_uint_sd_with_fixed_mean(). More...
 
template<typename T >
double uint_tss (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uint_tss(). More...
 
template<typename T >
double uint_tss_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_uint_tss_m(). More...
 
template<typename T >
double uint_tss_m (T const &data, double const mean)
 C++ version of gsl_stats_uint_tss_m(). More...
 
template<typename T >
double uint_absdev (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uint_absdev(). More...
 
template<typename T >
double uint_skew (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uint_skew(). More...
 
template<typename T >
double uint_kurtosis (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uint_kurtosis(). More...
 
template<typename T >
double uint_lag1_autocorrelation (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uint_lag1_autocorrelation(). More...
 
template<typename T , typename U >
double uint_covariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_uint_covariance(). More...
 
template<typename T , typename U >
double uint_covariance (T const &data1, U const &data2)
 C++ version of gsl_stats_uint_covariance(). More...
 
template<typename T , typename U >
double uint_correlation (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_uint_correlation(). More...
 
template<typename T , typename U >
double uint_correlation (T const &data1, U const &data2)
 C++ version of gsl_stats_uint_correlation(). More...
 
template<typename T >
double uint_variance_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_uint_variance_m(). More...
 
template<typename T >
double uint_variance_m (T const &data, double const mean)
 C++ version of gsl_stats_uint_variance_m(). More...
 
template<typename T >
double uint_sd_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_uint_sd_m(). More...
 
template<typename T >
double uint_sd_m (T const &data, double const mean)
 C++ version of gsl_stats_uint_sd_m(). More...
 
template<typename T >
double uint_absdev_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_uint_absdev_m(). More...
 
template<typename T >
double uint_absdev_m (T const &data, double const mean)
 C++ version of gsl_stats_uint_absdev_m(). More...
 
template<typename T >
double uint_skew_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_uint_skew_m_sd(). More...
 
template<typename T >
double uint_skew_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_uint_skew_m_sd(). More...
 
template<typename T >
double uint_kurtosis_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_uint_kurtosis_m_sd(). More...
 
template<typename T >
double uint_kurtosis_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_uint_kurtosis_m_sd(). More...
 
template<typename T >
double uint_lag1_autocorrelation_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_uint_lag1_autocorrelation_m(). More...
 
template<typename T >
double uint_lag1_autocorrelation_m (T const &data, double const mean)
 C++ version of gsl_stats_uint_lag1_autocorrelation_m(). More...
 
template<typename T , typename U >
double uint_covariance_m (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double const mean1, double const mean2)
 C++ version of gsl_stats_uint_covariance_m(). More...
 
template<typename T >
double uint_covariance_m (T const &data1, T const &data2, double const mean1, double const mean2)
 C++ version of gsl_stats_uint_covariance_m(). More...
 
template<typename T , typename U >
double uint_pvariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_uint_pvariance(). More...
 
template<typename T , typename U >
double uint_ttest (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_uint_ttest(). More...
 
template<typename T >
double uint_max (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uint_max(). More...
 
template<typename T >
double uint_min (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uint_min(). More...
 
template<typename T >
void uint_minmax (unsigned int &min, unsigned int &max, T const &data, size_t const stride=1)
 C++ version of gsl_stats_uint_minmax(). More...
 
template<typename T >
size_t uint_max_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uint_max_index(). More...
 
template<typename T >
size_t uint_min_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_uint_min_index(). More...
 
template<typename T >
void uint_minmax_index (size_t &min_index, size_t &max_index, T const &data, size_t const stride=1)
 C++ version of gsl_stats_uint_minmax_index(). More...
 
template<typename T >
double uint_median_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_uint_median_from_sorted_data(). More...
 
template<typename T >
double uint_quantile_from_sorted_data (T const &sorted_data, size_t const stride, double const f)
 C++ version of gsl_stats_uint_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double uint_pvariance (T const &data1, U const &data2)
 C++ version of gsl_stats_uint_pvariance(). More...
 
template<typename T , typename U >
double uint_ttest (T const &data1, U const &data2)
 C++ version of gsl_stats_uint_ttest(). More...
 
template<typename T >
double uint_quantile_from_sorted_data (T const &sorted_data, double const f)
 C++ version of gsl_stats_uint_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double uint_spearman (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double work[])
 C++ version of gsl_stats_uint_spearman(). More...
 
template<typename T , typename U >
double uint_spearman (T const &data1, U const &data2, double work[])
 C++ version of gsl_stats_uint_spearman(). More...
 
template<typename T >
double uint_median (T &data, size_t const stride=1)
 C++ version of gsl_stats_uint_median(). More...
 
template<typename T >
double uint_trmean_from_sorted_data (double const trim, T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_uint_trmean_from_sorted_data(). More...
 
template<typename T >
double uint_gastwirth_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_uint_gastwirth_from_sorted_data(). More...
 
template<typename T , typename U >
double uint_mad0 (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_uint_mad0(). More...
 
template<typename T , typename U >
double uint_mad (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_uint_mad(). More...
 
template<typename T , typename U >
double uint_Sn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_uint_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double uint_Sn_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_uint_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
unsigned int uint_Qn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_uint_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
unsigned int uint_Qn_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_uint_Qn_from_sorted_data(). More...
 
template<typename T , typename U >
double uint_mad0 (T const &data, U &work)
 C++ version of gsl_stats_uint_mad0(). More...
 
template<typename T , typename U >
double uint_mad (T const &data, U &work)
 C++ version of gsl_stats_uint_mad(). More...
 
template<typename T , typename U >
double uint_Sn0_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_uint_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double uint_Sn_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_uint_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double uint_Qn0_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_uint_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double uint_Qn_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_uint_Qn_from_sorted_data(). More...
 
template<typename T >
double ulong_mean (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ulong_mean(). More...
 
template<typename T >
double ulong_variance (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ulong_variance(). More...
 
template<typename T >
double ulong_sd (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ulong_sd(). More...
 
template<typename T >
double ulong_variance_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_ulong_variance_with_fixed_mean(). More...
 
template<typename T >
double ulong_variance_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_ulong_variance_with_fixed_mean(). More...
 
template<typename T >
double ulong_sd_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_ulong_sd_with_fixed_mean(). More...
 
template<typename T >
double ulong_sd_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_ulong_sd_with_fixed_mean(). More...
 
template<typename T >
double ulong_tss (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ulong_tss(). More...
 
template<typename T >
double ulong_tss_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_ulong_tss_m(). More...
 
template<typename T >
double ulong_tss_m (T const &data, double const mean)
 C++ version of gsl_stats_ulong_tss_m(). More...
 
template<typename T >
double ulong_absdev (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ulong_absdev(). More...
 
template<typename T >
double ulong_skew (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ulong_skew(). More...
 
template<typename T >
double ulong_kurtosis (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ulong_kurtosis(). More...
 
template<typename T >
double ulong_lag1_autocorrelation (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ulong_lag1_autocorrelation(). More...
 
template<typename T , typename U >
double ulong_covariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_ulong_covariance(). More...
 
template<typename T , typename U >
double ulong_covariance (T const &data1, U const &data2)
 C++ version of gsl_stats_ulong_covariance(). More...
 
template<typename T , typename U >
double ulong_correlation (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_ulong_correlation(). More...
 
template<typename T , typename U >
double ulong_correlation (T const &data1, U const &data2)
 C++ version of gsl_stats_ulong_correlation(). More...
 
template<typename T >
double ulong_variance_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_ulong_variance_m(). More...
 
template<typename T >
double ulong_variance_m (T const &data, double const mean)
 C++ version of gsl_stats_ulong_variance_m(). More...
 
template<typename T >
double ulong_sd_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_ulong_sd_m(). More...
 
template<typename T >
double ulong_sd_m (T const &data, double const mean)
 C++ version of gsl_stats_ulong_sd_m(). More...
 
template<typename T >
double ulong_absdev_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_ulong_absdev_m(). More...
 
template<typename T >
double ulong_absdev_m (T const &data, double const mean)
 C++ version of gsl_stats_ulong_absdev_m(). More...
 
template<typename T >
double ulong_skew_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_ulong_skew_m_sd(). More...
 
template<typename T >
double ulong_skew_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_ulong_skew_m_sd(). More...
 
template<typename T >
double ulong_kurtosis_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_ulong_kurtosis_m_sd(). More...
 
template<typename T >
double ulong_kurtosis_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_ulong_kurtosis_m_sd(). More...
 
template<typename T >
double ulong_lag1_autocorrelation_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_ulong_lag1_autocorrelation_m(). More...
 
template<typename T >
double ulong_lag1_autocorrelation_m (T const &data, double const mean)
 C++ version of gsl_stats_ulong_lag1_autocorrelation_m(). More...
 
template<typename T , typename U >
double ulong_covariance_m (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double const mean1, double const mean2)
 C++ version of gsl_stats_ulong_covariance_m(). More...
 
template<typename T >
double ulong_covariance_m (T const &data1, T const &data2, double const mean1, double const mean2)
 C++ version of gsl_stats_ulong_covariance_m(). More...
 
template<typename T , typename U >
double ulong_pvariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_ulong_pvariance(). More...
 
template<typename T , typename U >
double ulong_ttest (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_ulong_ttest(). More...
 
template<typename T >
double ulong_max (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ulong_max(). More...
 
template<typename T >
double ulong_min (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ulong_min(). More...
 
template<typename T >
void ulong_minmax (unsigned long &min, unsigned long &max, T const &data, size_t const stride=1)
 C++ version of gsl_stats_ulong_minmax(). More...
 
template<typename T >
size_t ulong_max_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ulong_max_index(). More...
 
template<typename T >
size_t ulong_min_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ulong_min_index(). More...
 
template<typename T >
void ulong_minmax_index (size_t &min_index, size_t &max_index, T const &data, size_t const stride=1)
 C++ version of gsl_stats_ulong_minmax_index(). More...
 
template<typename T >
double ulong_median_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_ulong_median_from_sorted_data(). More...
 
template<typename T >
double ulong_quantile_from_sorted_data (T const &sorted_data, size_t const stride, double const f)
 C++ version of gsl_stats_ulong_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double ulong_pvariance (T const &data1, U const &data2)
 C++ version of gsl_stats_ulong_pvariance(). More...
 
template<typename T , typename U >
double ulong_ttest (T const &data1, U const &data2)
 C++ version of gsl_stats_ulong_ttest(). More...
 
template<typename T >
double ulong_quantile_from_sorted_data (T const &sorted_data, double const f)
 C++ version of gsl_stats_ulong_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double ulong_spearman (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double work[])
 C++ version of gsl_stats_ulong_spearman(). More...
 
template<typename T , typename U >
double ulong_spearman (T const &data1, U const &data2, double work[])
 C++ version of gsl_stats_ulong_spearman(). More...
 
template<typename T >
double ulong_median (T &data, size_t const stride=1)
 C++ version of gsl_stats_ulong_median(). More...
 
template<typename T >
double ulong_trmean_from_sorted_data (double const trim, T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_ulong_trmean_from_sorted_data(). More...
 
template<typename T >
double ulong_gastwirth_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_ulong_gastwirth_from_sorted_data(). More...
 
template<typename T , typename U >
double ulong_mad0 (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_ulong_mad0(). More...
 
template<typename T , typename U >
double ulong_mad (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_ulong_mad(). More...
 
template<typename T , typename U >
double ulong_Sn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_ulong_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double ulong_Sn_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_ulong_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
unsigned long ulong_Qn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_ulong_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
unsigned long ulong_Qn_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_ulong_Qn_from_sorted_data(). More...
 
template<typename T , typename U >
double ulong_mad0 (T const &data, U &work)
 C++ version of gsl_stats_ulong_mad0(). More...
 
template<typename T , typename U >
double ulong_mad (T const &data, U &work)
 C++ version of gsl_stats_ulong_mad(). More...
 
template<typename T , typename U >
double ulong_Sn0_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_ulong_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double ulong_Sn_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_ulong_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double ulong_Qn0_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_ulong_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double ulong_Qn_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_ulong_Qn_from_sorted_data(). More...
 
template<typename T >
double ushort_mean (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ushort_mean(). More...
 
template<typename T >
double ushort_variance (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ushort_variance(). More...
 
template<typename T >
double ushort_sd (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ushort_sd(). More...
 
template<typename T >
double ushort_variance_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_ushort_variance_with_fixed_mean(). More...
 
template<typename T >
double ushort_variance_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_ushort_variance_with_fixed_mean(). More...
 
template<typename T >
double ushort_sd_with_fixed_mean (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_ushort_sd_with_fixed_mean(). More...
 
template<typename T >
double ushort_sd_with_fixed_mean (T const &data, double const mean)
 C++ version of gsl_stats_ushort_sd_with_fixed_mean(). More...
 
template<typename T >
double ushort_tss (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ushort_tss(). More...
 
template<typename T >
double ushort_tss_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_ushort_tss_m(). More...
 
template<typename T >
double ushort_tss_m (T const &data, double const mean)
 C++ version of gsl_stats_ushort_tss_m(). More...
 
template<typename T >
double ushort_absdev (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ushort_absdev(). More...
 
template<typename T >
double ushort_skew (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ushort_skew(). More...
 
template<typename T >
double ushort_kurtosis (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ushort_kurtosis(). More...
 
template<typename T >
double ushort_lag1_autocorrelation (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ushort_lag1_autocorrelation(). More...
 
template<typename T , typename U >
double ushort_covariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_ushort_covariance(). More...
 
template<typename T , typename U >
double ushort_covariance (T const &data1, U const &data2)
 C++ version of gsl_stats_ushort_covariance(). More...
 
template<typename T , typename U >
double ushort_correlation (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_ushort_correlation(). More...
 
template<typename T , typename U >
double ushort_correlation (T const &data1, U const &data2)
 C++ version of gsl_stats_ushort_correlation(). More...
 
template<typename T >
double ushort_variance_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_ushort_variance_m(). More...
 
template<typename T >
double ushort_variance_m (T const &data, double const mean)
 C++ version of gsl_stats_ushort_variance_m(). More...
 
template<typename T >
double ushort_sd_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_ushort_sd_m(). More...
 
template<typename T >
double ushort_sd_m (T const &data, double const mean)
 C++ version of gsl_stats_ushort_sd_m(). More...
 
template<typename T >
double ushort_absdev_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_ushort_absdev_m(). More...
 
template<typename T >
double ushort_absdev_m (T const &data, double const mean)
 C++ version of gsl_stats_ushort_absdev_m(). More...
 
template<typename T >
double ushort_skew_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_ushort_skew_m_sd(). More...
 
template<typename T >
double ushort_skew_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_ushort_skew_m_sd(). More...
 
template<typename T >
double ushort_kurtosis_m_sd (T const &data, size_t const stride, double const mean, double const sd)
 C++ version of gsl_stats_ushort_kurtosis_m_sd(). More...
 
template<typename T >
double ushort_kurtosis_m_sd (T const &data, double const mean, double const sd)
 C++ version of gsl_stats_ushort_kurtosis_m_sd(). More...
 
template<typename T >
double ushort_lag1_autocorrelation_m (T const &data, size_t const stride, double const mean)
 C++ version of gsl_stats_ushort_lag1_autocorrelation_m(). More...
 
template<typename T >
double ushort_lag1_autocorrelation_m (T const &data, double const mean)
 C++ version of gsl_stats_ushort_lag1_autocorrelation_m(). More...
 
template<typename T , typename U >
double ushort_covariance_m (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double const mean1, double const mean2)
 C++ version of gsl_stats_ushort_covariance_m(). More...
 
template<typename T >
double ushort_covariance_m (T const &data1, T const &data2, double const mean1, double const mean2)
 C++ version of gsl_stats_ushort_covariance_m(). More...
 
template<typename T , typename U >
double ushort_pvariance (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_ushort_pvariance(). More...
 
template<typename T , typename U >
double ushort_ttest (T const &data1, size_t const stride1, U const &data2, size_t const stride2)
 C++ version of gsl_stats_ushort_ttest(). More...
 
template<typename T >
double ushort_max (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ushort_max(). More...
 
template<typename T >
double ushort_min (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ushort_min(). More...
 
template<typename T >
void ushort_minmax (unsigned short &min, unsigned short &max, T const &data, size_t const stride=1)
 C++ version of gsl_stats_ushort_minmax(). More...
 
template<typename T >
size_t ushort_max_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ushort_max_index(). More...
 
template<typename T >
size_t ushort_min_index (T const &data, size_t const stride=1)
 C++ version of gsl_stats_ushort_min_index(). More...
 
template<typename T >
void ushort_minmax_index (size_t &min_index, size_t &max_index, T const &data, size_t const stride=1)
 C++ version of gsl_stats_ushort_minmax_index(). More...
 
template<typename T >
double ushort_median_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_ushort_median_from_sorted_data(). More...
 
template<typename T >
double ushort_quantile_from_sorted_data (T const &sorted_data, size_t const stride, double const f)
 C++ version of gsl_stats_ushort_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double ushort_pvariance (T const &data1, U const &data2)
 C++ version of gsl_stats_ushort_pvariance(). More...
 
template<typename T , typename U >
double ushort_ttest (T const &data1, U const &data2)
 C++ version of gsl_stats_ushort_ttest(). More...
 
template<typename T >
double ushort_quantile_from_sorted_data (T const &sorted_data, double const f)
 C++ version of gsl_stats_ushort_quantile_from_sorted_data(). More...
 
template<typename T , typename U >
double ushort_spearman (T const &data1, size_t const stride1, U const &data2, size_t const stride2, double work[])
 C++ version of gsl_stats_ushort_spearman(). More...
 
template<typename T , typename U >
double ushort_spearman (T const &data1, U const &data2, double work[])
 C++ version of gsl_stats_ushort_spearman(). More...
 
template<typename T >
double ushort_median (T &data, size_t const stride=1)
 C++ version of gsl_stats_ushort_median(). More...
 
template<typename T >
double ushort_trmean_from_sorted_data (double const trim, T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_ushort_trmean_from_sorted_data(). More...
 
template<typename T >
double ushort_gastwirth_from_sorted_data (T const &sorted_data, size_t const stride=1)
 C++ version of gsl_stats_ushort_gastwirth_from_sorted_data(). More...
 
template<typename T , typename U >
double ushort_mad0 (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_ushort_mad0(). More...
 
template<typename T , typename U >
double ushort_mad (T const &data, size_t const stride, U &work)
 C++ version of gsl_stats_ushort_mad(). More...
 
template<typename T , typename U >
double ushort_Sn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_ushort_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double ushort_Sn_from_sorted_data (T const &sorted_data, size_t const stride, U &work)
 C++ version of gsl_stats_ushort_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
unsigned short ushort_Qn0_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_ushort_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
unsigned short ushort_Qn_from_sorted_data (T const &sorted_data, size_t const stride, U &work, V &work_int)
 C++ version of gsl_stats_ushort_Qn_from_sorted_data(). More...
 
template<typename T , typename U >
double ushort_mad0 (T const &data, U &work)
 C++ version of gsl_stats_ushort_mad0(). More...
 
template<typename T , typename U >
double ushort_mad (T const &data, U &work)
 C++ version of gsl_stats_ushort_mad(). More...
 
template<typename T , typename U >
double ushort_Sn0_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_ushort_Sn0_from_sorted_data(). More...
 
template<typename T , typename U >
double ushort_Sn_from_sorted_data (T const &sorted_data, U &work)
 C++ version of gsl_stats_ushort_Sn_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double ushort_Qn0_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_ushort_Qn0_from_sorted_data(). More...
 
template<typename T , typename U , typename V >
double ushort_Qn_from_sorted_data (T const &sorted_data, U &work, V &work_int)
 C++ version of gsl_stats_ushort_Qn_from_sorted_data(). More...
 

Detailed Description

This namespace provides the gsl_stats functions.

Besides simple wrappers to the original functions, it provides template functions that can be called on any class that implements the following two functions:

  1. double* data(): returns an array of elements of type double,
  2. size_t size(): returns size of array. The template versions use either default arguments or function overloading to ensure that any statistics function may be called without stride arguments (i.e. with default stride = 1).

Function Documentation

◆ absdev()

template<typename T >
double gsl::stats::absdev ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_absdev().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample absolute deviation

Definition at line 1091 of file statistics_double.hpp.

◆ absdev_m() [1/2]

template<typename T >
double gsl::stats::absdev_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_absdev_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 1565 of file statistics_double.hpp.

References mean().

◆ absdev_m() [2/2]

template<typename T >
double gsl::stats::absdev_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_absdev_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 1556 of file statistics_double.hpp.

References mean().

◆ char_absdev()

template<typename T >
double gsl::stats::char_absdev ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_char_absdev().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample absolute deviation

Definition at line 732 of file statistics_char.hpp.

◆ char_absdev_m() [1/2]

template<typename T >
double gsl::stats::char_absdev_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_char_absdev_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 858 of file statistics_char.hpp.

References mean().

◆ char_absdev_m() [2/2]

template<typename T >
double gsl::stats::char_absdev_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_char_absdev_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 849 of file statistics_char.hpp.

References mean().

◆ char_correlation() [1/2]

template<typename T , typename U >
double gsl::stats::char_correlation ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_char_correlation().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample correlation

Definition at line 791 of file statistics_char.hpp.

◆ char_correlation() [2/2]

template<typename T , typename U >
double gsl::stats::char_correlation ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_char_correlation().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample correlation

Definition at line 801 of file statistics_char.hpp.

◆ char_covariance() [1/2]

template<typename T , typename U >
double gsl::stats::char_covariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_char_covariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample covariance

Definition at line 770 of file statistics_char.hpp.

◆ char_covariance() [2/2]

template<typename T , typename U >
double gsl::stats::char_covariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_char_covariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample covariance

Definition at line 780 of file statistics_char.hpp.

◆ char_covariance_m() [1/2]

template<typename T , typename U >
double gsl::stats::char_covariance_m ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_char_covariance_m().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 935 of file statistics_char.hpp.

◆ char_covariance_m() [2/2]

template<typename T >
double gsl::stats::char_covariance_m ( T const &  data1,
T const &  data2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_char_covariance_m().

Parameters
data1The first array of data values
data2The second array of data values
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 949 of file statistics_char.hpp.

◆ char_gastwirth_from_sorted_data()

template<typename T >
double gsl::stats::char_gastwirth_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_char_gastwirth_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
Gastwirth’s location estimator

Definition at line 1209 of file statistics_char.hpp.

References gsl::rstat::n().

◆ char_kurtosis()

template<typename T >
double gsl::stats::char_kurtosis ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_char_kurtosis().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample kurtosis

Definition at line 750 of file statistics_char.hpp.

◆ char_kurtosis_m_sd() [1/2]

template<typename T >
double gsl::stats::char_kurtosis_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_char_kurtosis_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 902 of file statistics_char.hpp.

References mean(), and sd().

◆ char_kurtosis_m_sd() [2/2]

template<typename T >
double gsl::stats::char_kurtosis_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_char_kurtosis_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 891 of file statistics_char.hpp.

References mean(), and sd().

◆ char_lag1_autocorrelation()

template<typename T >
double gsl::stats::char_lag1_autocorrelation ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_char_lag1_autocorrelation().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample lag 1 autocorrelation

Definition at line 759 of file statistics_char.hpp.

◆ char_lag1_autocorrelation_m() [1/2]

template<typename T >
double gsl::stats::char_lag1_autocorrelation_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_char_lag1_autocorrelation_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 922 of file statistics_char.hpp.

References mean().

◆ char_lag1_autocorrelation_m() [2/2]

template<typename T >
double gsl::stats::char_lag1_autocorrelation_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_char_lag1_autocorrelation_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 912 of file statistics_char.hpp.

References mean().

◆ char_mad() [1/2]

template<typename T , typename U >
double gsl::stats::char_mad ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_char_mad().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1236 of file statistics_char.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ char_mad() [2/2]

template<typename T , typename U >
double gsl::stats::char_mad ( T const &  data,
U &  work 
)

C++ version of gsl_stats_char_mad().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1348 of file statistics_char.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ char_mad0() [1/2]

template<typename T , typename U >
double gsl::stats::char_mad0 ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_char_mad0().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1220 of file statistics_char.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ char_mad0() [2/2]

template<typename T , typename U >
double gsl::stats::char_mad0 ( T const &  data,
U &  work 
)

C++ version of gsl_stats_char_mad0().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1333 of file statistics_char.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ char_max()

template<typename T >
double gsl::stats::char_max ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_char_max().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The maximum value in the data set

Definition at line 987 of file statistics_char.hpp.

◆ char_max_index()

template<typename T >
size_t gsl::stats::char_max_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_char_max_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the maximum value in the data set

Definition at line 1015 of file statistics_char.hpp.

◆ char_mean()

template<typename T >
double gsl::stats::char_mean ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_char_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample mean

Definition at line 637 of file statistics_char.hpp.

◆ char_median()

template<typename T >
double gsl::stats::char_median ( T &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_char_median().

Note that data may be rearranged.

Parameters
dataA data array: does not need to be sorted
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1187 of file statistics_char.hpp.

References gsl::rstat::n().

◆ char_median_from_sorted_data()

template<typename T >
double gsl::stats::char_median_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_char_median_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1044 of file statistics_char.hpp.

◆ char_min()

template<typename T >
double gsl::stats::char_min ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_char_min().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The minimum value in the data set

Definition at line 996 of file statistics_char.hpp.

◆ char_min_index()

template<typename T >
size_t gsl::stats::char_min_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_char_min_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the minimum value in the data set

Definition at line 1024 of file statistics_char.hpp.

◆ char_minmax()

template<typename T >
void gsl::stats::char_minmax ( char &  min,
char &  max,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_char_minmax().

Parameters
minThe minimum of the data (return value)
maxThe maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1006 of file statistics_char.hpp.

References max(), and min().

◆ char_minmax_index()

template<typename T >
void gsl::stats::char_minmax_index ( size_t &  min_index,
size_t &  max_index,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_char_minmax_index().

Parameters
min_indexThe index of the minimum of the data (return value)
max_indexThe index of the maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1034 of file statistics_char.hpp.

References max_index(), and min_index().

◆ char_pvariance() [1/2]

template<typename T , typename U >
double gsl::stats::char_pvariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_char_pvariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The pooled variance of the data sets

Definition at line 962 of file statistics_char.hpp.

◆ char_pvariance() [2/2]

template<typename T , typename U >
double gsl::stats::char_pvariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_char_pvariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The pooled variance of the data sets

Definition at line 1067 of file statistics_char.hpp.

◆ char_Qn0_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
char gsl::stats::char_Qn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_char_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of chars of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1286 of file statistics_char.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ char_Qn0_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::char_Qn0_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_char_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of chars of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1395 of file statistics_char.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ char_Qn_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
char gsl::stats::char_Qn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_char_Qn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of chars of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 1310 of file statistics_char.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ char_Qn_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::char_Qn_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_char_Qn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of chars of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 1417 of file statistics_char.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ char_quantile_from_sorted_data() [1/2]

template<typename T >
double gsl::stats::char_quantile_from_sorted_data ( T const &  sorted_data,
double const  f 
)
inline

C++ version of gsl_stats_char_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1086 of file statistics_char.hpp.

◆ char_quantile_from_sorted_data() [2/2]

template<typename T >
double gsl::stats::char_quantile_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
double const  f 
)
inline

C++ version of gsl_stats_char_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1054 of file statistics_char.hpp.

References gsl::rstat::n().

◆ char_sd()

template<typename T >
double gsl::stats::char_sd ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_char_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample standard deviation

Definition at line 655 of file statistics_char.hpp.

◆ char_sd_m() [1/2]

template<typename T >
double gsl::stats::char_sd_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_char_sd_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 839 of file statistics_char.hpp.

References mean().

◆ char_sd_m() [2/2]

template<typename T >
double gsl::stats::char_sd_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_char_sd_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 830 of file statistics_char.hpp.

References mean().

◆ char_sd_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::char_sd_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_char_sd_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 695 of file statistics_char.hpp.

References mean().

◆ char_sd_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::char_sd_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_char_sd_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 685 of file statistics_char.hpp.

References mean().

◆ char_skew()

template<typename T >
double gsl::stats::char_skew ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_char_skew().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample skewness

Definition at line 741 of file statistics_char.hpp.

◆ char_skew_m_sd() [1/2]

template<typename T >
double gsl::stats::char_skew_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_char_skew_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 880 of file statistics_char.hpp.

References mean(), and sd().

◆ char_skew_m_sd() [2/2]

template<typename T >
double gsl::stats::char_skew_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_char_skew_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 869 of file statistics_char.hpp.

References mean(), and sd().

◆ char_Sn0_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::char_Sn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_char_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1253 of file statistics_char.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ char_Sn0_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::char_Sn0_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_char_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1364 of file statistics_char.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ char_Sn_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::char_Sn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_char_Sn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1269 of file statistics_char.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ char_Sn_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::char_Sn_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_char_Sn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1379 of file statistics_char.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ char_spearman() [1/2]

template<typename T , typename U >
double gsl::stats::char_spearman ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double  work[] 
)
inline

C++ version of gsl_stats_char_spearman().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1147 of file statistics_char.hpp.

◆ char_spearman() [2/2]

template<typename T , typename U >
double gsl::stats::char_spearman ( T const &  data1,
U const &  data2,
double  work[] 
)
inline

C++ version of gsl_stats_char_spearman().

Parameters
data1The first array of data values
data2The second array of data values
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1170 of file statistics_char.hpp.

◆ char_trmean_from_sorted_data()

template<typename T >
double gsl::stats::char_trmean_from_sorted_data ( double const  trim,
T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_char_trmean_from_sorted_data().

Parameters
trimA value on [0.0.5]
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
the mean with floor( alpha * n ) of data removed from both ends

Definition at line 1198 of file statistics_char.hpp.

References gsl::rstat::n().

◆ char_tss()

template<typename T >
double gsl::stats::char_tss ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_char_tss().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample total sum of squares

Definition at line 704 of file statistics_char.hpp.

◆ char_tss_m() [1/2]

template<typename T >
double gsl::stats::char_tss_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_char_tss_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 723 of file statistics_char.hpp.

References mean().

◆ char_tss_m() [2/2]

template<typename T >
double gsl::stats::char_tss_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_char_tss_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 714 of file statistics_char.hpp.

References mean().

◆ char_ttest() [1/2]

template<typename T , typename U >
double gsl::stats::char_ttest ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_char_ttest().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 976 of file statistics_char.hpp.

◆ char_ttest() [2/2]

template<typename T , typename U >
double gsl::stats::char_ttest ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_char_ttest().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 1077 of file statistics_char.hpp.

◆ char_variance()

template<typename T >
double gsl::stats::char_variance ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_char_variance().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample variance

Definition at line 646 of file statistics_char.hpp.

◆ char_variance_m() [1/2]

template<typename T >
double gsl::stats::char_variance_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_char_variance_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 820 of file statistics_char.hpp.

References mean().

◆ char_variance_m() [2/2]

template<typename T >
double gsl::stats::char_variance_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_char_variance_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 811 of file statistics_char.hpp.

References mean().

◆ char_variance_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::char_variance_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_char_variance_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 675 of file statistics_char.hpp.

References mean().

◆ char_variance_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::char_variance_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_char_variance_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 665 of file statistics_char.hpp.

References mean().

◆ correlation() [1/2]

template<typename T , typename U >
double gsl::stats::correlation ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_correlation().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample correlation

Definition at line 1498 of file statistics_double.hpp.

◆ correlation() [2/2]

template<typename T , typename U >
double gsl::stats::correlation ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_correlation().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample correlation

Definition at line 1508 of file statistics_double.hpp.

◆ covariance() [1/2]

template<typename T , typename U >
double gsl::stats::covariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_covariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample covariance

Definition at line 1129 of file statistics_double.hpp.

◆ covariance() [2/2]

template<typename T , typename U >
double gsl::stats::covariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_covariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample covariance

Definition at line 1139 of file statistics_double.hpp.

◆ covariance_m() [1/2]

template<typename T , typename U >
double gsl::stats::covariance_m ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_covariance_m().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 1642 of file statistics_double.hpp.

◆ covariance_m() [2/2]

template<typename T >
double gsl::stats::covariance_m ( T const &  data1,
T const &  data2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_covariance_m().

Parameters
data1The first array of data values
data2The second array of data values
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 1656 of file statistics_double.hpp.

◆ float_absdev()

template<typename T >
double gsl::stats::float_absdev ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_float_absdev().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample absolute deviation

Definition at line 1090 of file statistics_float.hpp.

◆ float_absdev_m() [1/2]

template<typename T >
double gsl::stats::float_absdev_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_float_absdev_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 1564 of file statistics_float.hpp.

References mean().

◆ float_absdev_m() [2/2]

template<typename T >
double gsl::stats::float_absdev_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_float_absdev_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 1555 of file statistics_float.hpp.

References mean().

◆ float_correlation() [1/2]

template<typename T , typename U >
double gsl::stats::float_correlation ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_float_correlation().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample correlation

Definition at line 1497 of file statistics_float.hpp.

◆ float_correlation() [2/2]

template<typename T , typename U >
double gsl::stats::float_correlation ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_float_correlation().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample correlation

Definition at line 1507 of file statistics_float.hpp.

◆ float_covariance() [1/2]

template<typename T , typename U >
double gsl::stats::float_covariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_float_covariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample covariance

Definition at line 1128 of file statistics_float.hpp.

◆ float_covariance() [2/2]

template<typename T , typename U >
double gsl::stats::float_covariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_float_covariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample covariance

Definition at line 1138 of file statistics_float.hpp.

◆ float_covariance_m() [1/2]

template<typename T , typename U >
double gsl::stats::float_covariance_m ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_float_covariance_m().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 1641 of file statistics_float.hpp.

◆ float_covariance_m() [2/2]

template<typename T >
double gsl::stats::float_covariance_m ( T const &  data1,
T const &  data2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_float_covariance_m().

Parameters
data1The first array of data values
data2The second array of data values
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 1655 of file statistics_float.hpp.

◆ float_gastwirth_from_sorted_data()

template<typename T >
double gsl::stats::float_gastwirth_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_float_gastwirth_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
Gastwirth’s location estimator

Definition at line 1911 of file statistics_float.hpp.

◆ float_kurtosis()

template<typename T >
double gsl::stats::float_kurtosis ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_float_kurtosis().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample kurtosis

Definition at line 1108 of file statistics_float.hpp.

◆ float_kurtosis_m_sd() [1/2]

template<typename T >
double gsl::stats::float_kurtosis_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_float_kurtosis_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 1608 of file statistics_float.hpp.

References mean(), and sd().

◆ float_kurtosis_m_sd() [2/2]

template<typename T >
double gsl::stats::float_kurtosis_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_float_kurtosis_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 1597 of file statistics_float.hpp.

References mean(), and sd().

◆ float_lag1_autocorrelation()

template<typename T >
double gsl::stats::float_lag1_autocorrelation ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_float_lag1_autocorrelation().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample lag 1 autocorrelation

Definition at line 1117 of file statistics_float.hpp.

◆ float_lag1_autocorrelation_m() [1/2]

template<typename T >
double gsl::stats::float_lag1_autocorrelation_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_float_lag1_autocorrelation_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 1628 of file statistics_float.hpp.

References mean().

◆ float_lag1_autocorrelation_m() [2/2]

template<typename T >
double gsl::stats::float_lag1_autocorrelation_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_float_lag1_autocorrelation_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 1618 of file statistics_float.hpp.

References mean().

◆ float_mad() [1/2]

template<typename T , typename U >
double gsl::stats::float_mad ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_float_mad().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1938 of file statistics_float.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ float_mad() [2/2]

template<typename T , typename U >
double gsl::stats::float_mad ( T const &  data,
U &  work 
)

C++ version of gsl_stats_float_mad().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 2050 of file statistics_float.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ float_mad0() [1/2]

template<typename T , typename U >
double gsl::stats::float_mad0 ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_float_mad0().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1922 of file statistics_float.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ float_mad0() [2/2]

template<typename T , typename U >
double gsl::stats::float_mad0 ( T const &  data,
U &  work 
)

C++ version of gsl_stats_float_mad0().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 2035 of file statistics_float.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ float_max()

template<typename T >
double gsl::stats::float_max ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_float_max().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The maximum value in the data set

Definition at line 1693 of file statistics_float.hpp.

◆ float_max_index()

template<typename T >
size_t gsl::stats::float_max_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_float_max_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the maximum value in the data set

Definition at line 1721 of file statistics_float.hpp.

◆ float_mean()

template<typename T >
double gsl::stats::float_mean ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_float_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample mean

Definition at line 995 of file statistics_float.hpp.

◆ float_median()

template<typename T >
double gsl::stats::float_median ( T &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_double_float_median().

Note that data may be rearranged.

Parameters
dataA data array: does not need to be sorted
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1890 of file statistics_float.hpp.

◆ float_median_from_sorted_data()

template<typename T >
double gsl::stats::float_median_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_float_median_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1750 of file statistics_float.hpp.

◆ float_min()

template<typename T >
double gsl::stats::float_min ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_float_min().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The minimum value in the data set

Definition at line 1702 of file statistics_float.hpp.

◆ float_min_index()

template<typename T >
size_t gsl::stats::float_min_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_float_min_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the minimum value in the data set

Definition at line 1730 of file statistics_float.hpp.

◆ float_minmax()

template<typename T >
void gsl::stats::float_minmax ( float &  min,
float &  max,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_float_minmax().

Parameters
minThe minimum of the data (return value)
maxThe maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1712 of file statistics_float.hpp.

References max(), and min().

◆ float_minmax_index()

template<typename T >
void gsl::stats::float_minmax_index ( size_t &  min_index,
size_t &  max_index,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_float_minmax_index().

Parameters
min_indexThe index of the minimum of the data (return value)
max_indexThe index of the maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1740 of file statistics_float.hpp.

References max_index(), and min_index().

◆ float_pvariance() [1/2]

template<typename T , typename U >
double gsl::stats::float_pvariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_float_pvariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The pooled variance of the data sets

Definition at line 1668 of file statistics_float.hpp.

◆ float_pvariance() [2/2]

template<typename T , typename U >
double gsl::stats::float_pvariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_float_pvariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The pooled variance of the data sets

Definition at line 1772 of file statistics_float.hpp.

◆ float_Qn0_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
double gsl::stats::float_Qn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_float_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of floats of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1988 of file statistics_float.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ float_Qn0_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::float_Qn0_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_float_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of floats of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 2097 of file statistics_float.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ float_Qn_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
double gsl::stats::float_Qn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_float_Qn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of floats of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 2012 of file statistics_float.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ float_Qn_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::float_Qn_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_float_Qn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of floats of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 2119 of file statistics_float.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ float_quantile_from_sorted_data() [1/2]

template<typename T >
double gsl::stats::float_quantile_from_sorted_data ( T const &  sorted_data,
double const  f 
)
inline

C++ version of gsl_stats_float_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1791 of file statistics_float.hpp.

◆ float_quantile_from_sorted_data() [2/2]

template<typename T >
double gsl::stats::float_quantile_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
double const  f 
)
inline

C++ version of gsl_stats_float_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1760 of file statistics_float.hpp.

◆ float_sd()

template<typename T >
double gsl::stats::float_sd ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_float_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample standard deviation

Definition at line 1013 of file statistics_float.hpp.

◆ float_sd_m() [1/2]

template<typename T >
double gsl::stats::float_sd_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_float_sd_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 1545 of file statistics_float.hpp.

References mean().

◆ float_sd_m() [2/2]

template<typename T >
double gsl::stats::float_sd_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_float_sd_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 1536 of file statistics_float.hpp.

References mean().

◆ float_sd_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::float_sd_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_float_sd_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 1053 of file statistics_float.hpp.

References mean().

◆ float_sd_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::float_sd_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_float_sd_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 1043 of file statistics_float.hpp.

References mean().

◆ float_skew()

template<typename T >
double gsl::stats::float_skew ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_float_skew().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample skewness

Definition at line 1099 of file statistics_float.hpp.

◆ float_skew_m_sd() [1/2]

template<typename T >
double gsl::stats::float_skew_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_float_skew_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 1586 of file statistics_float.hpp.

References mean(), and sd().

◆ float_skew_m_sd() [2/2]

template<typename T >
double gsl::stats::float_skew_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_float_skew_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 1575 of file statistics_float.hpp.

References mean(), and sd().

◆ float_Sn0_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::float_Sn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_float_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1955 of file statistics_float.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ float_Sn0_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::float_Sn0_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_float_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 2066 of file statistics_float.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ float_Sn_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::float_Sn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_float_Sn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1971 of file statistics_float.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ float_Sn_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::float_Sn_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_float_Sn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 2081 of file statistics_float.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ float_spearman()

template<typename T , typename U >
double gsl::stats::float_spearman ( T const &  data1,
U const &  data2,
double  work[] 
)
inline

C++ version of gsl_stats_float_spearman().

Parameters
data1The first array of data values
data2The second array of data values
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1873 of file statistics_float.hpp.

◆ float_trmean_from_sorted_data()

template<typename T >
double gsl::stats::float_trmean_from_sorted_data ( double const  trim,
T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_double_float_trmean_from_sorted_data().

Parameters
trimA value on [0.0.5]
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
the mean with floor( alpha * n ) of data removed from both ends

Definition at line 1900 of file statistics_float.hpp.

◆ float_tss()

template<typename T >
double gsl::stats::float_tss ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_float_tss().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample total sum of squares

Definition at line 1062 of file statistics_float.hpp.

◆ float_tss_m() [1/2]

template<typename T >
double gsl::stats::float_tss_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_float_tss_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 1081 of file statistics_float.hpp.

References mean().

◆ float_tss_m() [2/2]

template<typename T >
double gsl::stats::float_tss_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_float_tss_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 1072 of file statistics_float.hpp.

References mean().

◆ float_ttest() [1/2]

template<typename T , typename U >
double gsl::stats::float_ttest ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_float_ttest().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 1682 of file statistics_float.hpp.

◆ float_ttest() [2/2]

template<typename T , typename U >
double gsl::stats::float_ttest ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_float_ttest().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 1782 of file statistics_float.hpp.

◆ float_variance()

template<typename T >
double gsl::stats::float_variance ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_float_variance().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample variance

Definition at line 1004 of file statistics_float.hpp.

◆ float_variance_m() [1/2]

template<typename T >
double gsl::stats::float_variance_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_float_variance_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 1526 of file statistics_float.hpp.

References mean().

◆ float_variance_m() [2/2]

template<typename T >
double gsl::stats::float_variance_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_float_variance_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 1517 of file statistics_float.hpp.

References mean().

◆ float_variance_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::float_variance_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_float_variance_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 1033 of file statistics_float.hpp.

References mean().

◆ float_variance_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::float_variance_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_float_variance_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 1023 of file statistics_float.hpp.

References mean().

◆ float_wabsdev() [1/2]

template<typename U , typename T >
double gsl::stats::float_wabsdev ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_float_wabsdev().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighetd absolute deviation estimate

Definition at line 1240 of file statistics_float.hpp.

◆ float_wabsdev() [2/2]

template<typename U , typename T >
double gsl::stats::float_wabsdev ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_float_wabsdev().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighetd absolute deviation estimate

Definition at line 1414 of file statistics_float.hpp.

◆ float_wabsdev_m() [1/2]

template<typename U , typename T >
double gsl::stats::float_wabsdev_m ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean 
)
inline

C++ version of gsl_stats_float_wabsdev_m().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
Returns
The weighted sample absolute deviation with given mean value

Definition at line 1303 of file statistics_float.hpp.

References wmean().

◆ float_wabsdev_m() [2/2]

template<typename U , typename T >
double gsl::stats::float_wabsdev_m ( U const &  w,
T const &  data,
double const  wmean 
)
inline

C++ version of gsl_stats_float_wabsdev_m().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
Returns
The weighted sample absolute deviation with given mean value

Definition at line 1462 of file statistics_float.hpp.

References wmean().

◆ float_wkurtosis() [1/2]

template<typename U , typename T >
double gsl::stats::float_wkurtosis ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_float_wkurtosis().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted sample kurtosis

Definition at line 1264 of file statistics_float.hpp.

◆ float_wkurtosis() [2/2]

template<typename U , typename T >
double gsl::stats::float_wkurtosis ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_float_wkurtosis().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted sample kurtosis

Definition at line 1432 of file statistics_float.hpp.

◆ float_wkurtosis_m_sd() [1/2]

template<typename U , typename T >
double gsl::stats::float_wkurtosis_m_sd ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean,
double const  wsd 
)
inline

C++ version of gsl_stats_float_wkurtosis_m_sd().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
wsdThe weighted standard deviation
Returns
The weighted sample kurtosis with given weighted mean and standard deviation

Definition at line 1333 of file statistics_float.hpp.

References wmean(), and wsd().

◆ float_wkurtosis_m_sd() [2/2]

template<typename U , typename T >
double gsl::stats::float_wkurtosis_m_sd ( U const &  w,
T const &  data,
double const  wmean,
double const  wsd 
)
inline

C++ version of gsl_stats_float_wkurtosis_m_sd().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
wsdThe weighted standard deviation
Returns
The weighted sample kurtosis with given weighted mean and standard deviation

Definition at line 1484 of file statistics_float.hpp.

References wmean(), and wsd().

◆ float_wmean() [1/2]

template<typename U , typename T >
double gsl::stats::float_wmean ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_float_wmean().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted sample mean

Definition at line 1150 of file statistics_float.hpp.

◆ float_wmean() [2/2]

template<typename U , typename T >
double gsl::stats::float_wmean ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_float_wmean().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted sample mean

Definition at line 1346 of file statistics_float.hpp.

◆ float_wsd() [1/2]

template<typename U , typename T >
double gsl::stats::float_wsd ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_float_wsd().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted sample standard deviation

Definition at line 1174 of file statistics_float.hpp.

◆ float_wsd() [2/2]

template<typename U , typename T >
double gsl::stats::float_wsd ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_float_wsd().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted sample standard deviation

Definition at line 1364 of file statistics_float.hpp.

◆ float_wsd_m() [1/2]

template<typename U , typename T >
double gsl::stats::float_wsd_m ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean 
)
inline

C++ version of gsl_stats_float_wsd_m().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
Returns
The weighted sample standard deviation with given mean value

Definition at line 1290 of file statistics_float.hpp.

References wmean().

◆ float_wsd_m() [2/2]

template<typename U , typename T >
double gsl::stats::float_wsd_m ( U const &  w,
T const &  data,
double const  wmean 
)
inline

C++ version of gsl_stats_float_wsd_m().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
Returns
The weighted sample standard deviation with given mean value

Definition at line 1452 of file statistics_float.hpp.

References wmean().

◆ float_wsd_with_fixed_mean() [1/2]

template<typename U , typename T >
double gsl::stats::float_wsd_with_fixed_mean ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_float_wsd_with_fixed_mean().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood weighted standard deviation estimate with given mean

Definition at line 1202 of file statistics_float.hpp.

References mean().

◆ float_wsd_with_fixed_mean() [2/2]

template<typename U , typename T >
double gsl::stats::float_wsd_with_fixed_mean ( U const &  w,
T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_wsd_with_fixed_mean().

Parameters
wThe weight array
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood weighted standard deviation estimate with given mean

Definition at line 1385 of file statistics_float.hpp.

References mean().

◆ float_wskew() [1/2]

template<typename U , typename T >
double gsl::stats::float_wskew ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_float_wskew().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted sample skewness

Definition at line 1252 of file statistics_float.hpp.

◆ float_wskew() [2/2]

template<typename U , typename T >
double gsl::stats::float_wskew ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_float_wskew().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted sample skewness

Definition at line 1423 of file statistics_float.hpp.

◆ float_wskew_m_sd() [1/2]

template<typename U , typename T >
double gsl::stats::float_wskew_m_sd ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean,
double const  wsd 
)
inline

C++ version of gsl_stats_float_wskew_m_sd().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
wsdThe weighted standard deviation
Returns
The weighted sample skewness with given weighted mean and standard deviation

Definition at line 1317 of file statistics_float.hpp.

References wmean(), and wsd().

◆ float_wskew_m_sd() [2/2]

template<typename U , typename T >
double gsl::stats::float_wskew_m_sd ( U const &  w,
T const &  data,
double const  wmean,
double const  wsd 
)
inline

C++ version of gsl_stats_float_wskew_m_sd().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
wsdThe weighted standard deviation
Returns
The weighted sample skewness with given weighted mean and standard deviation

Definition at line 1473 of file statistics_float.hpp.

References wmean(), and wsd().

◆ float_wtss() [1/2]

template<typename U , typename T >
double gsl::stats::float_wtss ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_float_wtss().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted total sum of squares estimate

Definition at line 1215 of file statistics_float.hpp.

◆ float_wtss() [2/2]

template<typename U , typename T >
double gsl::stats::float_wtss ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_float_wtss().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted total sum of squares estimate

Definition at line 1395 of file statistics_float.hpp.

◆ float_wtss_m() [1/2]

template<typename U , typename T >
double gsl::stats::float_wtss_m ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean 
)
inline

C++ version of gsl_stats_float_wtss_m().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
Returns
The weighted total sum of squares estimate with given mean value

Definition at line 1228 of file statistics_float.hpp.

References wmean().

◆ float_wtss_m() [2/2]

template<typename U , typename T >
double gsl::stats::float_wtss_m ( U const &  w,
T const &  data,
double const  wmean 
)
inline

C++ version of gsl_stats_float_wtss_m().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
Returns
The weighted total sum of squares estimate with given mean value

Definition at line 1405 of file statistics_float.hpp.

References wmean().

◆ float_wvariance() [1/2]

template<typename U , typename T >
double gsl::stats::float_wvariance ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_float_wvariance().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted sample variance

Definition at line 1162 of file statistics_float.hpp.

◆ float_wvariance() [2/2]

template<typename U , typename T >
double gsl::stats::float_wvariance ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_float_wvariance().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted sample variance

Definition at line 1355 of file statistics_float.hpp.

◆ float_wvariance_m() [1/2]

template<typename U , typename T >
double gsl::stats::float_wvariance_m ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean 
)
inline

C++ version of gsl_stats_float_wvariance_m().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
Returns
The weighted sample variance with given mean value

Definition at line 1277 of file statistics_float.hpp.

References wmean().

◆ float_wvariance_m() [2/2]

template<typename U , typename T >
double gsl::stats::float_wvariance_m ( U const &  w,
T const &  data,
double const  wmean 
)
inline

C++ version of gsl_stats_float_wvariance_m().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
Returns
The weighted sample variance with given mean value

Definition at line 1442 of file statistics_float.hpp.

References wmean().

◆ float_wvariance_with_fixed_mean() [1/2]

template<typename U , typename T >
double gsl::stats::float_wvariance_with_fixed_mean ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_float_wvariance_with_fixed_mean().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood weighted variance estimate with given mean

Definition at line 1187 of file statistics_float.hpp.

References mean().

◆ float_wvariance_with_fixed_mean() [2/2]

template<typename U , typename T >
double gsl::stats::float_wvariance_with_fixed_mean ( U const &  w,
T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_float_wvariance_with_fixed_mean().

Parameters
wThe weight array
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood weighted variance estimate with given mean

Definition at line 1374 of file statistics_float.hpp.

References mean().

◆ gastwirth_from_sorted_data()

template<typename T >
double gsl::stats::gastwirth_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_gastwirth_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
Gastwirth’s location estimator

Definition at line 1912 of file statistics_double.hpp.

◆ int_absdev()

template<typename T >
double gsl::stats::int_absdev ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_int_absdev().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample absolute deviation

Definition at line 732 of file statistics_int.hpp.

◆ int_absdev_m() [1/2]

template<typename T >
double gsl::stats::int_absdev_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_int_absdev_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 858 of file statistics_int.hpp.

References mean().

◆ int_absdev_m() [2/2]

template<typename T >
double gsl::stats::int_absdev_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_int_absdev_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 849 of file statistics_int.hpp.

References mean().

◆ int_correlation() [1/2]

template<typename T , typename U >
double gsl::stats::int_correlation ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_int_correlation().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample correlation

Definition at line 791 of file statistics_int.hpp.

◆ int_correlation() [2/2]

template<typename T , typename U >
double gsl::stats::int_correlation ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_int_correlation().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample correlation

Definition at line 801 of file statistics_int.hpp.

◆ int_covariance() [1/2]

template<typename T , typename U >
double gsl::stats::int_covariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_int_covariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample covariance

Definition at line 770 of file statistics_int.hpp.

◆ int_covariance() [2/2]

template<typename T , typename U >
double gsl::stats::int_covariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_int_covariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample covariance

Definition at line 780 of file statistics_int.hpp.

◆ int_covariance_m() [1/2]

template<typename T , typename U >
double gsl::stats::int_covariance_m ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_int_covariance_m().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 935 of file statistics_int.hpp.

◆ int_covariance_m() [2/2]

template<typename T >
double gsl::stats::int_covariance_m ( T const &  data1,
T const &  data2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_int_covariance_m().

Parameters
data1The first array of data values
data2The second array of data values
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 949 of file statistics_int.hpp.

◆ int_gastwirth_from_sorted_data()

template<typename T >
double gsl::stats::int_gastwirth_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_int_gastwirth_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
Gastwirth’s location estimator

Definition at line 1209 of file statistics_int.hpp.

References gsl::rstat::n().

◆ int_kurtosis()

template<typename T >
double gsl::stats::int_kurtosis ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_int_kurtosis().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample kurtosis

Definition at line 750 of file statistics_int.hpp.

◆ int_kurtosis_m_sd() [1/2]

template<typename T >
double gsl::stats::int_kurtosis_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_int_kurtosis_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 902 of file statistics_int.hpp.

References mean(), and sd().

◆ int_kurtosis_m_sd() [2/2]

template<typename T >
double gsl::stats::int_kurtosis_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_int_kurtosis_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 891 of file statistics_int.hpp.

References mean(), and sd().

◆ int_lag1_autocorrelation()

template<typename T >
double gsl::stats::int_lag1_autocorrelation ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_int_lag1_autocorrelation().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample lag 1 autocorrelation

Definition at line 759 of file statistics_int.hpp.

◆ int_lag1_autocorrelation_m() [1/2]

template<typename T >
double gsl::stats::int_lag1_autocorrelation_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_int_lag1_autocorrelation_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 922 of file statistics_int.hpp.

References mean().

◆ int_lag1_autocorrelation_m() [2/2]

template<typename T >
double gsl::stats::int_lag1_autocorrelation_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_int_lag1_autocorrelation_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 912 of file statistics_int.hpp.

References mean().

◆ int_mad() [1/2]

template<typename T , typename U >
double gsl::stats::int_mad ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_int_mad().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1236 of file statistics_int.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ int_mad() [2/2]

template<typename T , typename U >
double gsl::stats::int_mad ( T const &  data,
U &  work 
)

C++ version of gsl_stats_int_mad().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1348 of file statistics_int.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ int_mad0() [1/2]

template<typename T , typename U >
double gsl::stats::int_mad0 ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_int_mad0().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1220 of file statistics_int.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ int_mad0() [2/2]

template<typename T , typename U >
double gsl::stats::int_mad0 ( T const &  data,
U &  work 
)

C++ version of gsl_stats_int_mad0().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1333 of file statistics_int.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ int_max()

template<typename T >
double gsl::stats::int_max ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_int_max().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The maximum value in the data set

Definition at line 987 of file statistics_int.hpp.

◆ int_max_index()

template<typename T >
size_t gsl::stats::int_max_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_int_max_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the maximum value in the data set

Definition at line 1015 of file statistics_int.hpp.

◆ int_mean()

template<typename T >
double gsl::stats::int_mean ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_int_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample mean

Definition at line 637 of file statistics_int.hpp.

◆ int_median()

template<typename T >
double gsl::stats::int_median ( T &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_int_median().

Note that data may be rearranged.

Parameters
dataA data array: does not need to be sorted
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1187 of file statistics_int.hpp.

References gsl::rstat::n().

◆ int_median_from_sorted_data()

template<typename T >
double gsl::stats::int_median_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_int_median_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1044 of file statistics_int.hpp.

◆ int_min()

template<typename T >
double gsl::stats::int_min ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_int_min().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The minimum value in the data set

Definition at line 996 of file statistics_int.hpp.

◆ int_min_index()

template<typename T >
size_t gsl::stats::int_min_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_int_min_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the minimum value in the data set

Definition at line 1024 of file statistics_int.hpp.

◆ int_minmax()

template<typename T >
void gsl::stats::int_minmax ( int &  min,
int &  max,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_int_minmax().

Parameters
minThe minimum of the data (return value)
maxThe maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1006 of file statistics_int.hpp.

References max(), and min().

◆ int_minmax_index()

template<typename T >
void gsl::stats::int_minmax_index ( size_t &  min_index,
size_t &  max_index,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_int_minmax_index().

Parameters
min_indexThe index of the minimum of the data (return value)
max_indexThe index of the maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1034 of file statistics_int.hpp.

References max_index(), and min_index().

◆ int_pvariance() [1/2]

template<typename T , typename U >
double gsl::stats::int_pvariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_int_pvariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The pooled variance of the data sets

Definition at line 962 of file statistics_int.hpp.

◆ int_pvariance() [2/2]

template<typename T , typename U >
double gsl::stats::int_pvariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_int_pvariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The pooled variance of the data sets

Definition at line 1067 of file statistics_int.hpp.

◆ int_Qn0_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
int gsl::stats::int_Qn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_int_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of ints of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1286 of file statistics_int.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ int_Qn0_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::int_Qn0_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_int_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of ints of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1395 of file statistics_int.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ int_Qn_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
int gsl::stats::int_Qn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_int_Qn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of ints of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 1310 of file statistics_int.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ int_Qn_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::int_Qn_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_int_Qn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of ints of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 1417 of file statistics_int.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ int_quantile_from_sorted_data() [1/2]

template<typename T >
double gsl::stats::int_quantile_from_sorted_data ( T const &  sorted_data,
double const  f 
)
inline

C++ version of gsl_stats_int_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1086 of file statistics_int.hpp.

◆ int_quantile_from_sorted_data() [2/2]

template<typename T >
double gsl::stats::int_quantile_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
double const  f 
)
inline

C++ version of gsl_stats_int_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1054 of file statistics_int.hpp.

References gsl::rstat::n().

◆ int_sd()

template<typename T >
double gsl::stats::int_sd ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_int_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample standard deviation

Definition at line 655 of file statistics_int.hpp.

◆ int_sd_m() [1/2]

template<typename T >
double gsl::stats::int_sd_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_int_sd_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 839 of file statistics_int.hpp.

References mean().

◆ int_sd_m() [2/2]

template<typename T >
double gsl::stats::int_sd_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_int_sd_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 830 of file statistics_int.hpp.

References mean().

◆ int_sd_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::int_sd_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_int_sd_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 695 of file statistics_int.hpp.

References mean().

◆ int_sd_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::int_sd_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_int_sd_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 685 of file statistics_int.hpp.

References mean().

◆ int_skew()

template<typename T >
double gsl::stats::int_skew ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_int_skew().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample skewness

Definition at line 741 of file statistics_int.hpp.

◆ int_skew_m_sd() [1/2]

template<typename T >
double gsl::stats::int_skew_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_int_skew_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 880 of file statistics_int.hpp.

References mean(), and sd().

◆ int_skew_m_sd() [2/2]

template<typename T >
double gsl::stats::int_skew_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_int_skew_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 869 of file statistics_int.hpp.

References mean(), and sd().

◆ int_Sn0_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::int_Sn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_int_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1253 of file statistics_int.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ int_Sn0_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::int_Sn0_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_int_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1364 of file statistics_int.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ int_Sn_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::int_Sn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_int_Sn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1269 of file statistics_int.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ int_Sn_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::int_Sn_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_int_Sn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1379 of file statistics_int.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ int_spearman() [1/2]

template<typename T , typename U >
double gsl::stats::int_spearman ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double  work[] 
)
inline

C++ version of gsl_stats_int_spearman().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1147 of file statistics_int.hpp.

◆ int_spearman() [2/2]

template<typename T , typename U >
double gsl::stats::int_spearman ( T const &  data1,
U const &  data2,
double  work[] 
)
inline

C++ version of gsl_stats_int_spearman().

Parameters
data1The first array of data values
data2The second array of data values
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1170 of file statistics_int.hpp.

◆ int_trmean_from_sorted_data()

template<typename T >
double gsl::stats::int_trmean_from_sorted_data ( double const  trim,
T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_int_trmean_from_sorted_data().

Parameters
trimA value on [0.0.5]
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
the mean with floor( alpha * n ) of data removed from both ends

Definition at line 1198 of file statistics_int.hpp.

References gsl::rstat::n().

◆ int_tss()

template<typename T >
double gsl::stats::int_tss ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_int_tss().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample total sum of squares

Definition at line 704 of file statistics_int.hpp.

◆ int_tss_m() [1/2]

template<typename T >
double gsl::stats::int_tss_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_int_tss_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 723 of file statistics_int.hpp.

References mean().

◆ int_tss_m() [2/2]

template<typename T >
double gsl::stats::int_tss_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_int_tss_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 714 of file statistics_int.hpp.

References mean().

◆ int_ttest() [1/2]

template<typename T , typename U >
double gsl::stats::int_ttest ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_int_ttest().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 976 of file statistics_int.hpp.

◆ int_ttest() [2/2]

template<typename T , typename U >
double gsl::stats::int_ttest ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_int_ttest().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 1077 of file statistics_int.hpp.

◆ int_variance()

template<typename T >
double gsl::stats::int_variance ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_int_variance().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample variance

Definition at line 646 of file statistics_int.hpp.

◆ int_variance_m() [1/2]

template<typename T >
double gsl::stats::int_variance_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_int_variance_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 820 of file statistics_int.hpp.

References mean().

◆ int_variance_m() [2/2]

template<typename T >
double gsl::stats::int_variance_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_int_variance_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 811 of file statistics_int.hpp.

References mean().

◆ int_variance_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::int_variance_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_int_variance_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 675 of file statistics_int.hpp.

References mean().

◆ int_variance_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::int_variance_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_int_variance_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 665 of file statistics_int.hpp.

References mean().

◆ kurtosis()

template<typename T >
double gsl::stats::kurtosis ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_kurtosis().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample kurtosis

Definition at line 1109 of file statistics_double.hpp.

◆ kurtosis_m_sd() [1/2]

template<typename T >
double gsl::stats::kurtosis_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_kurtosis_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 1609 of file statistics_double.hpp.

References mean(), and sd().

◆ kurtosis_m_sd() [2/2]

template<typename T >
double gsl::stats::kurtosis_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_kurtosis_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 1598 of file statistics_double.hpp.

References mean(), and sd().

◆ lag1_autocorrelation()

template<typename T >
double gsl::stats::lag1_autocorrelation ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_lag1_autocorrelation().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample lag 1 autocorrelation

Definition at line 1118 of file statistics_double.hpp.

◆ lag1_autocorrelation_m() [1/2]

template<typename T >
double gsl::stats::lag1_autocorrelation_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_lag1_autocorrelation_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 1629 of file statistics_double.hpp.

References mean().

◆ lag1_autocorrelation_m() [2/2]

template<typename T >
double gsl::stats::lag1_autocorrelation_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_lag1_autocorrelation_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 1619 of file statistics_double.hpp.

References mean().

◆ long_absdev()

template<typename T >
double gsl::stats::long_absdev ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_absdev().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample absolute deviation

Definition at line 732 of file statistics_long.hpp.

◆ long_absdev_m() [1/2]

template<typename T >
double gsl::stats::long_absdev_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_long_absdev_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 858 of file statistics_long.hpp.

References mean().

◆ long_absdev_m() [2/2]

template<typename T >
double gsl::stats::long_absdev_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_long_absdev_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 849 of file statistics_long.hpp.

References mean().

◆ long_correlation() [1/2]

template<typename T , typename U >
double gsl::stats::long_correlation ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_long_correlation().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample correlation

Definition at line 791 of file statistics_long.hpp.

◆ long_correlation() [2/2]

template<typename T , typename U >
double gsl::stats::long_correlation ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_long_correlation().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample correlation

Definition at line 801 of file statistics_long.hpp.

◆ long_covariance() [1/2]

template<typename T , typename U >
double gsl::stats::long_covariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_long_covariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample covariance

Definition at line 770 of file statistics_long.hpp.

◆ long_covariance() [2/2]

template<typename T , typename U >
double gsl::stats::long_covariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_long_covariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample covariance

Definition at line 780 of file statistics_long.hpp.

◆ long_covariance_m() [1/2]

template<typename T , typename U >
double gsl::stats::long_covariance_m ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_long_covariance_m().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 935 of file statistics_long.hpp.

◆ long_covariance_m() [2/2]

template<typename T >
double gsl::stats::long_covariance_m ( T const &  data1,
T const &  data2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_long_covariance_m().

Parameters
data1The first array of data values
data2The second array of data values
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 949 of file statistics_long.hpp.

◆ long_double_absdev()

template<typename T >
double gsl::stats::long_double_absdev ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_double_absdev().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample absolute deviation

Definition at line 1090 of file statistics_long_double.hpp.

◆ long_double_absdev_m() [1/2]

template<typename T >
double gsl::stats::long_double_absdev_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_long_double_absdev_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 1564 of file statistics_long_double.hpp.

References mean().

◆ long_double_absdev_m() [2/2]

template<typename T >
double gsl::stats::long_double_absdev_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_long_double_absdev_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 1555 of file statistics_long_double.hpp.

References mean().

◆ long_double_correlation() [1/2]

template<typename T , typename U >
double gsl::stats::long_double_correlation ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_long_double_correlation().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample correlation

Definition at line 1497 of file statistics_long_double.hpp.

◆ long_double_correlation() [2/2]

template<typename T , typename U >
double gsl::stats::long_double_correlation ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_long_double_correlation().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample correlation

Definition at line 1507 of file statistics_long_double.hpp.

◆ long_double_covariance() [1/2]

template<typename T , typename U >
double gsl::stats::long_double_covariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_long_double_covariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample covariance

Definition at line 1128 of file statistics_long_double.hpp.

◆ long_double_covariance() [2/2]

template<typename T , typename U >
double gsl::stats::long_double_covariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_long_double_covariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample covariance

Definition at line 1138 of file statistics_long_double.hpp.

◆ long_double_covariance_m() [1/2]

template<typename T , typename U >
double gsl::stats::long_double_covariance_m ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_long_double_covariance_m().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 1641 of file statistics_long_double.hpp.

◆ long_double_covariance_m() [2/2]

template<typename T >
double gsl::stats::long_double_covariance_m ( T const &  data1,
T const &  data2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_long_double_covariance_m().

Parameters
data1The first array of data values
data2The second array of data values
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 1655 of file statistics_long_double.hpp.

◆ long_double_gastwirth_from_sorted_data()

template<typename T >
double gsl::stats::long_double_gastwirth_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_long_double_gastwirth_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
Gastwirth’s location estimator

Definition at line 1911 of file statistics_long_double.hpp.

◆ long_double_kurtosis()

template<typename T >
double gsl::stats::long_double_kurtosis ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_double_kurtosis().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample kurtosis

Definition at line 1108 of file statistics_long_double.hpp.

◆ long_double_kurtosis_m_sd() [1/2]

template<typename T >
double gsl::stats::long_double_kurtosis_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_long_double_kurtosis_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 1608 of file statistics_long_double.hpp.

References mean(), and sd().

◆ long_double_kurtosis_m_sd() [2/2]

template<typename T >
double gsl::stats::long_double_kurtosis_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_long_double_kurtosis_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 1597 of file statistics_long_double.hpp.

References mean(), and sd().

◆ long_double_lag1_autocorrelation()

template<typename T >
double gsl::stats::long_double_lag1_autocorrelation ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_double_lag1_autocorrelation().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample lag 1 autocorrelation

Definition at line 1117 of file statistics_long_double.hpp.

◆ long_double_lag1_autocorrelation_m() [1/2]

template<typename T >
double gsl::stats::long_double_lag1_autocorrelation_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_long_double_lag1_autocorrelation_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 1628 of file statistics_long_double.hpp.

References mean().

◆ long_double_lag1_autocorrelation_m() [2/2]

template<typename T >
double gsl::stats::long_double_lag1_autocorrelation_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_long_double_lag1_autocorrelation_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 1618 of file statistics_long_double.hpp.

References mean().

◆ long_double_mad() [1/2]

template<typename T , typename U >
double gsl::stats::long_double_mad ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_long_double_mad().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1938 of file statistics_long_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_double_mad() [2/2]

template<typename T , typename U >
double gsl::stats::long_double_mad ( T const &  data,
U &  work 
)

C++ version of gsl_stats_long_double_mad().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 2050 of file statistics_long_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_double_mad0() [1/2]

template<typename T , typename U >
double gsl::stats::long_double_mad0 ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_long_double_mad0().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1922 of file statistics_long_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_double_mad0() [2/2]

template<typename T , typename U >
double gsl::stats::long_double_mad0 ( T const &  data,
U &  work 
)

C++ version of gsl_stats_long_double_mad0().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 2035 of file statistics_long_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_double_max()

template<typename T >
double gsl::stats::long_double_max ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_double_max().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The maximum value in the data set

Definition at line 1693 of file statistics_long_double.hpp.

◆ long_double_max_index()

template<typename T >
size_t gsl::stats::long_double_max_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_double_max_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the maximum value in the data set

Definition at line 1721 of file statistics_long_double.hpp.

◆ long_double_mean()

template<typename T >
double gsl::stats::long_double_mean ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_double_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample mean

Definition at line 995 of file statistics_long_double.hpp.

◆ long_double_median()

template<typename T >
double gsl::stats::long_double_median ( T &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_double_long_double_median().

Note that data may be rearranged.

Parameters
dataA data array: does not need to be sorted
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1890 of file statistics_long_double.hpp.

◆ long_double_median_from_sorted_data()

template<typename T >
double gsl::stats::long_double_median_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_double_median_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1750 of file statistics_long_double.hpp.

◆ long_double_min()

template<typename T >
double gsl::stats::long_double_min ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_double_min().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The minimum value in the data set

Definition at line 1702 of file statistics_long_double.hpp.

◆ long_double_min_index()

template<typename T >
size_t gsl::stats::long_double_min_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_double_min_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the minimum value in the data set

Definition at line 1730 of file statistics_long_double.hpp.

◆ long_double_minmax()

template<typename T >
void gsl::stats::long_double_minmax ( long double &  min,
long double &  max,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_double_minmax().

Parameters
minThe minimum of the data (return value)
maxThe maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1712 of file statistics_long_double.hpp.

References max(), and min().

◆ long_double_minmax_index()

template<typename T >
void gsl::stats::long_double_minmax_index ( size_t &  min_index,
size_t &  max_index,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_double_minmax_index().

Parameters
min_indexThe index of the minimum of the data (return value)
max_indexThe index of the maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1740 of file statistics_long_double.hpp.

References max_index(), and min_index().

◆ long_double_pvariance() [1/2]

template<typename T , typename U >
double gsl::stats::long_double_pvariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_long_double_pvariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The pooled variance of the data sets

Definition at line 1668 of file statistics_long_double.hpp.

◆ long_double_pvariance() [2/2]

template<typename T , typename U >
double gsl::stats::long_double_pvariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_long_double_pvariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The pooled variance of the data sets

Definition at line 1772 of file statistics_long_double.hpp.

◆ long_double_Qn0_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
double gsl::stats::long_double_Qn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_long_double_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of long doubles of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1988 of file statistics_long_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_double_Qn0_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::long_double_Qn0_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_long_double_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of long doubles of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 2097 of file statistics_long_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_double_Qn_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
double gsl::stats::long_double_Qn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_long_double_Qn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of long doubles of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 2012 of file statistics_long_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_double_Qn_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::long_double_Qn_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_long_double_Qn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of long doubles of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 2119 of file statistics_long_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_double_quantile_from_sorted_data() [1/2]

template<typename T >
double gsl::stats::long_double_quantile_from_sorted_data ( T const &  sorted_data,
double const  f 
)
inline

C++ version of gsl_stats_long_double_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1791 of file statistics_long_double.hpp.

◆ long_double_quantile_from_sorted_data() [2/2]

template<typename T >
double gsl::stats::long_double_quantile_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
double const  f 
)
inline

C++ version of gsl_stats_long_double_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1760 of file statistics_long_double.hpp.

◆ long_double_sd()

template<typename T >
double gsl::stats::long_double_sd ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_double_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample standard deviation

Definition at line 1013 of file statistics_long_double.hpp.

◆ long_double_sd_m() [1/2]

template<typename T >
double gsl::stats::long_double_sd_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_long_double_sd_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 1545 of file statistics_long_double.hpp.

References mean().

◆ long_double_sd_m() [2/2]

template<typename T >
double gsl::stats::long_double_sd_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_long_double_sd_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 1536 of file statistics_long_double.hpp.

References mean().

◆ long_double_sd_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::long_double_sd_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_long_double_sd_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 1053 of file statistics_long_double.hpp.

References mean().

◆ long_double_sd_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::long_double_sd_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_long_double_sd_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 1043 of file statistics_long_double.hpp.

References mean().

◆ long_double_skew()

template<typename T >
double gsl::stats::long_double_skew ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_double_skew().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample skewness

Definition at line 1099 of file statistics_long_double.hpp.

◆ long_double_skew_m_sd() [1/2]

template<typename T >
double gsl::stats::long_double_skew_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_long_double_skew_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 1586 of file statistics_long_double.hpp.

References mean(), and sd().

◆ long_double_skew_m_sd() [2/2]

template<typename T >
double gsl::stats::long_double_skew_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_long_double_skew_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 1575 of file statistics_long_double.hpp.

References mean(), and sd().

◆ long_double_Sn0_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::long_double_Sn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_long_double_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1955 of file statistics_long_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_double_Sn0_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::long_double_Sn0_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_long_double_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 2066 of file statistics_long_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_double_Sn_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::long_double_Sn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_long_double_Sn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1971 of file statistics_long_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_double_Sn_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::long_double_Sn_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_long_double_Sn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 2081 of file statistics_long_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_double_spearman() [1/2]

template<typename T , typename U >
double gsl::stats::long_double_spearman ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double  work[] 
)
inline

C++ version of gsl_stats_long_double_spearman().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1850 of file statistics_long_double.hpp.

◆ long_double_spearman() [2/2]

template<typename T , typename U >
double gsl::stats::long_double_spearman ( T const &  data1,
U const &  data2,
double  work[] 
)
inline

C++ version of gsl_stats_long_double_spearman().

Parameters
data1The first array of data values
data2The second array of data values
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1873 of file statistics_long_double.hpp.

◆ long_double_trmean_from_sorted_data()

template<typename T >
double gsl::stats::long_double_trmean_from_sorted_data ( double const  trim,
T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_double_long_double_trmean_from_sorted_data().

Parameters
trimA value on [0.0.5]
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
the mean with floor( alpha * n ) of data removed from both ends

Definition at line 1900 of file statistics_long_double.hpp.

◆ long_double_tss()

template<typename T >
double gsl::stats::long_double_tss ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_double_tss().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample total sum of squares

Definition at line 1062 of file statistics_long_double.hpp.

◆ long_double_tss_m() [1/2]

template<typename T >
double gsl::stats::long_double_tss_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_long_double_tss_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 1081 of file statistics_long_double.hpp.

References mean().

◆ long_double_tss_m() [2/2]

template<typename T >
double gsl::stats::long_double_tss_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_long_double_tss_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 1072 of file statistics_long_double.hpp.

References mean().

◆ long_double_ttest() [1/2]

template<typename T , typename U >
double gsl::stats::long_double_ttest ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_long_double_ttest().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 1682 of file statistics_long_double.hpp.

◆ long_double_ttest() [2/2]

template<typename T , typename U >
double gsl::stats::long_double_ttest ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_long_double_ttest().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 1782 of file statistics_long_double.hpp.

◆ long_double_variance()

template<typename T >
double gsl::stats::long_double_variance ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_double_variance().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample variance

Definition at line 1004 of file statistics_long_double.hpp.

◆ long_double_variance_m() [1/2]

template<typename T >
double gsl::stats::long_double_variance_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_long_double_variance_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 1526 of file statistics_long_double.hpp.

References mean().

◆ long_double_variance_m() [2/2]

template<typename T >
double gsl::stats::long_double_variance_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_long_double_variance_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 1517 of file statistics_long_double.hpp.

References mean().

◆ long_double_variance_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::long_double_variance_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_long_double_variance_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 1033 of file statistics_long_double.hpp.

References mean().

◆ long_double_variance_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::long_double_variance_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_long_double_variance_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 1023 of file statistics_long_double.hpp.

References mean().

◆ long_double_wabsdev() [1/2]

template<typename U , typename T >
double gsl::stats::long_double_wabsdev ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_long_double_wabsdev().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighetd absolute deviation estimate

Definition at line 1240 of file statistics_long_double.hpp.

◆ long_double_wabsdev() [2/2]

template<typename U , typename T >
double gsl::stats::long_double_wabsdev ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_long_double_wabsdev().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighetd absolute deviation estimate

Definition at line 1414 of file statistics_long_double.hpp.

◆ long_double_wabsdev_m() [1/2]

template<typename U , typename T >
double gsl::stats::long_double_wabsdev_m ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean 
)
inline

C++ version of gsl_stats_long_double_wabsdev_m().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
Returns
The weighted sample absolute deviation with given mean value

Definition at line 1303 of file statistics_long_double.hpp.

References wmean().

◆ long_double_wabsdev_m() [2/2]

template<typename U , typename T >
double gsl::stats::long_double_wabsdev_m ( U const &  w,
T const &  data,
double const  wmean 
)
inline

C++ version of gsl_stats_long_double_wabsdev_m().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
Returns
The weighted sample absolute deviation with given mean value

Definition at line 1462 of file statistics_long_double.hpp.

References wmean().

◆ long_double_wkurtosis() [1/2]

template<typename U , typename T >
double gsl::stats::long_double_wkurtosis ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_long_double_wkurtosis().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted sample kurtosis

Definition at line 1264 of file statistics_long_double.hpp.

◆ long_double_wkurtosis() [2/2]

template<typename U , typename T >
double gsl::stats::long_double_wkurtosis ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_long_double_wkurtosis().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted sample kurtosis

Definition at line 1432 of file statistics_long_double.hpp.

◆ long_double_wkurtosis_m_sd() [1/2]

template<typename U , typename T >
double gsl::stats::long_double_wkurtosis_m_sd ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean,
double const  wsd 
)
inline

C++ version of gsl_stats_long_double_wkurtosis_m_sd().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
wsdThe weighted standard deviation
Returns
The weighted sample kurtosis with given weighted mean and standard deviation

Definition at line 1333 of file statistics_long_double.hpp.

References wmean(), and wsd().

◆ long_double_wkurtosis_m_sd() [2/2]

template<typename U , typename T >
double gsl::stats::long_double_wkurtosis_m_sd ( U const &  w,
T const &  data,
double const  wmean,
double const  wsd 
)
inline

C++ version of gsl_stats_long_double_wkurtosis_m_sd().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
wsdThe weighted standard deviation
Returns
The weighted sample kurtosis with given weighted mean and standard deviation

Definition at line 1484 of file statistics_long_double.hpp.

References wmean(), and wsd().

◆ long_double_wmean() [1/2]

template<typename U , typename T >
double gsl::stats::long_double_wmean ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_long_double_wmean().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted sample mean

Definition at line 1150 of file statistics_long_double.hpp.

◆ long_double_wmean() [2/2]

template<typename U , typename T >
double gsl::stats::long_double_wmean ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_long_double_wmean().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted sample mean

Definition at line 1346 of file statistics_long_double.hpp.

◆ long_double_wsd() [1/2]

template<typename U , typename T >
double gsl::stats::long_double_wsd ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_long_double_wsd().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted sample standard deviation

Definition at line 1174 of file statistics_long_double.hpp.

◆ long_double_wsd() [2/2]

template<typename U , typename T >
double gsl::stats::long_double_wsd ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_long_double_wsd().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted sample standard deviation

Definition at line 1364 of file statistics_long_double.hpp.

◆ long_double_wsd_m() [1/2]

template<typename U , typename T >
double gsl::stats::long_double_wsd_m ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean 
)
inline

C++ version of gsl_stats_long_double_wsd_m().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
Returns
The weighted sample standard deviation with given mean value

Definition at line 1290 of file statistics_long_double.hpp.

References wmean().

◆ long_double_wsd_m() [2/2]

template<typename U , typename T >
double gsl::stats::long_double_wsd_m ( U const &  w,
T const &  data,
double const  wmean 
)
inline

C++ version of gsl_stats_long_double_wsd_m().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
Returns
The weighted sample standard deviation with given mean value

Definition at line 1452 of file statistics_long_double.hpp.

References wmean().

◆ long_double_wsd_with_fixed_mean() [1/2]

template<typename U , typename T >
double gsl::stats::long_double_wsd_with_fixed_mean ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_long_double_wsd_with_fixed_mean().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood weighted standard deviation estimate with given mean

Definition at line 1202 of file statistics_long_double.hpp.

References mean().

◆ long_double_wsd_with_fixed_mean() [2/2]

template<typename U , typename T >
double gsl::stats::long_double_wsd_with_fixed_mean ( U const &  w,
T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_wsd_with_fixed_mean().

Parameters
wThe weight array
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood weighted standard deviation estimate with given mean

Definition at line 1385 of file statistics_long_double.hpp.

References mean().

◆ long_double_wskew() [1/2]

template<typename U , typename T >
double gsl::stats::long_double_wskew ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_long_double_wskew().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted sample skewness

Definition at line 1252 of file statistics_long_double.hpp.

◆ long_double_wskew() [2/2]

template<typename U , typename T >
double gsl::stats::long_double_wskew ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_long_double_wskew().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted sample skewness

Definition at line 1423 of file statistics_long_double.hpp.

◆ long_double_wskew_m_sd() [1/2]

template<typename U , typename T >
double gsl::stats::long_double_wskew_m_sd ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean,
double const  wsd 
)
inline

C++ version of gsl_stats_long_double_wskew_m_sd().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
wsdThe weighted standard deviation
Returns
The weighted sample skewness with given weighted mean and standard deviation

Definition at line 1317 of file statistics_long_double.hpp.

References wmean(), and wsd().

◆ long_double_wskew_m_sd() [2/2]

template<typename U , typename T >
double gsl::stats::long_double_wskew_m_sd ( U const &  w,
T const &  data,
double const  wmean,
double const  wsd 
)
inline

C++ version of gsl_stats_long_double_wskew_m_sd().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
wsdThe weighted standard deviation
Returns
The weighted sample skewness with given weighted mean and standard deviation

Definition at line 1473 of file statistics_long_double.hpp.

References wmean(), and wsd().

◆ long_double_wtss() [1/2]

template<typename U , typename T >
double gsl::stats::long_double_wtss ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_long_double_wtss().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted total sum of squares estimate

Definition at line 1215 of file statistics_long_double.hpp.

◆ long_double_wtss() [2/2]

template<typename U , typename T >
double gsl::stats::long_double_wtss ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_long_double_wtss().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted total sum of squares estimate

Definition at line 1395 of file statistics_long_double.hpp.

◆ long_double_wtss_m() [1/2]

template<typename U , typename T >
double gsl::stats::long_double_wtss_m ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean 
)
inline

C++ version of gsl_stats_long_double_wtss_m().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
Returns
The weighted total sum of squares estimate with given mean value

Definition at line 1228 of file statistics_long_double.hpp.

References wmean().

◆ long_double_wtss_m() [2/2]

template<typename U , typename T >
double gsl::stats::long_double_wtss_m ( U const &  w,
T const &  data,
double const  wmean 
)
inline

C++ version of gsl_stats_long_double_wtss_m().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
Returns
The weighted total sum of squares estimate with given mean value

Definition at line 1405 of file statistics_long_double.hpp.

References wmean().

◆ long_double_wvariance() [1/2]

template<typename U , typename T >
double gsl::stats::long_double_wvariance ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_long_double_wvariance().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted sample variance

Definition at line 1162 of file statistics_long_double.hpp.

◆ long_double_wvariance() [2/2]

template<typename U , typename T >
double gsl::stats::long_double_wvariance ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_long_double_wvariance().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted sample variance

Definition at line 1355 of file statistics_long_double.hpp.

◆ long_double_wvariance_m() [1/2]

template<typename U , typename T >
double gsl::stats::long_double_wvariance_m ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean 
)
inline

C++ version of gsl_stats_long_double_wvariance_m().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
Returns
The weighted sample variance with given mean value

Definition at line 1277 of file statistics_long_double.hpp.

References wmean().

◆ long_double_wvariance_m() [2/2]

template<typename U , typename T >
double gsl::stats::long_double_wvariance_m ( U const &  w,
T const &  data,
double const  wmean 
)
inline

C++ version of gsl_stats_long_double_wvariance_m().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
Returns
The weighted sample variance with given mean value

Definition at line 1442 of file statistics_long_double.hpp.

References wmean().

◆ long_double_wvariance_with_fixed_mean() [1/2]

template<typename U , typename T >
double gsl::stats::long_double_wvariance_with_fixed_mean ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_long_double_wvariance_with_fixed_mean().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood weighted variance estimate with given mean

Definition at line 1187 of file statistics_long_double.hpp.

References mean().

◆ long_double_wvariance_with_fixed_mean() [2/2]

template<typename U , typename T >
double gsl::stats::long_double_wvariance_with_fixed_mean ( U const &  w,
T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_long_double_wvariance_with_fixed_mean().

Parameters
wThe weight array
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood weighted variance estimate with given mean

Definition at line 1374 of file statistics_long_double.hpp.

References mean().

◆ long_gastwirth_from_sorted_data()

template<typename T >
double gsl::stats::long_gastwirth_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_long_gastwirth_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
Gastwirth’s location estimator

Definition at line 1209 of file statistics_long.hpp.

References gsl::rstat::n().

◆ long_kurtosis()

template<typename T >
double gsl::stats::long_kurtosis ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_kurtosis().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample kurtosis

Definition at line 750 of file statistics_long.hpp.

◆ long_kurtosis_m_sd() [1/2]

template<typename T >
double gsl::stats::long_kurtosis_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_long_kurtosis_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 902 of file statistics_long.hpp.

References mean(), and sd().

◆ long_kurtosis_m_sd() [2/2]

template<typename T >
double gsl::stats::long_kurtosis_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_long_kurtosis_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 891 of file statistics_long.hpp.

References mean(), and sd().

◆ long_lag1_autocorrelation()

template<typename T >
double gsl::stats::long_lag1_autocorrelation ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_lag1_autocorrelation().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample lag 1 autocorrelation

Definition at line 759 of file statistics_long.hpp.

◆ long_lag1_autocorrelation_m() [1/2]

template<typename T >
double gsl::stats::long_lag1_autocorrelation_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_long_lag1_autocorrelation_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 922 of file statistics_long.hpp.

References mean().

◆ long_lag1_autocorrelation_m() [2/2]

template<typename T >
double gsl::stats::long_lag1_autocorrelation_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_long_lag1_autocorrelation_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 912 of file statistics_long.hpp.

References mean().

◆ long_mad() [1/2]

template<typename T , typename U >
double gsl::stats::long_mad ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_long_mad().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1236 of file statistics_long.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_mad() [2/2]

template<typename T , typename U >
double gsl::stats::long_mad ( T const &  data,
U &  work 
)

C++ version of gsl_stats_long_mad().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1348 of file statistics_long.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_mad0() [1/2]

template<typename T , typename U >
double gsl::stats::long_mad0 ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_long_mad0().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1220 of file statistics_long.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_mad0() [2/2]

template<typename T , typename U >
double gsl::stats::long_mad0 ( T const &  data,
U &  work 
)

C++ version of gsl_stats_long_mad0().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1333 of file statistics_long.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_max()

template<typename T >
double gsl::stats::long_max ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_max().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The maximum value in the data set

Definition at line 987 of file statistics_long.hpp.

◆ long_max_index()

template<typename T >
size_t gsl::stats::long_max_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_max_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the maximum value in the data set

Definition at line 1015 of file statistics_long.hpp.

◆ long_mean()

template<typename T >
double gsl::stats::long_mean ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample mean

Definition at line 637 of file statistics_long.hpp.

◆ long_median()

template<typename T >
double gsl::stats::long_median ( T &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_median().

Note that data may be rearranged.

Parameters
dataA data array: does not need to be sorted
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1187 of file statistics_long.hpp.

References gsl::rstat::n().

◆ long_median_from_sorted_data()

template<typename T >
double gsl::stats::long_median_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_median_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1044 of file statistics_long.hpp.

◆ long_min()

template<typename T >
double gsl::stats::long_min ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_min().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The minimum value in the data set

Definition at line 996 of file statistics_long.hpp.

◆ long_min_index()

template<typename T >
size_t gsl::stats::long_min_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_min_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the minimum value in the data set

Definition at line 1024 of file statistics_long.hpp.

◆ long_minmax()

template<typename T >
void gsl::stats::long_minmax ( long &  min,
long &  max,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_minmax().

Parameters
minThe minimum of the data (return value)
maxThe maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1006 of file statistics_long.hpp.

References max(), and min().

◆ long_minmax_index()

template<typename T >
void gsl::stats::long_minmax_index ( size_t &  min_index,
size_t &  max_index,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_minmax_index().

Parameters
min_indexThe index of the minimum of the data (return value)
max_indexThe index of the maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1034 of file statistics_long.hpp.

References max_index(), and min_index().

◆ long_pvariance() [1/2]

template<typename T , typename U >
double gsl::stats::long_pvariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_long_pvariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The pooled variance of the data sets

Definition at line 962 of file statistics_long.hpp.

◆ long_pvariance() [2/2]

template<typename T , typename U >
double gsl::stats::long_pvariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_long_pvariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The pooled variance of the data sets

Definition at line 1067 of file statistics_long.hpp.

◆ long_Qn0_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
long gsl::stats::long_Qn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_long_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of longs of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1286 of file statistics_long.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_Qn0_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::long_Qn0_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_long_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of longs of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1395 of file statistics_long.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_Qn_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
long gsl::stats::long_Qn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_long_Qn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of longs of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 1310 of file statistics_long.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_Qn_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::long_Qn_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_long_Qn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of longs of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 1417 of file statistics_long.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_quantile_from_sorted_data() [1/2]

template<typename T >
double gsl::stats::long_quantile_from_sorted_data ( T const &  sorted_data,
double const  f 
)
inline

C++ version of gsl_stats_long_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1086 of file statistics_long.hpp.

◆ long_quantile_from_sorted_data() [2/2]

template<typename T >
double gsl::stats::long_quantile_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
double const  f 
)
inline

C++ version of gsl_stats_long_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1054 of file statistics_long.hpp.

References gsl::rstat::n().

◆ long_sd()

template<typename T >
double gsl::stats::long_sd ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample standard deviation

Definition at line 655 of file statistics_long.hpp.

◆ long_sd_m() [1/2]

template<typename T >
double gsl::stats::long_sd_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_long_sd_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 839 of file statistics_long.hpp.

References mean().

◆ long_sd_m() [2/2]

template<typename T >
double gsl::stats::long_sd_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_long_sd_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 830 of file statistics_long.hpp.

References mean().

◆ long_sd_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::long_sd_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_long_sd_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 695 of file statistics_long.hpp.

References mean().

◆ long_sd_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::long_sd_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_long_sd_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 685 of file statistics_long.hpp.

References mean().

◆ long_skew()

template<typename T >
double gsl::stats::long_skew ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_skew().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample skewness

Definition at line 741 of file statistics_long.hpp.

◆ long_skew_m_sd() [1/2]

template<typename T >
double gsl::stats::long_skew_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_long_skew_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 880 of file statistics_long.hpp.

References mean(), and sd().

◆ long_skew_m_sd() [2/2]

template<typename T >
double gsl::stats::long_skew_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_long_skew_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 869 of file statistics_long.hpp.

References mean(), and sd().

◆ long_Sn0_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::long_Sn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_long_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1253 of file statistics_long.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_Sn0_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::long_Sn0_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_long_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1364 of file statistics_long.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_Sn_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::long_Sn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_long_Sn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1269 of file statistics_long.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_Sn_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::long_Sn_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_long_Sn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1379 of file statistics_long.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ long_spearman() [1/2]

template<typename T , typename U >
double gsl::stats::long_spearman ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double  work[] 
)
inline

C++ version of gsl_stats_long_spearman().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1147 of file statistics_long.hpp.

◆ long_spearman() [2/2]

template<typename T , typename U >
double gsl::stats::long_spearman ( T const &  data1,
U const &  data2,
double  work[] 
)
inline

C++ version of gsl_stats_long_spearman().

Parameters
data1The first array of data values
data2The second array of data values
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1170 of file statistics_long.hpp.

◆ long_trmean_from_sorted_data()

template<typename T >
double gsl::stats::long_trmean_from_sorted_data ( double const  trim,
T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_long_trmean_from_sorted_data().

Parameters
trimA value on [0.0.5]
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
the mean with floor( alpha * n ) of data removed from both ends

Definition at line 1198 of file statistics_long.hpp.

References gsl::rstat::n().

◆ long_tss()

template<typename T >
double gsl::stats::long_tss ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_tss().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample total sum of squares

Definition at line 704 of file statistics_long.hpp.

◆ long_tss_m() [1/2]

template<typename T >
double gsl::stats::long_tss_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_long_tss_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 723 of file statistics_long.hpp.

References mean().

◆ long_tss_m() [2/2]

template<typename T >
double gsl::stats::long_tss_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_long_tss_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 714 of file statistics_long.hpp.

References mean().

◆ long_ttest() [1/2]

template<typename T , typename U >
double gsl::stats::long_ttest ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_long_ttest().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 976 of file statistics_long.hpp.

◆ long_ttest() [2/2]

template<typename T , typename U >
double gsl::stats::long_ttest ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_long_ttest().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 1077 of file statistics_long.hpp.

◆ long_variance()

template<typename T >
double gsl::stats::long_variance ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_long_variance().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample variance

Definition at line 646 of file statistics_long.hpp.

◆ long_variance_m() [1/2]

template<typename T >
double gsl::stats::long_variance_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_long_variance_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 820 of file statistics_long.hpp.

References mean().

◆ long_variance_m() [2/2]

template<typename T >
double gsl::stats::long_variance_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_long_variance_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 811 of file statistics_long.hpp.

References mean().

◆ long_variance_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::long_variance_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_long_variance_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 675 of file statistics_long.hpp.

References mean().

◆ long_variance_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::long_variance_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_long_variance_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 665 of file statistics_long.hpp.

References mean().

◆ mad() [1/2]

template<typename T , typename U >
double gsl::stats::mad ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_mad().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1939 of file statistics_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ mad() [2/2]

template<typename T , typename U >
double gsl::stats::mad ( T const &  data,
U &  work 
)

C++ version of gsl_stats_mad().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 2051 of file statistics_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ mad0() [1/2]

template<typename T , typename U >
double gsl::stats::mad0 ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_mad0().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1923 of file statistics_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ mad0() [2/2]

template<typename T , typename U >
double gsl::stats::mad0 ( T const &  data,
U &  work 
)

C++ version of gsl_stats_mad0().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 2036 of file statistics_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ max()

template<typename T >
double gsl::stats::max ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_max().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The maximum value in the data set

Definition at line 1694 of file statistics_double.hpp.

Referenced by char_minmax(), float_minmax(), int_minmax(), long_double_minmax(), long_minmax(), minmax(), short_minmax(), uchar_minmax(), uint_minmax(), ulong_minmax(), and ushort_minmax().

◆ max_index()

template<typename T >
size_t gsl::stats::max_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_max_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the maximum value in the data set

Definition at line 1722 of file statistics_double.hpp.

Referenced by char_minmax_index(), float_minmax_index(), int_minmax_index(), long_double_minmax_index(), long_minmax_index(), minmax_index(), short_minmax_index(), uchar_minmax_index(), uint_minmax_index(), ulong_minmax_index(), and ushort_minmax_index().

◆ mean()

template<typename T >
double gsl::stats::mean ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample mean

Definition at line 996 of file statistics_double.hpp.

Referenced by absdev_m(), char_absdev_m(), char_kurtosis_m_sd(), char_lag1_autocorrelation_m(), char_sd_m(), char_sd_with_fixed_mean(), char_skew_m_sd(), char_tss_m(), char_variance_m(), char_variance_with_fixed_mean(), float_absdev_m(), float_kurtosis_m_sd(), float_lag1_autocorrelation_m(), float_sd_m(), float_sd_with_fixed_mean(), float_skew_m_sd(), float_tss_m(), float_variance_m(), float_variance_with_fixed_mean(), float_wsd_with_fixed_mean(), float_wvariance_with_fixed_mean(), int_absdev_m(), int_kurtosis_m_sd(), int_lag1_autocorrelation_m(), int_sd_m(), int_sd_with_fixed_mean(), int_skew_m_sd(), int_tss_m(), int_variance_m(), int_variance_with_fixed_mean(), kurtosis_m_sd(), lag1_autocorrelation_m(), long_absdev_m(), long_double_absdev_m(), long_double_kurtosis_m_sd(), long_double_lag1_autocorrelation_m(), long_double_sd_m(), long_double_sd_with_fixed_mean(), long_double_skew_m_sd(), long_double_tss_m(), long_double_variance_m(), long_double_variance_with_fixed_mean(), long_double_wsd_with_fixed_mean(), long_double_wvariance_with_fixed_mean(), long_kurtosis_m_sd(), long_lag1_autocorrelation_m(), long_sd_m(), long_sd_with_fixed_mean(), long_skew_m_sd(), long_tss_m(), long_variance_m(), long_variance_with_fixed_mean(), sd_m(), sd_with_fixed_mean(), short_absdev_m(), short_kurtosis_m_sd(), short_lag1_autocorrelation_m(), short_sd_m(), short_sd_with_fixed_mean(), short_skew_m_sd(), short_tss_m(), short_variance_m(), short_variance_with_fixed_mean(), skew_m_sd(), tss_m(), uchar_absdev_m(), uchar_kurtosis_m_sd(), uchar_lag1_autocorrelation_m(), uchar_sd_m(), uchar_sd_with_fixed_mean(), uchar_skew_m_sd(), uchar_tss_m(), uchar_variance_m(), uchar_variance_with_fixed_mean(), uint_absdev_m(), uint_kurtosis_m_sd(), uint_lag1_autocorrelation_m(), uint_sd_m(), uint_sd_with_fixed_mean(), uint_skew_m_sd(), uint_tss_m(), uint_variance_m(), uint_variance_with_fixed_mean(), ulong_absdev_m(), ulong_kurtosis_m_sd(), ulong_lag1_autocorrelation_m(), ulong_sd_m(), ulong_sd_with_fixed_mean(), ulong_skew_m_sd(), ulong_tss_m(), ulong_variance_m(), ulong_variance_with_fixed_mean(), ushort_absdev_m(), ushort_kurtosis_m_sd(), ushort_lag1_autocorrelation_m(), ushort_sd_m(), ushort_sd_with_fixed_mean(), ushort_skew_m_sd(), ushort_tss_m(), ushort_variance_m(), ushort_variance_with_fixed_mean(), variance_m(), variance_with_fixed_mean(), wsd_with_fixed_mean(), and wvariance_with_fixed_mean().

◆ median()

template<typename T >
double gsl::stats::median ( T &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_double_median().

Note that data may be rearranged.

Parameters
dataA data array: does not need to be sorted
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1891 of file statistics_double.hpp.

◆ median_from_sorted_data()

template<typename T >
double gsl::stats::median_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_median_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1751 of file statistics_double.hpp.

◆ min()

template<typename T >
double gsl::stats::min ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_min().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The minimum value in the data set

Definition at line 1703 of file statistics_double.hpp.

Referenced by char_minmax(), float_minmax(), int_minmax(), long_double_minmax(), long_minmax(), minmax(), short_minmax(), uchar_minmax(), uint_minmax(), ulong_minmax(), and ushort_minmax().

◆ min_index()

template<typename T >
size_t gsl::stats::min_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_min_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the minimum value in the data set

Definition at line 1731 of file statistics_double.hpp.

Referenced by char_minmax_index(), float_minmax_index(), int_minmax_index(), long_double_minmax_index(), long_minmax_index(), minmax_index(), short_minmax_index(), uchar_minmax_index(), uint_minmax_index(), ulong_minmax_index(), and ushort_minmax_index().

◆ minmax()

template<typename T >
void gsl::stats::minmax ( double &  min,
double &  max,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_minmax().

Parameters
minThe minimum of the data (return value)
maxThe maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1713 of file statistics_double.hpp.

References max(), and min().

◆ minmax_index()

template<typename T >
void gsl::stats::minmax_index ( size_t &  min_index,
size_t &  max_index,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_minmax_index().

Parameters
min_indexThe index of the minimum of the data (return value)
max_indexThe index of the maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1741 of file statistics_double.hpp.

References max_index(), and min_index().

◆ pvariance() [1/2]

template<typename T , typename U >
double gsl::stats::pvariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_pvariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The pooled variance of the data sets

Definition at line 1669 of file statistics_double.hpp.

◆ pvariance() [2/2]

template<typename T , typename U >
double gsl::stats::pvariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_pvariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The pooled variance of the data sets

Definition at line 1773 of file statistics_double.hpp.

◆ Qn0_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
double gsl::stats::Qn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1989 of file statistics_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ Qn0_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::Qn0_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 2098 of file statistics_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ Qn_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
double gsl::stats::Qn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_Qn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 2013 of file statistics_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ Qn_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::Qn_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_Qn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 2120 of file statistics_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ quantile_from_sorted_data() [1/2]

template<typename T >
double gsl::stats::quantile_from_sorted_data ( T const &  sorted_data,
double const  f 
)
inline

C++ version of gsl_stats_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1792 of file statistics_double.hpp.

◆ quantile_from_sorted_data() [2/2]

template<typename T >
double gsl::stats::quantile_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
double const  f 
)
inline

C++ version of gsl_stats_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1761 of file statistics_double.hpp.

◆ sd()

template<typename T >
double gsl::stats::sd ( T const &  data,
size_t const  stride = 1 
)
inline

◆ sd_m() [1/2]

template<typename T >
double gsl::stats::sd_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_sd_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 1546 of file statistics_double.hpp.

References mean().

◆ sd_m() [2/2]

template<typename T >
double gsl::stats::sd_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_sd_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 1537 of file statistics_double.hpp.

References mean().

◆ sd_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::sd_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_sd_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 1054 of file statistics_double.hpp.

References mean().

◆ sd_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::sd_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_sd_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 1044 of file statistics_double.hpp.

References mean().

◆ short_absdev()

template<typename T >
double gsl::stats::short_absdev ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_short_absdev().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample absolute deviation

Definition at line 732 of file statistics_short.hpp.

◆ short_absdev_m() [1/2]

template<typename T >
double gsl::stats::short_absdev_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_short_absdev_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 858 of file statistics_short.hpp.

References mean().

◆ short_absdev_m() [2/2]

template<typename T >
double gsl::stats::short_absdev_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_short_absdev_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 849 of file statistics_short.hpp.

References mean().

◆ short_correlation() [1/2]

template<typename T , typename U >
double gsl::stats::short_correlation ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_short_correlation().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample correlation

Definition at line 791 of file statistics_short.hpp.

◆ short_correlation() [2/2]

template<typename T , typename U >
double gsl::stats::short_correlation ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_short_correlation().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample correlation

Definition at line 801 of file statistics_short.hpp.

◆ short_covariance() [1/2]

template<typename T , typename U >
double gsl::stats::short_covariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_short_covariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample covariance

Definition at line 770 of file statistics_short.hpp.

◆ short_covariance() [2/2]

template<typename T , typename U >
double gsl::stats::short_covariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_short_covariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample covariance

Definition at line 780 of file statistics_short.hpp.

◆ short_covariance_m() [1/2]

template<typename T , typename U >
double gsl::stats::short_covariance_m ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_short_covariance_m().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 935 of file statistics_short.hpp.

◆ short_covariance_m() [2/2]

template<typename T >
double gsl::stats::short_covariance_m ( T const &  data1,
T const &  data2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_short_covariance_m().

Parameters
data1The first array of data values
data2The second array of data values
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 949 of file statistics_short.hpp.

◆ short_gastwirth_from_sorted_data()

template<typename T >
double gsl::stats::short_gastwirth_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_short_gastwirth_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
Gastwirth’s location estimator

Definition at line 1209 of file statistics_short.hpp.

References gsl::rstat::n().

◆ short_kurtosis()

template<typename T >
double gsl::stats::short_kurtosis ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_short_kurtosis().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample kurtosis

Definition at line 750 of file statistics_short.hpp.

◆ short_kurtosis_m_sd() [1/2]

template<typename T >
double gsl::stats::short_kurtosis_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_short_kurtosis_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 902 of file statistics_short.hpp.

References mean(), and sd().

◆ short_kurtosis_m_sd() [2/2]

template<typename T >
double gsl::stats::short_kurtosis_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_short_kurtosis_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 891 of file statistics_short.hpp.

References mean(), and sd().

◆ short_lag1_autocorrelation()

template<typename T >
double gsl::stats::short_lag1_autocorrelation ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_short_lag1_autocorrelation().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample lag 1 autocorrelation

Definition at line 759 of file statistics_short.hpp.

◆ short_lag1_autocorrelation_m() [1/2]

template<typename T >
double gsl::stats::short_lag1_autocorrelation_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_short_lag1_autocorrelation_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 922 of file statistics_short.hpp.

References mean().

◆ short_lag1_autocorrelation_m() [2/2]

template<typename T >
double gsl::stats::short_lag1_autocorrelation_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_short_lag1_autocorrelation_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 912 of file statistics_short.hpp.

References mean().

◆ short_mad() [1/2]

template<typename T , typename U >
double gsl::stats::short_mad ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_short_mad().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1236 of file statistics_short.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ short_mad() [2/2]

template<typename T , typename U >
double gsl::stats::short_mad ( T const &  data,
U &  work 
)

C++ version of gsl_stats_short_mad().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1348 of file statistics_short.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ short_mad0() [1/2]

template<typename T , typename U >
double gsl::stats::short_mad0 ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_short_mad0().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1220 of file statistics_short.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ short_mad0() [2/2]

template<typename T , typename U >
double gsl::stats::short_mad0 ( T const &  data,
U &  work 
)

C++ version of gsl_stats_short_mad0().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1333 of file statistics_short.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ short_max()

template<typename T >
double gsl::stats::short_max ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_short_max().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The maximum value in the data set

Definition at line 987 of file statistics_short.hpp.

◆ short_max_index()

template<typename T >
size_t gsl::stats::short_max_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_short_max_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the maximum value in the data set

Definition at line 1015 of file statistics_short.hpp.

◆ short_mean()

template<typename T >
double gsl::stats::short_mean ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_short_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample mean

Definition at line 637 of file statistics_short.hpp.

◆ short_median()

template<typename T >
double gsl::stats::short_median ( T &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_short_median().

Note that data may be rearranged.

Parameters
dataA data array: does not need to be sorted
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1187 of file statistics_short.hpp.

References gsl::rstat::n().

◆ short_median_from_sorted_data()

template<typename T >
double gsl::stats::short_median_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_short_median_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1044 of file statistics_short.hpp.

◆ short_min()

template<typename T >
double gsl::stats::short_min ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_short_min().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The minimum value in the data set

Definition at line 996 of file statistics_short.hpp.

◆ short_min_index()

template<typename T >
size_t gsl::stats::short_min_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_short_min_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the minimum value in the data set

Definition at line 1024 of file statistics_short.hpp.

◆ short_minmax()

template<typename T >
void gsl::stats::short_minmax ( short &  min,
short &  max,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_short_minmax().

Parameters
minThe minimum of the data (return value)
maxThe maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1006 of file statistics_short.hpp.

References max(), and min().

◆ short_minmax_index()

template<typename T >
void gsl::stats::short_minmax_index ( size_t &  min_index,
size_t &  max_index,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_short_minmax_index().

Parameters
min_indexThe index of the minimum of the data (return value)
max_indexThe index of the maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1034 of file statistics_short.hpp.

References max_index(), and min_index().

◆ short_pvariance() [1/2]

template<typename T , typename U >
double gsl::stats::short_pvariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_short_pvariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The pooled variance of the data sets

Definition at line 962 of file statistics_short.hpp.

◆ short_pvariance() [2/2]

template<typename T , typename U >
double gsl::stats::short_pvariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_short_pvariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The pooled variance of the data sets

Definition at line 1067 of file statistics_short.hpp.

◆ short_Qn0_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
short gsl::stats::short_Qn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_short_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of shorts of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1286 of file statistics_short.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ short_Qn0_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::short_Qn0_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_short_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of shorts of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1395 of file statistics_short.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ short_Qn_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
short gsl::stats::short_Qn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_short_Qn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of shorts of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 1310 of file statistics_short.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ short_Qn_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::short_Qn_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_short_Qn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of shorts of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 1417 of file statistics_short.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ short_quantile_from_sorted_data() [1/2]

template<typename T >
double gsl::stats::short_quantile_from_sorted_data ( T const &  sorted_data,
double const  f 
)
inline

C++ version of gsl_stats_short_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1086 of file statistics_short.hpp.

◆ short_quantile_from_sorted_data() [2/2]

template<typename T >
double gsl::stats::short_quantile_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
double const  f 
)
inline

C++ version of gsl_stats_short_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1054 of file statistics_short.hpp.

References gsl::rstat::n().

◆ short_sd()

template<typename T >
double gsl::stats::short_sd ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_short_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample standard deviation

Definition at line 655 of file statistics_short.hpp.

◆ short_sd_m() [1/2]

template<typename T >
double gsl::stats::short_sd_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_short_sd_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 839 of file statistics_short.hpp.

References mean().

◆ short_sd_m() [2/2]

template<typename T >
double gsl::stats::short_sd_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_short_sd_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 830 of file statistics_short.hpp.

References mean().

◆ short_sd_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::short_sd_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_short_sd_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 695 of file statistics_short.hpp.

References mean().

◆ short_sd_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::short_sd_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_short_sd_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 685 of file statistics_short.hpp.

References mean().

◆ short_skew()

template<typename T >
double gsl::stats::short_skew ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_short_skew().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample skewness

Definition at line 741 of file statistics_short.hpp.

◆ short_skew_m_sd() [1/2]

template<typename T >
double gsl::stats::short_skew_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_short_skew_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 880 of file statistics_short.hpp.

References mean(), and sd().

◆ short_skew_m_sd() [2/2]

template<typename T >
double gsl::stats::short_skew_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_short_skew_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 869 of file statistics_short.hpp.

References mean(), and sd().

◆ short_Sn0_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::short_Sn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_short_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1253 of file statistics_short.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ short_Sn0_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::short_Sn0_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_short_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1364 of file statistics_short.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ short_Sn_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::short_Sn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_short_Sn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1269 of file statistics_short.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ short_Sn_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::short_Sn_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_short_Sn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1379 of file statistics_short.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ short_spearman() [1/2]

template<typename T , typename U >
double gsl::stats::short_spearman ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double  work[] 
)
inline

C++ version of gsl_stats_short_spearman().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1147 of file statistics_short.hpp.

◆ short_spearman() [2/2]

template<typename T , typename U >
double gsl::stats::short_spearman ( T const &  data1,
U const &  data2,
double  work[] 
)
inline

C++ version of gsl_stats_short_spearman().

Parameters
data1The first array of data values
data2The second array of data values
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1170 of file statistics_short.hpp.

◆ short_trmean_from_sorted_data()

template<typename T >
double gsl::stats::short_trmean_from_sorted_data ( double const  trim,
T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_short_trmean_from_sorted_data().

Parameters
trimA value on [0.0.5]
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
the mean with floor( alpha * n ) of data removed from both ends

Definition at line 1198 of file statistics_short.hpp.

References gsl::rstat::n().

◆ short_tss()

template<typename T >
double gsl::stats::short_tss ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_short_tss().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample total sum of squares

Definition at line 704 of file statistics_short.hpp.

◆ short_tss_m() [1/2]

template<typename T >
double gsl::stats::short_tss_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_short_tss_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 723 of file statistics_short.hpp.

References mean().

◆ short_tss_m() [2/2]

template<typename T >
double gsl::stats::short_tss_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_short_tss_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 714 of file statistics_short.hpp.

References mean().

◆ short_ttest() [1/2]

template<typename T , typename U >
double gsl::stats::short_ttest ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_short_ttest().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 976 of file statistics_short.hpp.

◆ short_ttest() [2/2]

template<typename T , typename U >
double gsl::stats::short_ttest ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_short_ttest().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 1077 of file statistics_short.hpp.

◆ short_variance()

template<typename T >
double gsl::stats::short_variance ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_short_variance().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample variance

Definition at line 646 of file statistics_short.hpp.

◆ short_variance_m() [1/2]

template<typename T >
double gsl::stats::short_variance_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_short_variance_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 820 of file statistics_short.hpp.

References mean().

◆ short_variance_m() [2/2]

template<typename T >
double gsl::stats::short_variance_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_short_variance_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 811 of file statistics_short.hpp.

References mean().

◆ short_variance_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::short_variance_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_short_variance_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 675 of file statistics_short.hpp.

References mean().

◆ short_variance_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::short_variance_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_short_variance_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 665 of file statistics_short.hpp.

References mean().

◆ skew()

template<typename T >
double gsl::stats::skew ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_skew().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample skewness

Definition at line 1100 of file statistics_double.hpp.

◆ skew_m_sd() [1/2]

template<typename T >
double gsl::stats::skew_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_skew_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 1587 of file statistics_double.hpp.

References mean(), and sd().

◆ skew_m_sd() [2/2]

template<typename T >
double gsl::stats::skew_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_skew_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 1576 of file statistics_double.hpp.

References mean(), and sd().

◆ Sn0_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::Sn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1956 of file statistics_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ Sn0_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::Sn0_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 2067 of file statistics_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ Sn_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::Sn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_Sn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1972 of file statistics_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ Sn_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::Sn_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_Sn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 2082 of file statistics_double.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ spearman() [1/2]

template<typename T , typename U >
double gsl::stats::spearman ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double  work[] 
)
inline

C++ version of gsl_stats_spearman().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1851 of file statistics_double.hpp.

◆ spearman() [2/2]

template<typename T , typename U >
double gsl::stats::spearman ( T const &  data1,
U const &  data2,
double  work[] 
)
inline

C++ version of gsl_stats_spearman().

Parameters
data1The first array of data values
data2The second array of data values
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1874 of file statistics_double.hpp.

◆ trmean_from_sorted_data()

template<typename T >
double gsl::stats::trmean_from_sorted_data ( double const  trim,
T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_double_trmean_from_sorted_data().

Parameters
trimA value on [0.0.5]
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
the mean with floor( alpha * n ) of data removed from both ends

Definition at line 1901 of file statistics_double.hpp.

◆ tss()

template<typename T >
double gsl::stats::tss ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_tss().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample total sum of squares

Definition at line 1063 of file statistics_double.hpp.

◆ tss_m() [1/2]

template<typename T >
double gsl::stats::tss_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_tss_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 1082 of file statistics_double.hpp.

References mean().

◆ tss_m() [2/2]

template<typename T >
double gsl::stats::tss_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_tss_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 1073 of file statistics_double.hpp.

References mean().

◆ ttest() [1/2]

template<typename T , typename U >
double gsl::stats::ttest ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_ttest().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 1683 of file statistics_double.hpp.

◆ ttest() [2/2]

template<typename T , typename U >
double gsl::stats::ttest ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_ttest().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 1783 of file statistics_double.hpp.

◆ uchar_absdev()

template<typename T >
double gsl::stats::uchar_absdev ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uchar_absdev().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample absolute deviation

Definition at line 732 of file statistics_uchar.hpp.

◆ uchar_absdev_m() [1/2]

template<typename T >
double gsl::stats::uchar_absdev_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_uchar_absdev_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 858 of file statistics_uchar.hpp.

References mean().

◆ uchar_absdev_m() [2/2]

template<typename T >
double gsl::stats::uchar_absdev_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_uchar_absdev_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 849 of file statistics_uchar.hpp.

References mean().

◆ uchar_correlation() [1/2]

template<typename T , typename U >
double gsl::stats::uchar_correlation ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_uchar_correlation().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample correlation

Definition at line 791 of file statistics_uchar.hpp.

◆ uchar_correlation() [2/2]

template<typename T , typename U >
double gsl::stats::uchar_correlation ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_uchar_correlation().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample correlation

Definition at line 801 of file statistics_uchar.hpp.

◆ uchar_covariance() [1/2]

template<typename T , typename U >
double gsl::stats::uchar_covariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_uchar_covariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample covariance

Definition at line 770 of file statistics_uchar.hpp.

◆ uchar_covariance() [2/2]

template<typename T , typename U >
double gsl::stats::uchar_covariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_uchar_covariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample covariance

Definition at line 780 of file statistics_uchar.hpp.

◆ uchar_covariance_m() [1/2]

template<typename T , typename U >
double gsl::stats::uchar_covariance_m ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_uchar_covariance_m().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 935 of file statistics_uchar.hpp.

◆ uchar_covariance_m() [2/2]

template<typename T >
double gsl::stats::uchar_covariance_m ( T const &  data1,
T const &  data2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_uchar_covariance_m().

Parameters
data1The first array of data values
data2The second array of data values
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 949 of file statistics_uchar.hpp.

◆ uchar_gastwirth_from_sorted_data()

template<typename T >
double gsl::stats::uchar_gastwirth_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_uchar_gastwirth_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
Gastwirth’s location estimator

Definition at line 1209 of file statistics_uchar.hpp.

References gsl::rstat::n().

◆ uchar_kurtosis()

template<typename T >
double gsl::stats::uchar_kurtosis ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uchar_kurtosis().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample kurtosis

Definition at line 750 of file statistics_uchar.hpp.

◆ uchar_kurtosis_m_sd() [1/2]

template<typename T >
double gsl::stats::uchar_kurtosis_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_uchar_kurtosis_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 902 of file statistics_uchar.hpp.

References mean(), and sd().

◆ uchar_kurtosis_m_sd() [2/2]

template<typename T >
double gsl::stats::uchar_kurtosis_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_uchar_kurtosis_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 891 of file statistics_uchar.hpp.

References mean(), and sd().

◆ uchar_lag1_autocorrelation()

template<typename T >
double gsl::stats::uchar_lag1_autocorrelation ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uchar_lag1_autocorrelation().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample lag 1 autocorrelation

Definition at line 759 of file statistics_uchar.hpp.

◆ uchar_lag1_autocorrelation_m() [1/2]

template<typename T >
double gsl::stats::uchar_lag1_autocorrelation_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_uchar_lag1_autocorrelation_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 922 of file statistics_uchar.hpp.

References mean().

◆ uchar_lag1_autocorrelation_m() [2/2]

template<typename T >
double gsl::stats::uchar_lag1_autocorrelation_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_uchar_lag1_autocorrelation_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 912 of file statistics_uchar.hpp.

References mean().

◆ uchar_mad() [1/2]

template<typename T , typename U >
double gsl::stats::uchar_mad ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_uchar_mad().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1236 of file statistics_uchar.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uchar_mad() [2/2]

template<typename T , typename U >
double gsl::stats::uchar_mad ( T const &  data,
U &  work 
)

C++ version of gsl_stats_uchar_mad().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1348 of file statistics_uchar.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uchar_mad0() [1/2]

template<typename T , typename U >
double gsl::stats::uchar_mad0 ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_uchar_mad0().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1220 of file statistics_uchar.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uchar_mad0() [2/2]

template<typename T , typename U >
double gsl::stats::uchar_mad0 ( T const &  data,
U &  work 
)

C++ version of gsl_stats_uchar_mad0().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1333 of file statistics_uchar.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uchar_max()

template<typename T >
double gsl::stats::uchar_max ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uchar_max().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The maximum value in the data set

Definition at line 987 of file statistics_uchar.hpp.

◆ uchar_max_index()

template<typename T >
size_t gsl::stats::uchar_max_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uchar_max_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the maximum value in the data set

Definition at line 1015 of file statistics_uchar.hpp.

◆ uchar_mean()

template<typename T >
double gsl::stats::uchar_mean ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uchar_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample mean

Definition at line 637 of file statistics_uchar.hpp.

◆ uchar_median()

template<typename T >
double gsl::stats::uchar_median ( T &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uchar_median().

Note that data may be rearranged.

Parameters
dataA data array: does not need to be sorted
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1187 of file statistics_uchar.hpp.

References gsl::rstat::n().

◆ uchar_median_from_sorted_data()

template<typename T >
double gsl::stats::uchar_median_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uchar_median_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1044 of file statistics_uchar.hpp.

◆ uchar_min()

template<typename T >
double gsl::stats::uchar_min ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uchar_min().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The minimum value in the data set

Definition at line 996 of file statistics_uchar.hpp.

◆ uchar_min_index()

template<typename T >
size_t gsl::stats::uchar_min_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uchar_min_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the minimum value in the data set

Definition at line 1024 of file statistics_uchar.hpp.

◆ uchar_minmax()

template<typename T >
void gsl::stats::uchar_minmax ( unsigned char &  min,
unsigned char &  max,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uchar_minmax().

Parameters
minThe minimum of the data (return value)
maxThe maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1006 of file statistics_uchar.hpp.

References max(), and min().

◆ uchar_minmax_index()

template<typename T >
void gsl::stats::uchar_minmax_index ( size_t &  min_index,
size_t &  max_index,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uchar_minmax_index().

Parameters
min_indexThe index of the minimum of the data (return value)
max_indexThe index of the maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1034 of file statistics_uchar.hpp.

References max_index(), and min_index().

◆ uchar_pvariance() [1/2]

template<typename T , typename U >
double gsl::stats::uchar_pvariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_uchar_pvariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The pooled variance of the data sets

Definition at line 962 of file statistics_uchar.hpp.

◆ uchar_pvariance() [2/2]

template<typename T , typename U >
double gsl::stats::uchar_pvariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_uchar_pvariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The pooled variance of the data sets

Definition at line 1067 of file statistics_uchar.hpp.

◆ uchar_Qn0_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
unsigned char gsl::stats::uchar_Qn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_uchar_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of unsigned chars of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1286 of file statistics_uchar.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uchar_Qn0_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::uchar_Qn0_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_uchar_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of unsigned chars of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1395 of file statistics_uchar.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uchar_Qn_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
unsigned char gsl::stats::uchar_Qn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_uchar_Qn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of unsigned chars of length n
work_intAn array of ints of length n
Returns
Qn

Definition at line 1310 of file statistics_uchar.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uchar_Qn_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::uchar_Qn_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_uchar_Qn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of unsigned chars of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 1417 of file statistics_uchar.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uchar_quantile_from_sorted_data() [1/2]

template<typename T >
double gsl::stats::uchar_quantile_from_sorted_data ( T const &  sorted_data,
double const  f 
)
inline

C++ version of gsl_stats_uchar_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1086 of file statistics_uchar.hpp.

◆ uchar_quantile_from_sorted_data() [2/2]

template<typename T >
double gsl::stats::uchar_quantile_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
double const  f 
)
inline

C++ version of gsl_stats_uchar_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1054 of file statistics_uchar.hpp.

References gsl::rstat::n().

◆ uchar_sd()

template<typename T >
double gsl::stats::uchar_sd ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uchar_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample standard deviation

Definition at line 655 of file statistics_uchar.hpp.

◆ uchar_sd_m() [1/2]

template<typename T >
double gsl::stats::uchar_sd_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_uchar_sd_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 839 of file statistics_uchar.hpp.

References mean().

◆ uchar_sd_m() [2/2]

template<typename T >
double gsl::stats::uchar_sd_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_uchar_sd_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 830 of file statistics_uchar.hpp.

References mean().

◆ uchar_sd_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::uchar_sd_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_uchar_sd_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 695 of file statistics_uchar.hpp.

References mean().

◆ uchar_sd_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::uchar_sd_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_uchar_sd_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 685 of file statistics_uchar.hpp.

References mean().

◆ uchar_skew()

template<typename T >
double gsl::stats::uchar_skew ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uchar_skew().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample skewness

Definition at line 741 of file statistics_uchar.hpp.

◆ uchar_skew_m_sd() [1/2]

template<typename T >
double gsl::stats::uchar_skew_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_uchar_skew_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 880 of file statistics_uchar.hpp.

References mean(), and sd().

◆ uchar_skew_m_sd() [2/2]

template<typename T >
double gsl::stats::uchar_skew_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_uchar_skew_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 869 of file statistics_uchar.hpp.

References mean(), and sd().

◆ uchar_Sn0_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::uchar_Sn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_uchar_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1253 of file statistics_uchar.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uchar_Sn0_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::uchar_Sn0_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_uchar_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1364 of file statistics_uchar.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uchar_Sn_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::uchar_Sn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_uchar_Sn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1269 of file statistics_uchar.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uchar_Sn_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::uchar_Sn_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_uchar_Sn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1379 of file statistics_uchar.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uchar_spearman() [1/2]

template<typename T , typename U >
double gsl::stats::uchar_spearman ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double  work[] 
)
inline

C++ version of gsl_stats_uchar_spearman().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1147 of file statistics_uchar.hpp.

◆ uchar_spearman() [2/2]

template<typename T , typename U >
double gsl::stats::uchar_spearman ( T const &  data1,
U const &  data2,
double  work[] 
)
inline

C++ version of gsl_stats_uchar_spearman().

Parameters
data1The first array of data values
data2The second array of data values
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1170 of file statistics_uchar.hpp.

◆ uchar_trmean_from_sorted_data()

template<typename T >
double gsl::stats::uchar_trmean_from_sorted_data ( double const  trim,
T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_uchar_trmean_from_sorted_data().

Parameters
trimA value on [0.0.5]
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
the mean with floor( alpha * n ) of data removed from both ends

Definition at line 1198 of file statistics_uchar.hpp.

References gsl::rstat::n().

◆ uchar_tss()

template<typename T >
double gsl::stats::uchar_tss ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uchar_tss().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample total sum of squares

Definition at line 704 of file statistics_uchar.hpp.

◆ uchar_tss_m() [1/2]

template<typename T >
double gsl::stats::uchar_tss_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_uchar_tss_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 723 of file statistics_uchar.hpp.

References mean().

◆ uchar_tss_m() [2/2]

template<typename T >
double gsl::stats::uchar_tss_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_uchar_tss_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 714 of file statistics_uchar.hpp.

References mean().

◆ uchar_ttest() [1/2]

template<typename T , typename U >
double gsl::stats::uchar_ttest ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_uchar_ttest().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 976 of file statistics_uchar.hpp.

◆ uchar_ttest() [2/2]

template<typename T , typename U >
double gsl::stats::uchar_ttest ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_uchar_ttest().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 1077 of file statistics_uchar.hpp.

◆ uchar_variance()

template<typename T >
double gsl::stats::uchar_variance ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uchar_variance().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample variance

Definition at line 646 of file statistics_uchar.hpp.

◆ uchar_variance_m() [1/2]

template<typename T >
double gsl::stats::uchar_variance_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_uchar_variance_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 820 of file statistics_uchar.hpp.

References mean().

◆ uchar_variance_m() [2/2]

template<typename T >
double gsl::stats::uchar_variance_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_uchar_variance_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 811 of file statistics_uchar.hpp.

References mean().

◆ uchar_variance_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::uchar_variance_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_uchar_variance_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 675 of file statistics_uchar.hpp.

References mean().

◆ uchar_variance_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::uchar_variance_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_uchar_variance_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 665 of file statistics_uchar.hpp.

References mean().

◆ uint_absdev()

template<typename T >
double gsl::stats::uint_absdev ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uint_absdev().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample absolute deviation

Definition at line 732 of file statistics_uint.hpp.

◆ uint_absdev_m() [1/2]

template<typename T >
double gsl::stats::uint_absdev_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_uint_absdev_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 858 of file statistics_uint.hpp.

References mean().

◆ uint_absdev_m() [2/2]

template<typename T >
double gsl::stats::uint_absdev_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_uint_absdev_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 849 of file statistics_uint.hpp.

References mean().

◆ uint_correlation() [1/2]

template<typename T , typename U >
double gsl::stats::uint_correlation ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_uint_correlation().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample correlation

Definition at line 791 of file statistics_uint.hpp.

◆ uint_correlation() [2/2]

template<typename T , typename U >
double gsl::stats::uint_correlation ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_uint_correlation().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample correlation

Definition at line 801 of file statistics_uint.hpp.

◆ uint_covariance() [1/2]

template<typename T , typename U >
double gsl::stats::uint_covariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_uint_covariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample covariance

Definition at line 770 of file statistics_uint.hpp.

◆ uint_covariance() [2/2]

template<typename T , typename U >
double gsl::stats::uint_covariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_uint_covariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample covariance

Definition at line 780 of file statistics_uint.hpp.

◆ uint_covariance_m() [1/2]

template<typename T , typename U >
double gsl::stats::uint_covariance_m ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_uint_covariance_m().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 935 of file statistics_uint.hpp.

◆ uint_covariance_m() [2/2]

template<typename T >
double gsl::stats::uint_covariance_m ( T const &  data1,
T const &  data2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_uint_covariance_m().

Parameters
data1The first array of data values
data2The second array of data values
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 949 of file statistics_uint.hpp.

◆ uint_gastwirth_from_sorted_data()

template<typename T >
double gsl::stats::uint_gastwirth_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_uint_gastwirth_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
Gastwirth’s location estimator

Definition at line 1209 of file statistics_uint.hpp.

References gsl::rstat::n().

◆ uint_kurtosis()

template<typename T >
double gsl::stats::uint_kurtosis ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uint_kurtosis().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample kurtosis

Definition at line 750 of file statistics_uint.hpp.

◆ uint_kurtosis_m_sd() [1/2]

template<typename T >
double gsl::stats::uint_kurtosis_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_uint_kurtosis_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 902 of file statistics_uint.hpp.

References mean(), and sd().

◆ uint_kurtosis_m_sd() [2/2]

template<typename T >
double gsl::stats::uint_kurtosis_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_uint_kurtosis_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 891 of file statistics_uint.hpp.

References mean(), and sd().

◆ uint_lag1_autocorrelation()

template<typename T >
double gsl::stats::uint_lag1_autocorrelation ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uint_lag1_autocorrelation().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample lag 1 autocorrelation

Definition at line 759 of file statistics_uint.hpp.

◆ uint_lag1_autocorrelation_m() [1/2]

template<typename T >
double gsl::stats::uint_lag1_autocorrelation_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_uint_lag1_autocorrelation_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 922 of file statistics_uint.hpp.

References mean().

◆ uint_lag1_autocorrelation_m() [2/2]

template<typename T >
double gsl::stats::uint_lag1_autocorrelation_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_uint_lag1_autocorrelation_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 912 of file statistics_uint.hpp.

References mean().

◆ uint_mad() [1/2]

template<typename T , typename U >
double gsl::stats::uint_mad ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_uint_mad().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1236 of file statistics_uint.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uint_mad() [2/2]

template<typename T , typename U >
double gsl::stats::uint_mad ( T const &  data,
U &  work 
)

C++ version of gsl_stats_uint_mad().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1348 of file statistics_uint.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uint_mad0() [1/2]

template<typename T , typename U >
double gsl::stats::uint_mad0 ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_uint_mad0().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1220 of file statistics_uint.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uint_mad0() [2/2]

template<typename T , typename U >
double gsl::stats::uint_mad0 ( T const &  data,
U &  work 
)

C++ version of gsl_stats_uint_mad0().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1333 of file statistics_uint.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uint_max()

template<typename T >
double gsl::stats::uint_max ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uint_max().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The maximum value in the data set

Definition at line 987 of file statistics_uint.hpp.

◆ uint_max_index()

template<typename T >
size_t gsl::stats::uint_max_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uint_max_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the maximum value in the data set

Definition at line 1015 of file statistics_uint.hpp.

◆ uint_mean()

template<typename T >
double gsl::stats::uint_mean ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uint_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample mean

Definition at line 637 of file statistics_uint.hpp.

◆ uint_median()

template<typename T >
double gsl::stats::uint_median ( T &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uint_median().

Note that data may be rearranged.

Parameters
dataA data array: does not need to be sorted
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1187 of file statistics_uint.hpp.

References gsl::rstat::n().

◆ uint_median_from_sorted_data()

template<typename T >
double gsl::stats::uint_median_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uint_median_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1044 of file statistics_uint.hpp.

◆ uint_min()

template<typename T >
double gsl::stats::uint_min ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uint_min().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The minimum value in the data set

Definition at line 996 of file statistics_uint.hpp.

◆ uint_min_index()

template<typename T >
size_t gsl::stats::uint_min_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uint_min_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the minimum value in the data set

Definition at line 1024 of file statistics_uint.hpp.

◆ uint_minmax()

template<typename T >
void gsl::stats::uint_minmax ( unsigned int &  min,
unsigned int &  max,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uint_minmax().

Parameters
minThe minimum of the data (return value)
maxThe maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1006 of file statistics_uint.hpp.

References max(), and min().

◆ uint_minmax_index()

template<typename T >
void gsl::stats::uint_minmax_index ( size_t &  min_index,
size_t &  max_index,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uint_minmax_index().

Parameters
min_indexThe index of the minimum of the data (return value)
max_indexThe index of the maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1034 of file statistics_uint.hpp.

References max_index(), and min_index().

◆ uint_pvariance() [1/2]

template<typename T , typename U >
double gsl::stats::uint_pvariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_uint_pvariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The pooled variance of the data sets

Definition at line 962 of file statistics_uint.hpp.

◆ uint_pvariance() [2/2]

template<typename T , typename U >
double gsl::stats::uint_pvariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_uint_pvariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The pooled variance of the data sets

Definition at line 1067 of file statistics_uint.hpp.

◆ uint_Qn0_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
unsigned int gsl::stats::uint_Qn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_uint_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of unsigned ints of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1286 of file statistics_uint.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uint_Qn0_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::uint_Qn0_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_uint_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of unsigned ints of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1395 of file statistics_uint.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uint_Qn_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
unsigned int gsl::stats::uint_Qn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_uint_Qn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of unsigned ints of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 1310 of file statistics_uint.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uint_Qn_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::uint_Qn_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_uint_Qn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of unsigned ints of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 1417 of file statistics_uint.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uint_quantile_from_sorted_data() [1/2]

template<typename T >
double gsl::stats::uint_quantile_from_sorted_data ( T const &  sorted_data,
double const  f 
)
inline

C++ version of gsl_stats_uint_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1086 of file statistics_uint.hpp.

◆ uint_quantile_from_sorted_data() [2/2]

template<typename T >
double gsl::stats::uint_quantile_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
double const  f 
)
inline

C++ version of gsl_stats_uint_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1054 of file statistics_uint.hpp.

References gsl::rstat::n().

◆ uint_sd()

template<typename T >
double gsl::stats::uint_sd ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uint_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample standard deviation

Definition at line 655 of file statistics_uint.hpp.

◆ uint_sd_m() [1/2]

template<typename T >
double gsl::stats::uint_sd_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_uint_sd_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 839 of file statistics_uint.hpp.

References mean().

◆ uint_sd_m() [2/2]

template<typename T >
double gsl::stats::uint_sd_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_uint_sd_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 830 of file statistics_uint.hpp.

References mean().

◆ uint_sd_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::uint_sd_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_uint_sd_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 695 of file statistics_uint.hpp.

References mean().

◆ uint_sd_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::uint_sd_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_uint_sd_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 685 of file statistics_uint.hpp.

References mean().

◆ uint_skew()

template<typename T >
double gsl::stats::uint_skew ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uint_skew().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample skewness

Definition at line 741 of file statistics_uint.hpp.

◆ uint_skew_m_sd() [1/2]

template<typename T >
double gsl::stats::uint_skew_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_uint_skew_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 880 of file statistics_uint.hpp.

References mean(), and sd().

◆ uint_skew_m_sd() [2/2]

template<typename T >
double gsl::stats::uint_skew_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_uint_skew_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 869 of file statistics_uint.hpp.

References mean(), and sd().

◆ uint_Sn0_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::uint_Sn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_uint_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1253 of file statistics_uint.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uint_Sn0_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::uint_Sn0_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_uint_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1364 of file statistics_uint.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uint_Sn_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::uint_Sn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_uint_Sn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1269 of file statistics_uint.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uint_Sn_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::uint_Sn_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_uint_Sn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1379 of file statistics_uint.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ uint_spearman() [1/2]

template<typename T , typename U >
double gsl::stats::uint_spearman ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double  work[] 
)
inline

C++ version of gsl_stats_uint_spearman().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1147 of file statistics_uint.hpp.

◆ uint_spearman() [2/2]

template<typename T , typename U >
double gsl::stats::uint_spearman ( T const &  data1,
U const &  data2,
double  work[] 
)
inline

C++ version of gsl_stats_uint_spearman().

Parameters
data1The first array of data values
data2The second array of data values
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1170 of file statistics_uint.hpp.

◆ uint_trmean_from_sorted_data()

template<typename T >
double gsl::stats::uint_trmean_from_sorted_data ( double const  trim,
T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_uint_trmean_from_sorted_data().

Parameters
trimA value on [0.0.5]
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
the mean with floor( alpha * n ) of data removed from both ends

Definition at line 1198 of file statistics_uint.hpp.

References gsl::rstat::n().

◆ uint_tss()

template<typename T >
double gsl::stats::uint_tss ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uint_tss().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample total sum of squares

Definition at line 704 of file statistics_uint.hpp.

◆ uint_tss_m() [1/2]

template<typename T >
double gsl::stats::uint_tss_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_uint_tss_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 723 of file statistics_uint.hpp.

References mean().

◆ uint_tss_m() [2/2]

template<typename T >
double gsl::stats::uint_tss_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_uint_tss_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 714 of file statistics_uint.hpp.

References mean().

◆ uint_ttest() [1/2]

template<typename T , typename U >
double gsl::stats::uint_ttest ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_uint_ttest().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 976 of file statistics_uint.hpp.

◆ uint_ttest() [2/2]

template<typename T , typename U >
double gsl::stats::uint_ttest ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_uint_ttest().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 1077 of file statistics_uint.hpp.

◆ uint_variance()

template<typename T >
double gsl::stats::uint_variance ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_uint_variance().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample variance

Definition at line 646 of file statistics_uint.hpp.

◆ uint_variance_m() [1/2]

template<typename T >
double gsl::stats::uint_variance_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_uint_variance_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 820 of file statistics_uint.hpp.

References mean().

◆ uint_variance_m() [2/2]

template<typename T >
double gsl::stats::uint_variance_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_uint_variance_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 811 of file statistics_uint.hpp.

References mean().

◆ uint_variance_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::uint_variance_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_uint_variance_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 675 of file statistics_uint.hpp.

References mean().

◆ uint_variance_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::uint_variance_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_uint_variance_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 665 of file statistics_uint.hpp.

References mean().

◆ ulong_absdev()

template<typename T >
double gsl::stats::ulong_absdev ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ulong_absdev().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample absolute deviation

Definition at line 732 of file statistics_ulong.hpp.

◆ ulong_absdev_m() [1/2]

template<typename T >
double gsl::stats::ulong_absdev_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_ulong_absdev_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 858 of file statistics_ulong.hpp.

References mean().

◆ ulong_absdev_m() [2/2]

template<typename T >
double gsl::stats::ulong_absdev_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_ulong_absdev_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 849 of file statistics_ulong.hpp.

References mean().

◆ ulong_correlation() [1/2]

template<typename T , typename U >
double gsl::stats::ulong_correlation ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_ulong_correlation().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample correlation

Definition at line 791 of file statistics_ulong.hpp.

◆ ulong_correlation() [2/2]

template<typename T , typename U >
double gsl::stats::ulong_correlation ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_ulong_correlation().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample correlation

Definition at line 801 of file statistics_ulong.hpp.

◆ ulong_covariance() [1/2]

template<typename T , typename U >
double gsl::stats::ulong_covariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_ulong_covariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample covariance

Definition at line 770 of file statistics_ulong.hpp.

◆ ulong_covariance() [2/2]

template<typename T , typename U >
double gsl::stats::ulong_covariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_ulong_covariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample covariance

Definition at line 780 of file statistics_ulong.hpp.

◆ ulong_covariance_m() [1/2]

template<typename T , typename U >
double gsl::stats::ulong_covariance_m ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_ulong_covariance_m().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 935 of file statistics_ulong.hpp.

◆ ulong_covariance_m() [2/2]

template<typename T >
double gsl::stats::ulong_covariance_m ( T const &  data1,
T const &  data2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_ulong_covariance_m().

Parameters
data1The first array of data values
data2The second array of data values
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 949 of file statistics_ulong.hpp.

◆ ulong_gastwirth_from_sorted_data()

template<typename T >
double gsl::stats::ulong_gastwirth_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_ulong_gastwirth_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
Gastwirth’s location estimator

Definition at line 1209 of file statistics_ulong.hpp.

References gsl::rstat::n().

◆ ulong_kurtosis()

template<typename T >
double gsl::stats::ulong_kurtosis ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ulong_kurtosis().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample kurtosis

Definition at line 750 of file statistics_ulong.hpp.

◆ ulong_kurtosis_m_sd() [1/2]

template<typename T >
double gsl::stats::ulong_kurtosis_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_ulong_kurtosis_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 902 of file statistics_ulong.hpp.

References mean(), and sd().

◆ ulong_kurtosis_m_sd() [2/2]

template<typename T >
double gsl::stats::ulong_kurtosis_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_ulong_kurtosis_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 891 of file statistics_ulong.hpp.

References mean(), and sd().

◆ ulong_lag1_autocorrelation()

template<typename T >
double gsl::stats::ulong_lag1_autocorrelation ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ulong_lag1_autocorrelation().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample lag 1 autocorrelation

Definition at line 759 of file statistics_ulong.hpp.

◆ ulong_lag1_autocorrelation_m() [1/2]

template<typename T >
double gsl::stats::ulong_lag1_autocorrelation_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_ulong_lag1_autocorrelation_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 922 of file statistics_ulong.hpp.

References mean().

◆ ulong_lag1_autocorrelation_m() [2/2]

template<typename T >
double gsl::stats::ulong_lag1_autocorrelation_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_ulong_lag1_autocorrelation_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 912 of file statistics_ulong.hpp.

References mean().

◆ ulong_mad() [1/2]

template<typename T , typename U >
double gsl::stats::ulong_mad ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_ulong_mad().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1236 of file statistics_ulong.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ulong_mad() [2/2]

template<typename T , typename U >
double gsl::stats::ulong_mad ( T const &  data,
U &  work 
)

C++ version of gsl_stats_ulong_mad().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1348 of file statistics_ulong.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ulong_mad0() [1/2]

template<typename T , typename U >
double gsl::stats::ulong_mad0 ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_ulong_mad0().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1220 of file statistics_ulong.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ulong_mad0() [2/2]

template<typename T , typename U >
double gsl::stats::ulong_mad0 ( T const &  data,
U &  work 
)

C++ version of gsl_stats_ulong_mad0().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1333 of file statistics_ulong.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ulong_max()

template<typename T >
double gsl::stats::ulong_max ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ulong_max().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The maximum value in the data set

Definition at line 987 of file statistics_ulong.hpp.

◆ ulong_max_index()

template<typename T >
size_t gsl::stats::ulong_max_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ulong_max_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the maximum value in the data set

Definition at line 1015 of file statistics_ulong.hpp.

◆ ulong_mean()

template<typename T >
double gsl::stats::ulong_mean ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ulong_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample mean

Definition at line 637 of file statistics_ulong.hpp.

◆ ulong_median()

template<typename T >
double gsl::stats::ulong_median ( T &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ulong_median().

Note that data may be rearranged.

Parameters
dataA data array: does not need to be sorted
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1187 of file statistics_ulong.hpp.

References gsl::rstat::n().

◆ ulong_median_from_sorted_data()

template<typename T >
double gsl::stats::ulong_median_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ulong_median_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1044 of file statistics_ulong.hpp.

◆ ulong_min()

template<typename T >
double gsl::stats::ulong_min ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ulong_min().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The minimum value in the data set

Definition at line 996 of file statistics_ulong.hpp.

◆ ulong_min_index()

template<typename T >
size_t gsl::stats::ulong_min_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ulong_min_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the minimum value in the data set

Definition at line 1024 of file statistics_ulong.hpp.

◆ ulong_minmax()

template<typename T >
void gsl::stats::ulong_minmax ( unsigned long &  min,
unsigned long &  max,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ulong_minmax().

Parameters
minThe minimum of the data (return value)
maxThe maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1006 of file statistics_ulong.hpp.

References max(), and min().

◆ ulong_minmax_index()

template<typename T >
void gsl::stats::ulong_minmax_index ( size_t &  min_index,
size_t &  max_index,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ulong_minmax_index().

Parameters
min_indexThe index of the minimum of the data (return value)
max_indexThe index of the maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1034 of file statistics_ulong.hpp.

References max_index(), and min_index().

◆ ulong_pvariance() [1/2]

template<typename T , typename U >
double gsl::stats::ulong_pvariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_ulong_pvariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The pooled variance of the data sets

Definition at line 962 of file statistics_ulong.hpp.

◆ ulong_pvariance() [2/2]

template<typename T , typename U >
double gsl::stats::ulong_pvariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_ulong_pvariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The pooled variance of the data sets

Definition at line 1067 of file statistics_ulong.hpp.

◆ ulong_Qn0_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
unsigned long gsl::stats::ulong_Qn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_ulong_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of unsigned longs of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1286 of file statistics_ulong.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ulong_Qn0_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::ulong_Qn0_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_ulong_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of unsigned longs of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1395 of file statistics_ulong.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ulong_Qn_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
unsigned long gsl::stats::ulong_Qn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_ulong_Qn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of unsigned longs of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 1310 of file statistics_ulong.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ulong_Qn_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::ulong_Qn_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_ulong_Qn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of unsigned longs of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 1417 of file statistics_ulong.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ulong_quantile_from_sorted_data() [1/2]

template<typename T >
double gsl::stats::ulong_quantile_from_sorted_data ( T const &  sorted_data,
double const  f 
)
inline

C++ version of gsl_stats_ulong_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1086 of file statistics_ulong.hpp.

◆ ulong_quantile_from_sorted_data() [2/2]

template<typename T >
double gsl::stats::ulong_quantile_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
double const  f 
)
inline

C++ version of gsl_stats_ulong_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1054 of file statistics_ulong.hpp.

References gsl::rstat::n().

◆ ulong_sd()

template<typename T >
double gsl::stats::ulong_sd ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ulong_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample standard deviation

Definition at line 655 of file statistics_ulong.hpp.

◆ ulong_sd_m() [1/2]

template<typename T >
double gsl::stats::ulong_sd_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_ulong_sd_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 839 of file statistics_ulong.hpp.

References mean().

◆ ulong_sd_m() [2/2]

template<typename T >
double gsl::stats::ulong_sd_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_ulong_sd_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 830 of file statistics_ulong.hpp.

References mean().

◆ ulong_sd_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::ulong_sd_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_ulong_sd_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 695 of file statistics_ulong.hpp.

References mean().

◆ ulong_sd_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::ulong_sd_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_ulong_sd_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 685 of file statistics_ulong.hpp.

References mean().

◆ ulong_skew()

template<typename T >
double gsl::stats::ulong_skew ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ulong_skew().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample skewness

Definition at line 741 of file statistics_ulong.hpp.

◆ ulong_skew_m_sd() [1/2]

template<typename T >
double gsl::stats::ulong_skew_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_ulong_skew_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 880 of file statistics_ulong.hpp.

References mean(), and sd().

◆ ulong_skew_m_sd() [2/2]

template<typename T >
double gsl::stats::ulong_skew_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_ulong_skew_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 869 of file statistics_ulong.hpp.

References mean(), and sd().

◆ ulong_Sn0_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::ulong_Sn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_ulong_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1253 of file statistics_ulong.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ulong_Sn0_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::ulong_Sn0_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_ulong_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1364 of file statistics_ulong.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ulong_Sn_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::ulong_Sn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_ulong_Sn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1269 of file statistics_ulong.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ulong_Sn_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::ulong_Sn_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_ulong_Sn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1379 of file statistics_ulong.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ulong_spearman() [1/2]

template<typename T , typename U >
double gsl::stats::ulong_spearman ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double  work[] 
)
inline

C++ version of gsl_stats_ulong_spearman().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1147 of file statistics_ulong.hpp.

◆ ulong_spearman() [2/2]

template<typename T , typename U >
double gsl::stats::ulong_spearman ( T const &  data1,
U const &  data2,
double  work[] 
)
inline

C++ version of gsl_stats_ulong_spearman().

Parameters
data1The first array of data values
data2The second array of data values
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1170 of file statistics_ulong.hpp.

◆ ulong_trmean_from_sorted_data()

template<typename T >
double gsl::stats::ulong_trmean_from_sorted_data ( double const  trim,
T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_ulong_trmean_from_sorted_data().

Parameters
trimA value on [0.0.5]
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
the mean with floor( alpha * n ) of data removed from both ends

Definition at line 1198 of file statistics_ulong.hpp.

References gsl::rstat::n().

◆ ulong_tss()

template<typename T >
double gsl::stats::ulong_tss ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ulong_tss().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample total sum of squares

Definition at line 704 of file statistics_ulong.hpp.

◆ ulong_tss_m() [1/2]

template<typename T >
double gsl::stats::ulong_tss_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_ulong_tss_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 723 of file statistics_ulong.hpp.

References mean().

◆ ulong_tss_m() [2/2]

template<typename T >
double gsl::stats::ulong_tss_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_ulong_tss_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 714 of file statistics_ulong.hpp.

References mean().

◆ ulong_ttest() [1/2]

template<typename T , typename U >
double gsl::stats::ulong_ttest ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_ulong_ttest().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 976 of file statistics_ulong.hpp.

◆ ulong_ttest() [2/2]

template<typename T , typename U >
double gsl::stats::ulong_ttest ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_ulong_ttest().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 1077 of file statistics_ulong.hpp.

◆ ulong_variance()

template<typename T >
double gsl::stats::ulong_variance ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ulong_variance().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample variance

Definition at line 646 of file statistics_ulong.hpp.

◆ ulong_variance_m() [1/2]

template<typename T >
double gsl::stats::ulong_variance_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_ulong_variance_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 820 of file statistics_ulong.hpp.

References mean().

◆ ulong_variance_m() [2/2]

template<typename T >
double gsl::stats::ulong_variance_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_ulong_variance_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 811 of file statistics_ulong.hpp.

References mean().

◆ ulong_variance_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::ulong_variance_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_ulong_variance_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 675 of file statistics_ulong.hpp.

References mean().

◆ ulong_variance_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::ulong_variance_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_ulong_variance_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 665 of file statistics_ulong.hpp.

References mean().

◆ ushort_absdev()

template<typename T >
double gsl::stats::ushort_absdev ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ushort_absdev().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample absolute deviation

Definition at line 732 of file statistics_ushort.hpp.

◆ ushort_absdev_m() [1/2]

template<typename T >
double gsl::stats::ushort_absdev_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_ushort_absdev_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 858 of file statistics_ushort.hpp.

References mean().

◆ ushort_absdev_m() [2/2]

template<typename T >
double gsl::stats::ushort_absdev_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_ushort_absdev_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample absolute deviation from the given mean value

Definition at line 849 of file statistics_ushort.hpp.

References mean().

◆ ushort_correlation() [1/2]

template<typename T , typename U >
double gsl::stats::ushort_correlation ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_ushort_correlation().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample correlation

Definition at line 791 of file statistics_ushort.hpp.

◆ ushort_correlation() [2/2]

template<typename T , typename U >
double gsl::stats::ushort_correlation ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_ushort_correlation().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample correlation

Definition at line 801 of file statistics_ushort.hpp.

◆ ushort_covariance() [1/2]

template<typename T , typename U >
double gsl::stats::ushort_covariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_ushort_covariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The sample covariance

Definition at line 770 of file statistics_ushort.hpp.

◆ ushort_covariance() [2/2]

template<typename T , typename U >
double gsl::stats::ushort_covariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_ushort_covariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The sample covariance

Definition at line 780 of file statistics_ushort.hpp.

◆ ushort_covariance_m() [1/2]

template<typename T , typename U >
double gsl::stats::ushort_covariance_m ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_ushort_covariance_m().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 935 of file statistics_ushort.hpp.

◆ ushort_covariance_m() [2/2]

template<typename T >
double gsl::stats::ushort_covariance_m ( T const &  data1,
T const &  data2,
double const  mean1,
double const  mean2 
)
inline

C++ version of gsl_stats_ushort_covariance_m().

Parameters
data1The first array of data values
data2The second array of data values
mean1The first mean value
mean2The second mean value
Returns
The sample covariance using the given mean value

Definition at line 949 of file statistics_ushort.hpp.

◆ ushort_gastwirth_from_sorted_data()

template<typename T >
double gsl::stats::ushort_gastwirth_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_ushort_gastwirth_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
Gastwirth’s location estimator

Definition at line 1209 of file statistics_ushort.hpp.

References gsl::rstat::n().

◆ ushort_kurtosis()

template<typename T >
double gsl::stats::ushort_kurtosis ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ushort_kurtosis().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample kurtosis

Definition at line 750 of file statistics_ushort.hpp.

◆ ushort_kurtosis_m_sd() [1/2]

template<typename T >
double gsl::stats::ushort_kurtosis_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_ushort_kurtosis_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 902 of file statistics_ushort.hpp.

References mean(), and sd().

◆ ushort_kurtosis_m_sd() [2/2]

template<typename T >
double gsl::stats::ushort_kurtosis_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_ushort_kurtosis_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample kurtosis (mean and standard deviation supplied)

Definition at line 891 of file statistics_ushort.hpp.

References mean(), and sd().

◆ ushort_lag1_autocorrelation()

template<typename T >
double gsl::stats::ushort_lag1_autocorrelation ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ushort_lag1_autocorrelation().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample lag 1 autocorrelation

Definition at line 759 of file statistics_ushort.hpp.

◆ ushort_lag1_autocorrelation_m() [1/2]

template<typename T >
double gsl::stats::ushort_lag1_autocorrelation_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_ushort_lag1_autocorrelation_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 922 of file statistics_ushort.hpp.

References mean().

◆ ushort_lag1_autocorrelation_m() [2/2]

template<typename T >
double gsl::stats::ushort_lag1_autocorrelation_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_ushort_lag1_autocorrelation_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample autocorrelation using the given mean value

Definition at line 912 of file statistics_ushort.hpp.

References mean().

◆ ushort_mad() [1/2]

template<typename T , typename U >
double gsl::stats::ushort_mad ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_ushort_mad().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1236 of file statistics_ushort.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ushort_mad() [2/2]

template<typename T , typename U >
double gsl::stats::ushort_mad ( T const &  data,
U &  work 
)

C++ version of gsl_stats_ushort_mad().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation without bias correction scale factor

Definition at line 1348 of file statistics_ushort.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ushort_mad0() [1/2]

template<typename T , typename U >
double gsl::stats::ushort_mad0 ( T const &  data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_ushort_mad0().

Parameters
dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1220 of file statistics_ushort.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ushort_mad0() [2/2]

template<typename T , typename U >
double gsl::stats::ushort_mad0 ( T const &  data,
U &  work 
)

C++ version of gsl_stats_ushort_mad0().

Parameters
dataA data array
workAn array of doubles of length n
Returns
Mean absolute deviation with bias correction scale factor

Definition at line 1333 of file statistics_ushort.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ushort_max()

template<typename T >
double gsl::stats::ushort_max ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ushort_max().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The maximum value in the data set

Definition at line 987 of file statistics_ushort.hpp.

◆ ushort_max_index()

template<typename T >
size_t gsl::stats::ushort_max_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ushort_max_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the maximum value in the data set

Definition at line 1015 of file statistics_ushort.hpp.

◆ ushort_mean()

template<typename T >
double gsl::stats::ushort_mean ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ushort_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample mean

Definition at line 637 of file statistics_ushort.hpp.

◆ ushort_median()

template<typename T >
double gsl::stats::ushort_median ( T &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ushort_median().

Note that data may be rearranged.

Parameters
dataA data array: does not need to be sorted
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1187 of file statistics_ushort.hpp.

References gsl::rstat::n().

◆ ushort_median_from_sorted_data()

template<typename T >
double gsl::stats::ushort_median_from_sorted_data ( T const &  sorted_data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ushort_median_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
Returns
The median

Definition at line 1044 of file statistics_ushort.hpp.

◆ ushort_min()

template<typename T >
double gsl::stats::ushort_min ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ushort_min().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The minimum value in the data set

Definition at line 996 of file statistics_ushort.hpp.

◆ ushort_min_index()

template<typename T >
size_t gsl::stats::ushort_min_index ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ushort_min_index().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The index of the minimum value in the data set

Definition at line 1024 of file statistics_ushort.hpp.

◆ ushort_minmax()

template<typename T >
void gsl::stats::ushort_minmax ( unsigned short &  min,
unsigned short &  max,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ushort_minmax().

Parameters
minThe minimum of the data (return value)
maxThe maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1006 of file statistics_ushort.hpp.

References max(), and min().

◆ ushort_minmax_index()

template<typename T >
void gsl::stats::ushort_minmax_index ( size_t &  min_index,
size_t &  max_index,
T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ushort_minmax_index().

Parameters
min_indexThe index of the minimum of the data (return value)
max_indexThe index of the maximum of the data (return value)
dataAn array of data values
strideThe number of steps between consecutive data values

Definition at line 1034 of file statistics_ushort.hpp.

References max_index(), and min_index().

◆ ushort_pvariance() [1/2]

template<typename T , typename U >
double gsl::stats::ushort_pvariance ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_ushort_pvariance().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The pooled variance of the data sets

Definition at line 962 of file statistics_ushort.hpp.

◆ ushort_pvariance() [2/2]

template<typename T , typename U >
double gsl::stats::ushort_pvariance ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_ushort_pvariance().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The pooled variance of the data sets

Definition at line 1067 of file statistics_ushort.hpp.

◆ ushort_Qn0_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
unsigned short gsl::stats::ushort_Qn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_ushort_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of unsigned shorts of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1286 of file statistics_ushort.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ushort_Qn0_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::ushort_Qn0_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_ushort_Qn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of unsigned shorts of length 3n
work_intAn array of ints of length 5n
Returns
Qn0

Definition at line 1395 of file statistics_ushort.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ushort_Qn_from_sorted_data() [1/2]

template<typename T , typename U , typename V >
unsigned short gsl::stats::ushort_Qn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_ushort_Qn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of unsigned shorts of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 1310 of file statistics_ushort.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ushort_Qn_from_sorted_data() [2/2]

template<typename T , typename U , typename V >
double gsl::stats::ushort_Qn_from_sorted_data ( T const &  sorted_data,
U &  work,
V &  work_int 
)

C++ version of gsl_stats_ushort_Qn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of unsigned shorts of length 3n
work_intAn array of ints of length 5n
Returns
Qn

Definition at line 1417 of file statistics_ushort.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ushort_quantile_from_sorted_data() [1/2]

template<typename T >
double gsl::stats::ushort_quantile_from_sorted_data ( T const &  sorted_data,
double const  f 
)
inline

C++ version of gsl_stats_ushort_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1086 of file statistics_ushort.hpp.

◆ ushort_quantile_from_sorted_data() [2/2]

template<typename T >
double gsl::stats::ushort_quantile_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
double const  f 
)
inline

C++ version of gsl_stats_ushort_quantile_from_sorted_data().

Parameters
sorted_dataA sorted data array
strideThe number of steps between consecutive data values
fThe proportion for which to estimate a quantile
Returns
The $f$-quantile

Definition at line 1054 of file statistics_ushort.hpp.

References gsl::rstat::n().

◆ ushort_sd()

template<typename T >
double gsl::stats::ushort_sd ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ushort_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample standard deviation

Definition at line 655 of file statistics_ushort.hpp.

◆ ushort_sd_m() [1/2]

template<typename T >
double gsl::stats::ushort_sd_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_ushort_sd_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 839 of file statistics_ushort.hpp.

References mean().

◆ ushort_sd_m() [2/2]

template<typename T >
double gsl::stats::ushort_sd_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_ushort_sd_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample standard deviation with given mean value

Definition at line 830 of file statistics_ushort.hpp.

References mean().

◆ ushort_sd_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::ushort_sd_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_ushort_sd_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 695 of file statistics_ushort.hpp.

References mean().

◆ ushort_sd_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::ushort_sd_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_ushort_sd_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample standard deviation wih given population mean

Definition at line 685 of file statistics_ushort.hpp.

References mean().

◆ ushort_skew()

template<typename T >
double gsl::stats::ushort_skew ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ushort_skew().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample skewness

Definition at line 741 of file statistics_ushort.hpp.

◆ ushort_skew_m_sd() [1/2]

template<typename T >
double gsl::stats::ushort_skew_m_sd ( T const &  data,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_ushort_skew_m_sd().

Parameters
dataAn array of data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 880 of file statistics_ushort.hpp.

References mean(), and sd().

◆ ushort_skew_m_sd() [2/2]

template<typename T >
double gsl::stats::ushort_skew_m_sd ( T const &  data,
size_t const  stride,
double const  mean,
double const  sd 
)
inline

C++ version of gsl_stats_ushort_skew_m_sd().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
sdThe standard deviation
Returns
The sample skewness (mean and standard deviation supplied)

Definition at line 869 of file statistics_ushort.hpp.

References mean(), and sd().

◆ ushort_Sn0_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::ushort_Sn0_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_ushort_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1253 of file statistics_ushort.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ushort_Sn0_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::ushort_Sn0_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_ushort_Sn0_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1364 of file statistics_ushort.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ushort_Sn_from_sorted_data() [1/2]

template<typename T , typename U >
double gsl::stats::ushort_Sn_from_sorted_data ( T const &  sorted_data,
size_t const  stride,
U &  work 
)

C++ version of gsl_stats_ushort_Sn_from_sorted_data().

Parameters
sorted_dataA data array
strideThe number of steps between consecutive data values
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1269 of file statistics_ushort.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ushort_Sn_from_sorted_data() [2/2]

template<typename T , typename U >
double gsl::stats::ushort_Sn_from_sorted_data ( T const &  sorted_data,
U &  work 
)

C++ version of gsl_stats_ushort_Sn_from_sorted_data().

Parameters
sorted_dataA data array
workAn array of doubles of length n
Returns
The Sn statistic

Definition at line 1379 of file statistics_ushort.hpp.

References gsl::exception::GSL_EBADLEN, and gsl::rstat::n().

◆ ushort_spearman() [1/2]

template<typename T , typename U >
double gsl::stats::ushort_spearman ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2,
double  work[] 
)
inline

C++ version of gsl_stats_ushort_spearman().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1147 of file statistics_ushort.hpp.

◆ ushort_spearman() [2/2]

template<typename T , typename U >
double gsl::stats::ushort_spearman ( T const &  data1,
U const &  data2,
double  work[] 
)
inline

C++ version of gsl_stats_ushort_spearman().

Parameters
data1The first array of data values
data2The second array of data values
workA workspace. This should be of size at least (2n) or null. A non-null value for work is more effficient if more than one Spearman correlation is needed
Returns
The Spearman correlation

Definition at line 1170 of file statistics_ushort.hpp.

◆ ushort_trmean_from_sorted_data()

template<typename T >
double gsl::stats::ushort_trmean_from_sorted_data ( double const  trim,
T const &  sorted_data,
size_t const  stride = 1 
)

C++ version of gsl_stats_ushort_trmean_from_sorted_data().

Parameters
trimA value on [0.0.5]
sorted_dataA data array
strideThe number of steps between consecutive data values
Returns
the mean with floor( alpha * n ) of data removed from both ends

Definition at line 1198 of file statistics_ushort.hpp.

References gsl::rstat::n().

◆ ushort_tss()

template<typename T >
double gsl::stats::ushort_tss ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ushort_tss().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample total sum of squares

Definition at line 704 of file statistics_ushort.hpp.

◆ ushort_tss_m() [1/2]

template<typename T >
double gsl::stats::ushort_tss_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_ushort_tss_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 723 of file statistics_ushort.hpp.

References mean().

◆ ushort_tss_m() [2/2]

template<typename T >
double gsl::stats::ushort_tss_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_ushort_tss_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample total sum of squares with given sample mean

Definition at line 714 of file statistics_ushort.hpp.

References mean().

◆ ushort_ttest() [1/2]

template<typename T , typename U >
double gsl::stats::ushort_ttest ( T const &  data1,
size_t const  stride1,
U const &  data2,
size_t const  stride2 
)
inline

C++ version of gsl_stats_ushort_ttest().

Parameters
data1The first array of data values
stride1The number of steps between data values in the first array
data2The second array of data values
stride2The number of steps between data values in the second array
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 976 of file statistics_ushort.hpp.

◆ ushort_ttest() [2/2]

template<typename T , typename U >
double gsl::stats::ushort_ttest ( T const &  data1,
U const &  data2 
)
inline

C++ version of gsl_stats_ushort_ttest().

Parameters
data1The first array of data values
data2The second array of data values
Returns
The t statistic for an independent samples t test of no difference in population means

Definition at line 1077 of file statistics_ushort.hpp.

◆ ushort_variance()

template<typename T >
double gsl::stats::ushort_variance ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_ushort_variance().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample variance

Definition at line 646 of file statistics_ushort.hpp.

◆ ushort_variance_m() [1/2]

template<typename T >
double gsl::stats::ushort_variance_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_ushort_variance_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 820 of file statistics_ushort.hpp.

References mean().

◆ ushort_variance_m() [2/2]

template<typename T >
double gsl::stats::ushort_variance_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_ushort_variance_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 811 of file statistics_ushort.hpp.

References mean().

◆ ushort_variance_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::ushort_variance_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_ushort_variance_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 675 of file statistics_ushort.hpp.

References mean().

◆ ushort_variance_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::ushort_variance_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_ushort_variance_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 665 of file statistics_ushort.hpp.

References mean().

◆ variance()

template<typename T >
double gsl::stats::variance ( T const &  data,
size_t const  stride = 1 
)
inline

C++ version of gsl_stats_variance().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The sample variance

Definition at line 1005 of file statistics_double.hpp.

◆ variance_m() [1/2]

template<typename T >
double gsl::stats::variance_m ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_variance_m().

Parameters
dataAn array of data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 1527 of file statistics_double.hpp.

References mean().

◆ variance_m() [2/2]

template<typename T >
double gsl::stats::variance_m ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_variance_m().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The sample variance with given mean value

Definition at line 1518 of file statistics_double.hpp.

References mean().

◆ variance_with_fixed_mean() [1/2]

template<typename T >
double gsl::stats::variance_with_fixed_mean ( T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_variance_with_fixed_mean().

Parameters
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 1034 of file statistics_double.hpp.

References mean().

◆ variance_with_fixed_mean() [2/2]

template<typename T >
double gsl::stats::variance_with_fixed_mean ( T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_variance_with_fixed_mean().

Parameters
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood sample variance wih given population mean

Definition at line 1024 of file statistics_double.hpp.

References mean().

◆ wabsdev() [1/2]

template<typename U , typename T >
double gsl::stats::wabsdev ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_wabsdev().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighetd absolute deviation estimate

Definition at line 1241 of file statistics_double.hpp.

◆ wabsdev() [2/2]

template<typename U , typename T >
double gsl::stats::wabsdev ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_wabsdev().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighetd absolute deviation estimate

Definition at line 1415 of file statistics_double.hpp.

◆ wabsdev_m() [1/2]

template<typename U , typename T >
double gsl::stats::wabsdev_m ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean 
)
inline

C++ version of gsl_stats_wabsdev_m().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
Returns
The weighted sample absolute deviation with given mean value

Definition at line 1304 of file statistics_double.hpp.

References wmean().

◆ wabsdev_m() [2/2]

template<typename U , typename T >
double gsl::stats::wabsdev_m ( U const &  w,
T const &  data,
double const  wmean 
)
inline

C++ version of gsl_stats_wabsdev_m().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
Returns
The weighted sample absolute deviation with given mean value

Definition at line 1463 of file statistics_double.hpp.

References wmean().

◆ wkurtosis() [1/2]

template<typename U , typename T >
double gsl::stats::wkurtosis ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_wkurtosis().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted sample kurtosis

Definition at line 1265 of file statistics_double.hpp.

◆ wkurtosis() [2/2]

template<typename U , typename T >
double gsl::stats::wkurtosis ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_wkurtosis().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted sample kurtosis

Definition at line 1433 of file statistics_double.hpp.

◆ wkurtosis_m_sd() [1/2]

template<typename U , typename T >
double gsl::stats::wkurtosis_m_sd ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean,
double const  wsd 
)
inline

C++ version of gsl_stats_wkurtosis_m_sd().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
wsdThe weighted standard deviation
Returns
The weighted sample kurtosis with given weighted mean and standard deviation

Definition at line 1334 of file statistics_double.hpp.

References wmean(), and wsd().

◆ wkurtosis_m_sd() [2/2]

template<typename U , typename T >
double gsl::stats::wkurtosis_m_sd ( U const &  w,
T const &  data,
double const  wmean,
double const  wsd 
)
inline

C++ version of gsl_stats_wkurtosis_m_sd().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
wsdThe weighted standard deviation
Returns
The weighted sample kurtosis with given weighted mean and standard deviation

Definition at line 1485 of file statistics_double.hpp.

References wmean(), and wsd().

◆ wmean() [1/2]

template<typename U , typename T >
double gsl::stats::wmean ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_wmean().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted sample mean

Definition at line 1151 of file statistics_double.hpp.

Referenced by float_wabsdev_m(), float_wkurtosis_m_sd(), float_wsd_m(), float_wskew_m_sd(), float_wtss_m(), float_wvariance_m(), long_double_wabsdev_m(), long_double_wkurtosis_m_sd(), long_double_wsd_m(), long_double_wskew_m_sd(), long_double_wtss_m(), long_double_wvariance_m(), wabsdev_m(), wkurtosis_m_sd(), wsd_m(), wskew_m_sd(), wtss_m(), and wvariance_m().

◆ wmean() [2/2]

template<typename U , typename T >
double gsl::stats::wmean ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_wmean().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted sample mean

Definition at line 1347 of file statistics_double.hpp.

◆ wsd() [1/2]

template<typename U , typename T >
double gsl::stats::wsd ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_wsd().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted sample standard deviation

Definition at line 1175 of file statistics_double.hpp.

Referenced by float_wkurtosis_m_sd(), float_wskew_m_sd(), long_double_wkurtosis_m_sd(), long_double_wskew_m_sd(), wkurtosis_m_sd(), and wskew_m_sd().

◆ wsd() [2/2]

template<typename U , typename T >
double gsl::stats::wsd ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_wsd().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted sample standard deviation

Definition at line 1365 of file statistics_double.hpp.

◆ wsd_m() [1/2]

template<typename U , typename T >
double gsl::stats::wsd_m ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean 
)
inline

C++ version of gsl_stats_wsd_m().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
Returns
The weighted sample standard deviation with given mean value

Definition at line 1291 of file statistics_double.hpp.

References wmean().

◆ wsd_m() [2/2]

template<typename U , typename T >
double gsl::stats::wsd_m ( U const &  w,
T const &  data,
double const  wmean 
)
inline

C++ version of gsl_stats_wsd_m().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
Returns
The weighted sample standard deviation with given mean value

Definition at line 1453 of file statistics_double.hpp.

References wmean().

◆ wsd_with_fixed_mean() [1/2]

template<typename U , typename T >
double gsl::stats::wsd_with_fixed_mean ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_wsd_with_fixed_mean().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood weighted standard deviation estimate with given mean

Definition at line 1203 of file statistics_double.hpp.

References mean().

◆ wsd_with_fixed_mean() [2/2]

template<typename U , typename T >
double gsl::stats::wsd_with_fixed_mean ( U const &  w,
T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_wsd_with_fixed_mean().

Parameters
wThe weight array
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood weighted standard deviation estimate with given mean

Definition at line 1386 of file statistics_double.hpp.

References mean().

◆ wskew() [1/2]

template<typename U , typename T >
double gsl::stats::wskew ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_wskew().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted sample skewness

Definition at line 1253 of file statistics_double.hpp.

◆ wskew() [2/2]

template<typename U , typename T >
double gsl::stats::wskew ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_wskew().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted sample skewness

Definition at line 1424 of file statistics_double.hpp.

◆ wskew_m_sd() [1/2]

template<typename U , typename T >
double gsl::stats::wskew_m_sd ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean,
double const  wsd 
)
inline

C++ version of gsl_stats_wskew_m_sd().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
wsdThe weighted standard deviation
Returns
The weighted sample skewness with given weighted mean and standard deviation

Definition at line 1318 of file statistics_double.hpp.

References wmean(), and wsd().

◆ wskew_m_sd() [2/2]

template<typename U , typename T >
double gsl::stats::wskew_m_sd ( U const &  w,
T const &  data,
double const  wmean,
double const  wsd 
)
inline

C++ version of gsl_stats_wskew_m_sd().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
wsdThe weighted standard deviation
Returns
The weighted sample skewness with given weighted mean and standard deviation

Definition at line 1474 of file statistics_double.hpp.

References wmean(), and wsd().

◆ wtss() [1/2]

template<typename U , typename T >
double gsl::stats::wtss ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_wtss().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted total sum of squares estimate

Definition at line 1216 of file statistics_double.hpp.

◆ wtss() [2/2]

template<typename U , typename T >
double gsl::stats::wtss ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_wtss().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted total sum of squares estimate

Definition at line 1396 of file statistics_double.hpp.

◆ wtss_m() [1/2]

template<typename U , typename T >
double gsl::stats::wtss_m ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean 
)
inline

C++ version of gsl_stats_wtss_m().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
Returns
The weighted total sum of squares estimate with given mean value

Definition at line 1229 of file statistics_double.hpp.

References wmean().

◆ wtss_m() [2/2]

template<typename U , typename T >
double gsl::stats::wtss_m ( U const &  w,
T const &  data,
double const  wmean 
)
inline

C++ version of gsl_stats_wtss_m().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
Returns
The weighted total sum of squares estimate with given mean value

Definition at line 1406 of file statistics_double.hpp.

References wmean().

◆ wvariance() [1/2]

template<typename U , typename T >
double gsl::stats::wvariance ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride 
)
inline

C++ version of gsl_stats_wvariance().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
Returns
The weighted sample variance

Definition at line 1163 of file statistics_double.hpp.

◆ wvariance() [2/2]

template<typename U , typename T >
double gsl::stats::wvariance ( U const &  w,
T const &  data 
)
inline

C++ version of gsl_stats_wvariance().

Parameters
wThe weight array
dataAn array of data values
Returns
The weighted sample variance

Definition at line 1356 of file statistics_double.hpp.

◆ wvariance_m() [1/2]

template<typename U , typename T >
double gsl::stats::wvariance_m ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  wmean 
)
inline

C++ version of gsl_stats_wvariance_m().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
wmeanThe weighted mean
Returns
The weighted sample variance with given mean value

Definition at line 1278 of file statistics_double.hpp.

References wmean().

◆ wvariance_m() [2/2]

template<typename U , typename T >
double gsl::stats::wvariance_m ( U const &  w,
T const &  data,
double const  wmean 
)
inline

C++ version of gsl_stats_wvariance_m().

Parameters
wThe weight array
dataAn array of data values
wmeanThe weighted mean
Returns
The weighted sample variance with given mean value

Definition at line 1443 of file statistics_double.hpp.

References wmean().

◆ wvariance_with_fixed_mean() [1/2]

template<typename U , typename T >
double gsl::stats::wvariance_with_fixed_mean ( U const &  w,
size_t const  wstride,
T const &  data,
size_t const  stride,
double const  mean 
)
inline

C++ version of gsl_stats_wvariance_with_fixed_mean().

Parameters
wThe weight array
wstrideThe number of steps between consecutive data values
dataAn array of data values
strideThe number of steps between consecutive data values
meanThe mean value
Returns
The maximum-likelihood weighted variance estimate with given mean

Definition at line 1188 of file statistics_double.hpp.

References mean().

◆ wvariance_with_fixed_mean() [2/2]

template<typename U , typename T >
double gsl::stats::wvariance_with_fixed_mean ( U const &  w,
T const &  data,
double const  mean 
)
inline

C++ version of gsl_stats_wvariance_with_fixed_mean().

Parameters
wThe weight array
dataAn array of data values
meanThe mean value
Returns
The maximum-likelihood weighted variance estimate with given mean

Definition at line 1375 of file statistics_double.hpp.

References mean().