Merge branch 'master' of http://leto.net/code/Math-GSL into bleed
[Math-GSL.git] / Statistics.i
blob6ab8a447ee23159b93f27cbc51c0aea07cb6066f
1 %module "Math::GSL::Statistics"
2 %{
3 #include "gsl/gsl_statistics_double.h"
4 #include "gsl/gsl_statistics_int.h"
5 #include "gsl/gsl_statistics_char.h"
6 %}
8 %include "gsl/gsl_statistics_double.h"
9 %include "gsl/gsl_statistics_int.h"
10 %include "gsl/gsl_statistics_char.h"
13 %perlcode %{
14 @EXPORT_OK = qw/
15 gsl_stats_mean
16 gsl_stats_variance
17 gsl_stats_sd
18 gsl_stats_variance_with_fixed_mean
19 gsl_stats_sd_with_fixed_mean
20 gsl_stats_tss
21 gsl_stats_tss_m
22 gsl_stats_absdev
23 gsl_stats_skew
24 gsl_stats_kurtosis
25 gsl_stats_lag1_autocorrelation
26 gsl_stats_covariance
27 gsl_stats_correlation
28 gsl_stats_variance_m
29 gsl_stats_sd_m
30 gsl_stats_absdev_m
31 gsl_stats_skew_m_sd
32 gsl_stats_kurtosis_m_sd
33 gsl_stats_lag1_autocorrelation_m
34 gsl_stats_covariance_m
35 gsl_stats_wmean
36 gsl_stats_wvariance
37 gsl_stats_wsd
38 gsl_stats_wvariance_with_fixed_mean
39 gsl_stats_wsd_with_fixed_mean
40 gsl_stats_wtss
41 gsl_stats_wtss_m
42 gsl_stats_wabsdev
43 gsl_stats_wskew
44 gsl_stats_wkurtosis
45 gsl_stats_wvariance_m
46 gsl_stats_wsd_m
47 gsl_stats_wabsdev_m
48 gsl_stats_wskew_m_sd
49 gsl_stats_wkurtosis_m_sd
50 gsl_stats_pvariance
51 gsl_stats_ttest
52 gsl_stats_max
53 gsl_stats_min
54 gsl_stats_minmax
55 gsl_stats_max_index
56 gsl_stats_min_index
57 gsl_stats_minmax_index
58 gsl_stats_median_from_sorted_data
59 gsl_stats_quantile_from_sorted_data
61 our @EXPORT_int = qw/
62 gsl_stats_int_mean
63 gsl_stats_int_variance
64 gsl_stats_int_sd
65 gsl_stats_int_variance_with_fixed_mean
66 gsl_stats_int_sd_with_fixed_mean
67 gsl_stats_int_tss
68 gsl_stats_int_tss_m
69 gsl_stats_int_absdev
70 gsl_stats_int_skew
71 gsl_stats_int_kurtosis
72 gsl_stats_int_lag1_autocorrelation
73 gsl_stats_int_covariance
74 gsl_stats_int_correlation
75 gsl_stats_int_variance_m
76 gsl_stats_int_sd_m
77 gsl_stats_int_absdev_m
78 gsl_stats_int_skew_m_sd
79 gsl_stats_int_kurtosis_m_sd
80 gsl_stats_int_lag1_autocorrelation_m
81 gsl_stats_int_covariance_m
82 gsl_stats_int_pvariance
83 gsl_stats_int_ttest
84 gsl_stats_int_max
85 gsl_stats_int_min
86 gsl_stats_int_minmax
87 gsl_stats_int_max_index
88 gsl_stats_int_min_index
89 gsl_stats_int_minmax_index
90 gsl_stats_int_median_from_sorted_data
91 gsl_stats_int_quantile_from_sorted_data
93 our @EXPORT_char = qw/
94 gsl_stats_char_mean
95 gsl_stats_char_variance
96 gsl_stats_char_sd
97 gsl_stats_char_variance_with_fixed_mean
98 gsl_stats_char_sd_with_fixed_mean
99 gsl_stats_char_tss
100 gsl_stats_char_tss_m
101 gsl_stats_char_absdev
102 gsl_stats_char_skew
103 gsl_stats_char_kurtosis
104 gsl_stats_char_lag1_autocorrelation
105 gsl_stats_char_covariance
106 gsl_stats_char_correlation
107 gsl_stats_char_variance_m
108 gsl_stats_char_sd_m
109 gsl_stats_char_absdev_m
110 gsl_stats_char_skew_m_sd
111 gsl_stats_char_kurtosis_m_sd
112 gsl_stats_char_lag1_autocorrelation_m
113 gsl_stats_char_covariance_m
114 gsl_stats_char_pvariance
115 gsl_stats_char_ttest
116 gsl_stats_char_max
117 gsl_stats_char_min
118 gsl_stats_char_minmax
119 gsl_stats_char_max_index
120 gsl_stats_char_min_index
121 gsl_stats_char_minmax_index
122 gsl_stats_char_median_from_sorted_data
123 gsl_stats_char_quantile_from_sorted_data
125 push @EXPORT_OK, @EXPORT_int, @EXPORT_char;
126 %EXPORT_TAGS = (
127 all => \@EXPORT_OK,
128 int => \@EXPORT_int,
129 char => \@EXPORT_char