numo-gsl 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +4 -0
- data/README.md +84 -0
- data/Rakefile +16 -0
- data/ext/numo/gsl/cdf/depend +17 -0
- data/ext/numo/gsl/cdf/erbpp_cdf.rb +44 -0
- data/ext/numo/gsl/cdf/extconf.rb +9 -0
- data/ext/numo/gsl/cdf/func_def.rb +610 -0
- data/ext/numo/gsl/const/const_def.rb +419 -0
- data/ext/numo/gsl/const/depend +17 -0
- data/ext/numo/gsl/const/erbpp_const.rb +30 -0
- data/ext/numo/gsl/const/extconf.rb +9 -0
- data/ext/numo/gsl/err/depend +1 -0
- data/ext/numo/gsl/err/err.c +22 -0
- data/ext/numo/gsl/err/extconf.rb +9 -0
- data/ext/numo/gsl/extconf_gsl.rb +44 -0
- data/ext/numo/gsl/fit/depend +17 -0
- data/ext/numo/gsl/fit/erbpp_fit.rb +74 -0
- data/ext/numo/gsl/fit/extconf.rb +9 -0
- data/ext/numo/gsl/fit/func_def.rb +129 -0
- data/ext/numo/gsl/fit/tmpl/check_1d.c +9 -0
- data/ext/numo/gsl/fit/tmpl/fit_linear.c +53 -0
- data/ext/numo/gsl/fit/tmpl/fit_linear_est.c +56 -0
- data/ext/numo/gsl/fit/tmpl/fit_mul.c +50 -0
- data/ext/numo/gsl/fit/tmpl/fit_mul_est.c +47 -0
- data/ext/numo/gsl/fit/tmpl/fit_wlinear.c +59 -0
- data/ext/numo/gsl/fit/tmpl/fit_wmul.c +56 -0
- data/ext/numo/gsl/gen/erbpp2.rb +306 -0
- data/ext/numo/gsl/gen/erbpp_gsl.rb +166 -0
- data/ext/numo/gsl/gen/func_parser.rb +520 -0
- data/ext/numo/gsl/gen/tmpl/c_DFloat_f_DFloat.c +40 -0
- data/ext/numo/gsl/gen/tmpl/c_DFloat_f_SZ.c +41 -0
- data/ext/numo/gsl/gen/tmpl/c_DFloat_f_SZ_x2.c +44 -0
- data/ext/numo/gsl/gen/tmpl/c_DFloat_x2_f_DFloat_x2.c +45 -0
- data/ext/numo/gsl/gen/tmpl/c_double_f_double.c +16 -0
- data/ext/numo/gsl/gen/tmpl/c_double_f_sizet.c +16 -0
- data/ext/numo/gsl/gen/tmpl/c_double_f_sizet_x2.c +17 -0
- data/ext/numo/gsl/gen/tmpl/c_double_f_void.c +15 -0
- data/ext/numo/gsl/gen/tmpl/c_double_x2_f_void.c +17 -0
- data/ext/numo/gsl/gen/tmpl/c_new_DFloat.c +29 -0
- data/ext/numo/gsl/gen/tmpl/c_new_double.c +22 -0
- data/ext/numo/gsl/gen/tmpl/c_new_f_other.c +25 -0
- data/ext/numo/gsl/gen/tmpl/c_new_sizet.c +22 -0
- data/ext/numo/gsl/gen/tmpl/c_new_sizet_double.c +23 -0
- data/ext/numo/gsl/gen/tmpl/c_new_sizet_x2.c +23 -0
- data/ext/numo/gsl/gen/tmpl/c_new_void.c +21 -0
- data/ext/numo/gsl/gen/tmpl/c_other_f_void.c +19 -0
- data/ext/numo/gsl/gen/tmpl/c_self_f_DFloat.c +46 -0
- data/ext/numo/gsl/gen/tmpl/c_self_f_DFloat_x2.c +41 -0
- data/ext/numo/gsl/gen/tmpl/c_self_f_DFloat_x3.c +44 -0
- data/ext/numo/gsl/gen/tmpl/c_self_f_DFloat_x4.c +47 -0
- data/ext/numo/gsl/gen/tmpl/c_self_f_SZ_x2_DFloat.c +45 -0
- data/ext/numo/gsl/gen/tmpl/c_self_f_double.c +17 -0
- data/ext/numo/gsl/gen/tmpl/c_self_f_other.c +17 -0
- data/ext/numo/gsl/gen/tmpl/c_self_f_sizet.c +21 -0
- data/ext/numo/gsl/gen/tmpl/c_self_f_void.c +14 -0
- data/ext/numo/gsl/gen/tmpl/c_sizet_f_void.c +15 -0
- data/ext/numo/gsl/gen/tmpl/c_sizet_x2_f_void.c +17 -0
- data/ext/numo/gsl/gen/tmpl/c_str_f_void.c +15 -0
- data/ext/numo/gsl/gen/tmpl/c_super_new_void.c +18 -0
- data/ext/numo/gsl/gen/tmpl/c_uint_f_void.c +15 -0
- data/ext/numo/gsl/gen/tmpl/c_ulong_f_void.c +15 -0
- data/ext/numo/gsl/gen/tmpl/c_void_f_double.c +17 -0
- data/ext/numo/gsl/gen/tmpl/c_void_f_double_x2.c +18 -0
- data/ext/numo/gsl/gen/tmpl/c_void_f_double_x4.c +20 -0
- data/ext/numo/gsl/gen/tmpl/c_void_f_ulong.c +17 -0
- data/ext/numo/gsl/gen/tmpl/c_void_f_void.c +14 -0
- data/ext/numo/gsl/gen/tmpl/cast_1d_contiguous.c +15 -0
- data/ext/numo/gsl/gen/tmpl/cast_2d_contiguous.c +15 -0
- data/ext/numo/gsl/gen/tmpl/class.c +26 -0
- data/ext/numo/gsl/gen/tmpl/create_new_narray.c +26 -0
- data/ext/numo/gsl/gen/tmpl/init_class.c +10 -0
- data/ext/numo/gsl/gen/tmpl/init_module.c +12 -0
- data/ext/numo/gsl/gen/tmpl/lib.c +41 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_Int_f_DFloat.c +38 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat.c +35 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_Int.c +39 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_UInt.c +39 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_double.c +42 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_double_x2.c +47 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_int.c +42 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_x2.c +38 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_x3.c +41 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_Int.c +36 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt.c +36 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt32.c +36 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt32_double.c +43 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt32_double_uint.c +49 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt32_double_x2.c +48 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt32_uint_x3.c +51 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt_double.c +43 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt_double_uint.c +50 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt_double_x2.c +48 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt_uint_x3.c +51 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_int_DFloat.c +41 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_int_DFloat_x2.c +44 -0
- data/ext/numo/gsl/gen/tmpl/m_DFloat_f_int_x2_DFloat_x2.c +46 -0
- data/ext/numo/gsl/gen/tmpl/m_Int_f_DFloat.c +36 -0
- data/ext/numo/gsl/gen/tmpl/m_Int_f_DFloat_x3.c +42 -0
- data/ext/numo/gsl/gen/tmpl/m_Int_f_int_DFloat.c +42 -0
- data/ext/numo/gsl/gen/tmpl/m_Int_f_int_DFloat_x2.c +45 -0
- data/ext/numo/gsl/gen/tmpl/mod_func_noloop.c +54 -0
- data/ext/numo/gsl/gen/tmpl/mod_func_scalar.c +27 -0
- data/ext/numo/gsl/gen/tmpl/module.c +9 -0
- data/ext/numo/gsl/histogram/depend +17 -0
- data/ext/numo/gsl/histogram/erbpp_histogram.rb +109 -0
- data/ext/numo/gsl/histogram/extconf.rb +9 -0
- data/ext/numo/gsl/histogram/func_def.rb +763 -0
- data/ext/numo/gsl/histogram/tmpl/c_DFloat_f_2d_get.c +54 -0
- data/ext/numo/gsl/histogram/tmpl/c_DFloat_f_field.c +35 -0
- data/ext/numo/gsl/histogram/tmpl/c_DFloat_f_get.c +47 -0
- data/ext/numo/gsl/histogram/tmpl/c_DFloat_x2_f_get_range.c +56 -0
- data/ext/numo/gsl/histogram/tmpl/c_bool_f_other.c +19 -0
- data/ext/numo/gsl/histogram/tmpl/c_bool_f_pdf_init.c +24 -0
- data/ext/numo/gsl/histogram/tmpl/c_self_f_2d_set_ranges.c +26 -0
- data/ext/numo/gsl/histogram/tmpl/c_self_f_set_ranges.c +21 -0
- data/ext/numo/gsl/histogram/tmpl/c_sizet_f_field.c +15 -0
- data/ext/numo/gsl/interp/depend +17 -0
- data/ext/numo/gsl/interp/erbpp_interp.rb +59 -0
- data/ext/numo/gsl/interp/extconf.rb +9 -0
- data/ext/numo/gsl/interp/func_def.rb +816 -0
- data/ext/numo/gsl/interp/parse_interp.rb +67 -0
- data/ext/numo/gsl/interp/tmpl/interp2d_new.c +36 -0
- data/ext/numo/gsl/interp/tmpl/interp2d_type_new.c +17 -0
- data/ext/numo/gsl/interp/tmpl/interp_bsearch.c +57 -0
- data/ext/numo/gsl/interp/tmpl/interp_new.c +29 -0
- data/ext/numo/gsl/interp/tmpl/interp_type_new.c +16 -0
- data/ext/numo/gsl/interp/tmpl/spline2d_eval.c +61 -0
- data/ext/numo/gsl/interp/tmpl/spline_eval.c +55 -0
- data/ext/numo/gsl/interp/tmpl/spline_integ.c +56 -0
- data/ext/numo/gsl/interp/type_def.rb +9 -0
- data/ext/numo/gsl/multifit/depend +17 -0
- data/ext/numo/gsl/multifit/erbpp_multifit.rb +99 -0
- data/ext/numo/gsl/multifit/extconf.rb +9 -0
- data/ext/numo/gsl/multifit/func_2.1.rb +1035 -0
- data/ext/numo/gsl/multifit/func_2.2.1.rb +736 -0
- data/ext/numo/gsl/multifit/func_2.2.rb +736 -0
- data/ext/numo/gsl/multifit/func_2.3.rb +872 -0
- data/ext/numo/gsl/multifit/func_def.rb +1012 -0
- data/ext/numo/gsl/multifit/tmpl/multifit_linear.c +66 -0
- data/ext/numo/gsl/multifit/tmpl/multifit_linear_est.c +48 -0
- data/ext/numo/gsl/multifit/tmpl/multifit_linear_residuals.c +47 -0
- data/ext/numo/gsl/multifit/tmpl/multifit_wlinear.c +70 -0
- data/ext/numo/gsl/multifit/type_def.rb +1 -0
- data/ext/numo/gsl/numo_gsl.h +117 -0
- data/ext/numo/gsl/pdf/depend +17 -0
- data/ext/numo/gsl/pdf/erbpp_pdf.rb +26 -0
- data/ext/numo/gsl/pdf/extconf.rb +9 -0
- data/ext/numo/gsl/pdf/func_2.2.1.rb +306 -0
- data/ext/numo/gsl/pdf/func_2.2.rb +306 -0
- data/ext/numo/gsl/pdf/func_2.3.rb +306 -0
- data/ext/numo/gsl/pdf/func_def.rb +282 -0
- data/ext/numo/gsl/pdf/parse_pdf.rb +42 -0
- data/ext/numo/gsl/pdf/tmpl/dirichlet.c +39 -0
- data/ext/numo/gsl/pdf/tmpl/multinomial.c +39 -0
- data/ext/numo/gsl/poly/depend +17 -0
- data/ext/numo/gsl/poly/erbpp_poly.rb +70 -0
- data/ext/numo/gsl/poly/extconf.rb +9 -0
- data/ext/numo/gsl/poly/func_def.rb +234 -0
- data/ext/numo/gsl/poly/tmpl/poly_complex_solve.c +59 -0
- data/ext/numo/gsl/poly/tmpl/poly_eval.c +70 -0
- data/ext/numo/gsl/poly/tmpl/poly_eval_derivs.c +40 -0
- data/ext/numo/gsl/ran/depend +17 -0
- data/ext/numo/gsl/ran/erbpp_ran.rb +42 -0
- data/ext/numo/gsl/ran/extconf.rb +9 -0
- data/ext/numo/gsl/ran/func_2.2.1.rb +1658 -0
- data/ext/numo/gsl/ran/func_2.2.rb +1658 -0
- data/ext/numo/gsl/ran/func_2.3.rb +1658 -0
- data/ext/numo/gsl/ran/func_def.rb +1594 -0
- data/ext/numo/gsl/ran/parse_ran.rb +10 -0
- data/ext/numo/gsl/rng/depend +17 -0
- data/ext/numo/gsl/rng/erbpp_rng.rb +58 -0
- data/ext/numo/gsl/rng/extconf.rb +9 -0
- data/ext/numo/gsl/rng/func_def.rb +230 -0
- data/ext/numo/gsl/rng/parse_rng.rb +125 -0
- data/ext/numo/gsl/rng/tmpl/ran.c +40 -0
- data/ext/numo/gsl/rng/tmpl/ran_DFloat_f_DFloat.c +28 -0
- data/ext/numo/gsl/rng/tmpl/ran_DFloat_x2.c +45 -0
- data/ext/numo/gsl/rng/tmpl/ran_DFloat_x3.c +51 -0
- data/ext/numo/gsl/rng/tmpl/ran_multinomial.c +32 -0
- data/ext/numo/gsl/rng/tmpl/rng_DFloat.c +29 -0
- data/ext/numo/gsl/rng/tmpl/rng_UInt.c +44 -0
- data/ext/numo/gsl/rng/tmpl/rng_alloc.c +24 -0
- data/ext/numo/gsl/rng/tmpl/rng_type_new.c +14 -0
- data/ext/numo/gsl/rng/type_def.rb +63 -0
- data/ext/numo/gsl/rstat/depend +17 -0
- data/ext/numo/gsl/rstat/erbpp_rstat.rb +64 -0
- data/ext/numo/gsl/rstat/extconf.rb +9 -0
- data/ext/numo/gsl/rstat/func_2.2.1.rb +116 -0
- data/ext/numo/gsl/rstat/func_2.2.rb +116 -0
- data/ext/numo/gsl/rstat/func_2.3.rb +123 -0
- data/ext/numo/gsl/rstat/func_def.rb +102 -0
- data/ext/numo/gsl/sf/depend +17 -0
- data/ext/numo/gsl/sf/erbpp_sf.rb +51 -0
- data/ext/numo/gsl/sf/extconf.rb +9 -0
- data/ext/numo/gsl/sf/func_def.rb +4703 -0
- data/ext/numo/gsl/sf/parse_sf.rb +277 -0
- data/ext/numo/gsl/sf/tmpl/c_DFloat_f_int_x2_DFloat.c +50 -0
- data/ext/numo/gsl/sf/tmpl/c_DFloat_f_int_x2_DFloat_x2.c +52 -0
- data/ext/numo/gsl/sf/tmpl/c_DFloat_f_int_x3_DFloat_x2.c +55 -0
- data/ext/numo/gsl/sf/tmpl/m_DFloat_f_DFloat_mode.c +47 -0
- data/ext/numo/gsl/sf/tmpl/m_DFloat_f_lmax_array.c +41 -0
- data/ext/numo/gsl/sf/tmpl/m_DFloat_f_nmin_nmax_array.c +49 -0
- data/ext/numo/gsl/spmatrix/const_2.2.1.rb +3 -0
- data/ext/numo/gsl/spmatrix/const_2.2.rb +3 -0
- data/ext/numo/gsl/spmatrix/const_2.3.rb +3 -0
- data/ext/numo/gsl/spmatrix/const_def.rb +2 -0
- data/ext/numo/gsl/spmatrix/depend +17 -0
- data/ext/numo/gsl/spmatrix/erbpp_spmatrix.rb +100 -0
- data/ext/numo/gsl/spmatrix/extconf.rb +9 -0
- data/ext/numo/gsl/spmatrix/func_2.2.1.rb +297 -0
- data/ext/numo/gsl/spmatrix/func_2.2.rb +297 -0
- data/ext/numo/gsl/spmatrix/func_2.3.rb +297 -0
- data/ext/numo/gsl/spmatrix/func_def.rb +218 -0
- data/ext/numo/gsl/spmatrix/parse_spmatrix.rb +70 -0
- data/ext/numo/gsl/spmatrix/tmpl/itersolve_iterate.c +47 -0
- data/ext/numo/gsl/spmatrix/tmpl/itersolve_new.c +22 -0
- data/ext/numo/gsl/spmatrix/tmpl/itersolve_type_new.c +16 -0
- data/ext/numo/gsl/spmatrix/tmpl/spblas_dgemm.c +35 -0
- data/ext/numo/gsl/spmatrix/tmpl/spblas_dgemv.c +43 -0
- data/ext/numo/gsl/spmatrix/tmpl/spmatrix_add.c +22 -0
- data/ext/numo/gsl/spmatrix/tmpl/spmatrix_d2sp.c +28 -0
- data/ext/numo/gsl/spmatrix/tmpl/spmatrix_new.c +40 -0
- data/ext/numo/gsl/spmatrix/tmpl/spmatrix_sp2d.c +25 -0
- data/ext/numo/gsl/spmatrix/type_def.rb +1 -0
- data/ext/numo/gsl/stats/depend +17 -0
- data/ext/numo/gsl/stats/erbpp_stats.rb +29 -0
- data/ext/numo/gsl/stats/extconf.rb +9 -0
- data/ext/numo/gsl/stats/func_2.2.1.rb +608 -0
- data/ext/numo/gsl/stats/func_2.2.rb +608 -0
- data/ext/numo/gsl/stats/func_2.3.rb +608 -0
- data/ext/numo/gsl/stats/func_def.rb +608 -0
- data/ext/numo/gsl/stats/parse_stats.rb +63 -0
- data/ext/numo/gsl/stats/tmpl/stats_1a0p.c +37 -0
- data/ext/numo/gsl/stats/tmpl/stats_1a0p_index.c +60 -0
- data/ext/numo/gsl/stats/tmpl/stats_1a1p.c +41 -0
- data/ext/numo/gsl/stats/tmpl/stats_1a2p.c +42 -0
- data/ext/numo/gsl/stats/tmpl/stats_2a0p.c +39 -0
- data/ext/numo/gsl/stats/tmpl/stats_2a1p.c +43 -0
- data/ext/numo/gsl/stats/tmpl/stats_2a2p.c +44 -0
- data/ext/numo/gsl/stats/tmpl/stats_minmax.c +37 -0
- data/ext/numo/gsl/stats/tmpl/stats_minmax_index.c +67 -0
- data/ext/numo/gsl/stats/tmpl/stats_spearman.c +46 -0
- data/ext/numo/gsl/sys/const_def.rb +21 -0
- data/ext/numo/gsl/sys/depend +17 -0
- data/ext/numo/gsl/sys/enum_def.rb +75 -0
- data/ext/numo/gsl/sys/erbpp_sys.rb +60 -0
- data/ext/numo/gsl/sys/extconf.rb +9 -0
- data/ext/numo/gsl/sys/func_def.rb +249 -0
- data/ext/numo/gsl/version.h +1 -0
- data/ext/numo/gsl/wavelet/depend +17 -0
- data/ext/numo/gsl/wavelet/erbpp_wavelet.rb +48 -0
- data/ext/numo/gsl/wavelet/extconf.rb +9 -0
- data/ext/numo/gsl/wavelet/func_def.rb +337 -0
- data/ext/numo/gsl/wavelet/parse_wavelet.rb +47 -0
- data/ext/numo/gsl/wavelet/tmpl/wavelet2d_transform.c +56 -0
- data/ext/numo/gsl/wavelet/tmpl/wavelet_array_check.c +56 -0
- data/ext/numo/gsl/wavelet/tmpl/wavelet_macro.c +1 -0
- data/ext/numo/gsl/wavelet/tmpl/wavelet_new.c +20 -0
- data/ext/numo/gsl/wavelet/tmpl/wavelet_transform.c +55 -0
- data/ext/numo/gsl/wavelet/tmpl/wavelet_transform2.c +22 -0
- data/ext/numo/gsl/wavelet/tmpl/wavelet_type_new.c +15 -0
- data/ext/numo/gsl/wavelet/type_def.rb +6 -0
- data/lib/numo/gsl.rb +17 -0
- data/numo-gsl.gemspec +33 -0
- metadata +367 -0
@@ -0,0 +1,116 @@
|
|
1
|
+
[{:func_name=>"gsl_rstat_alloc",
|
2
|
+
:func_type=>"gsl_rstat_workspace *",
|
3
|
+
:args=>[["", "void"]],
|
4
|
+
:desc=>
|
5
|
+
"This function allocates a workspace for computing running statistics.\n" +
|
6
|
+
"The size of the workspace is O(1)."},
|
7
|
+
{:func_name=>"gsl_rstat_free",
|
8
|
+
:func_type=>"void",
|
9
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
10
|
+
:desc=>"This function frees the memory associated with the workspace w."},
|
11
|
+
{:func_name=>"gsl_rstat_reset",
|
12
|
+
:func_type=>"int",
|
13
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
14
|
+
:desc=>
|
15
|
+
"This function resets the workspace w to its initial state,\n" +
|
16
|
+
"so it can begin working on a new set of data."},
|
17
|
+
{:func_name=>"gsl_rstat_add",
|
18
|
+
:func_type=>"int",
|
19
|
+
:args=>[["const double", "x"], ["gsl_rstat_workspace *", "w"]],
|
20
|
+
:desc=>
|
21
|
+
"This function adds the data point x to the statistical\n" +
|
22
|
+
"accumulator, updating calculations of the mean, variance,\n" +
|
23
|
+
"standard deviation, skewness, kurtosis, and median."},
|
24
|
+
{:func_name=>"gsl_rstat_n",
|
25
|
+
:func_type=>"size_t",
|
26
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
27
|
+
:desc=>
|
28
|
+
"This function returns the number of data so far added to the accumulator."},
|
29
|
+
{:func_name=>"gsl_rstat_min",
|
30
|
+
:func_type=>"double",
|
31
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
32
|
+
:desc=>"This function returns the minimum value added to the accumulator."},
|
33
|
+
{:func_name=>"gsl_rstat_max",
|
34
|
+
:func_type=>"double",
|
35
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
36
|
+
:desc=>"This function returns the maximum value added to the accumulator."},
|
37
|
+
{:func_name=>"gsl_rstat_mean",
|
38
|
+
:func_type=>"double",
|
39
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
40
|
+
:desc=>
|
41
|
+
"This function returns the mean of all data added to the accumulator,\n" +
|
42
|
+
"defined as\n" +
|
43
|
+
"\n" +
|
44
|
+
"\\Hat\\mu = (1/N) \\sum x_i\n"},
|
45
|
+
{:func_name=>"gsl_rstat_variance",
|
46
|
+
:func_type=>"double",
|
47
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
48
|
+
:desc=>
|
49
|
+
"This function returns the variance of all data added to the accumulator,\n" +
|
50
|
+
"defined as\n" +
|
51
|
+
"\n" +
|
52
|
+
"\\Hat\\sigma^2 = (1/(N-1)) \\sum (x_i - \\Hat\\mu)^2\n"},
|
53
|
+
{:func_name=>"gsl_rstat_sd",
|
54
|
+
:func_type=>"double",
|
55
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
56
|
+
:desc=>
|
57
|
+
"This function returns the standard deviation of all data added to the\n" +
|
58
|
+
"accumulator, defined as the square root of the variance given above."},
|
59
|
+
{:func_name=>"gsl_rstat_rms",
|
60
|
+
:func_type=>"double",
|
61
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
62
|
+
:desc=>
|
63
|
+
"This function returns the root mean square of all data added to the\n" +
|
64
|
+
"accumulator, defined as\n" +
|
65
|
+
"\n" +
|
66
|
+
"rms = \\sqrt ( 1/N \\sum x_i^2 )\n"},
|
67
|
+
{:func_name=>"gsl_rstat_skew",
|
68
|
+
:func_type=>"double",
|
69
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
70
|
+
:desc=>
|
71
|
+
"This function returns the skewness of all data added to the accumulator,\n" +
|
72
|
+
"defined as\n" +
|
73
|
+
"\n" +
|
74
|
+
"skew = (1/N) \\sum ((x_i - \\Hat\\mu)/\\Hat\\sigma)^3\n"},
|
75
|
+
{:func_name=>"gsl_rstat_kurtosis",
|
76
|
+
:func_type=>"double",
|
77
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
78
|
+
:desc=>
|
79
|
+
"This function returns the kurtosis of all data added to the accumulator,\n" +
|
80
|
+
"defined as\n" +
|
81
|
+
"\n" +
|
82
|
+
"kurtosis = ((1/N) \\sum ((x_i - \\Hat\\mu)/\\Hat\\sigma)^4) - 3\n"},
|
83
|
+
{:func_name=>"gsl_rstat_median",
|
84
|
+
:func_type=>"double",
|
85
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
86
|
+
:desc=>
|
87
|
+
"This function returns an estimate of the median of the data added to\n" +
|
88
|
+
"the accumulator."},
|
89
|
+
{:func_name=>"gsl_rstat_quantile_alloc",
|
90
|
+
:func_type=>"gsl_rstat_quantile_workspace *",
|
91
|
+
:args=>[["const double", "p"]],
|
92
|
+
:desc=>
|
93
|
+
"This function allocates a workspace for the dynamic estimation of\n" +
|
94
|
+
"p-quantiles, where p is between 0 and 1.\n" +
|
95
|
+
"The median corresponds to p = 0.5. The size of the workspace\n" +
|
96
|
+
"is O(1)."},
|
97
|
+
{:func_name=>"gsl_rstat_quantile_free",
|
98
|
+
:func_type=>"void",
|
99
|
+
:args=>[["gsl_rstat_quantile_workspace *", "w"]],
|
100
|
+
:desc=>"This function frees the memory associated with the workspace w."},
|
101
|
+
{:func_name=>"gsl_rstat_quantile_reset",
|
102
|
+
:func_type=>"int",
|
103
|
+
:args=>[["gsl_rstat_quantile_workspace *", "w"]],
|
104
|
+
:desc=>
|
105
|
+
"This function resets the workspace w to its initial state,\n" +
|
106
|
+
"so it can begin working on a new set of data."},
|
107
|
+
{:func_name=>"gsl_rstat_quantile_add",
|
108
|
+
:func_type=>"int",
|
109
|
+
:args=>[["const double", "x"], ["gsl_rstat_quantile_workspace *", "w"]],
|
110
|
+
:desc=>
|
111
|
+
"This function updates the estimate of the p-quantile with\n" +
|
112
|
+
"the new data point x."},
|
113
|
+
{:func_name=>"gsl_rstat_quantile_get",
|
114
|
+
:func_type=>"double",
|
115
|
+
:args=>[["gsl_rstat_quantile_workspace *", "w"]],
|
116
|
+
:desc=>"This function returns the current estimate of the p-quantile."}]
|
@@ -0,0 +1,116 @@
|
|
1
|
+
[{:func_name=>"gsl_rstat_alloc",
|
2
|
+
:func_type=>"gsl_rstat_workspace *",
|
3
|
+
:args=>[["", "void"]],
|
4
|
+
:desc=>
|
5
|
+
"This function allocates a workspace for computing running statistics.\n" +
|
6
|
+
"The size of the workspace is O(1)."},
|
7
|
+
{:func_name=>"gsl_rstat_free",
|
8
|
+
:func_type=>"void",
|
9
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
10
|
+
:desc=>"This function frees the memory associated with the workspace w."},
|
11
|
+
{:func_name=>"gsl_rstat_reset",
|
12
|
+
:func_type=>"int",
|
13
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
14
|
+
:desc=>
|
15
|
+
"This function resets the workspace w to its initial state,\n" +
|
16
|
+
"so it can begin working on a new set of data."},
|
17
|
+
{:func_name=>"gsl_rstat_add",
|
18
|
+
:func_type=>"int",
|
19
|
+
:args=>[["const double", "x"], ["gsl_rstat_workspace *", "w"]],
|
20
|
+
:desc=>
|
21
|
+
"This function adds the data point x to the statistical\n" +
|
22
|
+
"accumulator, updating calculations of the mean, variance,\n" +
|
23
|
+
"standard deviation, skewness, kurtosis, and median."},
|
24
|
+
{:func_name=>"gsl_rstat_n",
|
25
|
+
:func_type=>"size_t",
|
26
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
27
|
+
:desc=>
|
28
|
+
"This function returns the number of data so far added to the accumulator."},
|
29
|
+
{:func_name=>"gsl_rstat_min",
|
30
|
+
:func_type=>"double",
|
31
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
32
|
+
:desc=>"This function returns the minimum value added to the accumulator."},
|
33
|
+
{:func_name=>"gsl_rstat_max",
|
34
|
+
:func_type=>"double",
|
35
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
36
|
+
:desc=>"This function returns the maximum value added to the accumulator."},
|
37
|
+
{:func_name=>"gsl_rstat_mean",
|
38
|
+
:func_type=>"double",
|
39
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
40
|
+
:desc=>
|
41
|
+
"This function returns the mean of all data added to the accumulator,\n" +
|
42
|
+
"defined as\n" +
|
43
|
+
"\n" +
|
44
|
+
"\\Hat\\mu = (1/N) \\sum x_i\n"},
|
45
|
+
{:func_name=>"gsl_rstat_variance",
|
46
|
+
:func_type=>"double",
|
47
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
48
|
+
:desc=>
|
49
|
+
"This function returns the variance of all data added to the accumulator,\n" +
|
50
|
+
"defined as\n" +
|
51
|
+
"\n" +
|
52
|
+
"\\Hat\\sigma^2 = (1/(N-1)) \\sum (x_i - \\Hat\\mu)^2\n"},
|
53
|
+
{:func_name=>"gsl_rstat_sd",
|
54
|
+
:func_type=>"double",
|
55
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
56
|
+
:desc=>
|
57
|
+
"This function returns the standard deviation of all data added to the\n" +
|
58
|
+
"accumulator, defined as the square root of the variance given above."},
|
59
|
+
{:func_name=>"gsl_rstat_rms",
|
60
|
+
:func_type=>"double",
|
61
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
62
|
+
:desc=>
|
63
|
+
"This function returns the root mean square of all data added to the\n" +
|
64
|
+
"accumulator, defined as\n" +
|
65
|
+
"\n" +
|
66
|
+
"rms = \\sqrt ( 1/N \\sum x_i^2 )\n"},
|
67
|
+
{:func_name=>"gsl_rstat_skew",
|
68
|
+
:func_type=>"double",
|
69
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
70
|
+
:desc=>
|
71
|
+
"This function returns the skewness of all data added to the accumulator,\n" +
|
72
|
+
"defined as\n" +
|
73
|
+
"\n" +
|
74
|
+
"skew = (1/N) \\sum ((x_i - \\Hat\\mu)/\\Hat\\sigma)^3\n"},
|
75
|
+
{:func_name=>"gsl_rstat_kurtosis",
|
76
|
+
:func_type=>"double",
|
77
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
78
|
+
:desc=>
|
79
|
+
"This function returns the kurtosis of all data added to the accumulator,\n" +
|
80
|
+
"defined as\n" +
|
81
|
+
"\n" +
|
82
|
+
"kurtosis = ((1/N) \\sum ((x_i - \\Hat\\mu)/\\Hat\\sigma)^4) - 3\n"},
|
83
|
+
{:func_name=>"gsl_rstat_median",
|
84
|
+
:func_type=>"double",
|
85
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
86
|
+
:desc=>
|
87
|
+
"This function returns an estimate of the median of the data added to\n" +
|
88
|
+
"the accumulator."},
|
89
|
+
{:func_name=>"gsl_rstat_quantile_alloc",
|
90
|
+
:func_type=>"gsl_rstat_quantile_workspace *",
|
91
|
+
:args=>[["const double", "p"]],
|
92
|
+
:desc=>
|
93
|
+
"This function allocates a workspace for the dynamic estimation of\n" +
|
94
|
+
"p-quantiles, where p is between 0 and 1.\n" +
|
95
|
+
"The median corresponds to p = 0.5. The size of the workspace\n" +
|
96
|
+
"is O(1)."},
|
97
|
+
{:func_name=>"gsl_rstat_quantile_free",
|
98
|
+
:func_type=>"void",
|
99
|
+
:args=>[["gsl_rstat_quantile_workspace *", "w"]],
|
100
|
+
:desc=>"This function frees the memory associated with the workspace w."},
|
101
|
+
{:func_name=>"gsl_rstat_quantile_reset",
|
102
|
+
:func_type=>"int",
|
103
|
+
:args=>[["gsl_rstat_quantile_workspace *", "w"]],
|
104
|
+
:desc=>
|
105
|
+
"This function resets the workspace w to its initial state,\n" +
|
106
|
+
"so it can begin working on a new set of data."},
|
107
|
+
{:func_name=>"gsl_rstat_quantile_add",
|
108
|
+
:func_type=>"int",
|
109
|
+
:args=>[["const double", "x"], ["gsl_rstat_quantile_workspace *", "w"]],
|
110
|
+
:desc=>
|
111
|
+
"This function updates the estimate of the p-quantile with\n" +
|
112
|
+
"the new data point x."},
|
113
|
+
{:func_name=>"gsl_rstat_quantile_get",
|
114
|
+
:func_type=>"double",
|
115
|
+
:args=>[["gsl_rstat_quantile_workspace *", "w"]],
|
116
|
+
:desc=>"This function returns the current estimate of the p-quantile."}]
|
@@ -0,0 +1,123 @@
|
|
1
|
+
[{:func_name=>"gsl_rstat_alloc",
|
2
|
+
:func_type=>"gsl_rstat_workspace *",
|
3
|
+
:args=>[["", "void"]],
|
4
|
+
:desc=>
|
5
|
+
"This function allocates a workspace for computing running statistics.\n" +
|
6
|
+
"The size of the workspace is O(1)."},
|
7
|
+
{:func_name=>"gsl_rstat_free",
|
8
|
+
:func_type=>"void",
|
9
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
10
|
+
:desc=>"This function frees the memory associated with the workspace w."},
|
11
|
+
{:func_name=>"gsl_rstat_reset",
|
12
|
+
:func_type=>"int",
|
13
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
14
|
+
:desc=>
|
15
|
+
"This function resets the workspace w to its initial state,\n" +
|
16
|
+
"so it can begin working on a new set of data."},
|
17
|
+
{:func_name=>"gsl_rstat_add",
|
18
|
+
:func_type=>"int",
|
19
|
+
:args=>[["const double", "x"], ["gsl_rstat_workspace *", "w"]],
|
20
|
+
:desc=>
|
21
|
+
"This function adds the data point x to the statistical\n" +
|
22
|
+
"accumulator, updating calculations of the mean, variance,\n" +
|
23
|
+
"standard deviation, skewness, kurtosis, and median."},
|
24
|
+
{:func_name=>"gsl_rstat_n",
|
25
|
+
:func_type=>"size_t",
|
26
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
27
|
+
:desc=>
|
28
|
+
"This function returns the number of data so far added to the accumulator."},
|
29
|
+
{:func_name=>"gsl_rstat_min",
|
30
|
+
:func_type=>"double",
|
31
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
32
|
+
:desc=>"This function returns the minimum value added to the accumulator."},
|
33
|
+
{:func_name=>"gsl_rstat_max",
|
34
|
+
:func_type=>"double",
|
35
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
36
|
+
:desc=>"This function returns the maximum value added to the accumulator."},
|
37
|
+
{:func_name=>"gsl_rstat_mean",
|
38
|
+
:func_type=>"double",
|
39
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
40
|
+
:desc=>
|
41
|
+
"This function returns the mean of all data added to the accumulator,\n" +
|
42
|
+
"defined as\n" +
|
43
|
+
"\n" +
|
44
|
+
"\\Hat\\mu = (1/N) \\sum x_i\n"},
|
45
|
+
{:func_name=>"gsl_rstat_variance",
|
46
|
+
:func_type=>"double",
|
47
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
48
|
+
:desc=>
|
49
|
+
"This function returns the variance of all data added to the accumulator,\n" +
|
50
|
+
"defined as\n" +
|
51
|
+
"\n" +
|
52
|
+
"\\Hat\\sigma^2 = (1/(N-1)) \\sum (x_i - \\Hat\\mu)^2\n"},
|
53
|
+
{:func_name=>"gsl_rstat_sd",
|
54
|
+
:func_type=>"double",
|
55
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
56
|
+
:desc=>
|
57
|
+
"This function returns the standard deviation of all data added to the\n" +
|
58
|
+
"accumulator, defined as the square root of the variance given above."},
|
59
|
+
{:func_name=>"gsl_rstat_sd_mean",
|
60
|
+
:func_type=>"double",
|
61
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
62
|
+
:desc=>
|
63
|
+
"This function returns the standard deviation of the mean, defined as\n" +
|
64
|
+
"\n" +
|
65
|
+
"sd_mean = \\Hat\\sigma / \\sqrt@{N@}\n"},
|
66
|
+
{:func_name=>"gsl_rstat_rms",
|
67
|
+
:func_type=>"double",
|
68
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
69
|
+
:desc=>
|
70
|
+
"This function returns the root mean square of all data added to the\n" +
|
71
|
+
"accumulator, defined as\n" +
|
72
|
+
"\n" +
|
73
|
+
"rms = \\sqrt ( 1/N \\sum x_i^2 )\n"},
|
74
|
+
{:func_name=>"gsl_rstat_skew",
|
75
|
+
:func_type=>"double",
|
76
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
77
|
+
:desc=>
|
78
|
+
"This function returns the skewness of all data added to the accumulator,\n" +
|
79
|
+
"defined as\n" +
|
80
|
+
"\n" +
|
81
|
+
"skew = (1/N) \\sum ((x_i - \\Hat\\mu)/\\Hat\\sigma)^3\n"},
|
82
|
+
{:func_name=>"gsl_rstat_kurtosis",
|
83
|
+
:func_type=>"double",
|
84
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
85
|
+
:desc=>
|
86
|
+
"This function returns the kurtosis of all data added to the accumulator,\n" +
|
87
|
+
"defined as\n" +
|
88
|
+
"\n" +
|
89
|
+
"kurtosis = ((1/N) \\sum ((x_i - \\Hat\\mu)/\\Hat\\sigma)^4) - 3\n"},
|
90
|
+
{:func_name=>"gsl_rstat_median",
|
91
|
+
:func_type=>"double",
|
92
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
93
|
+
:desc=>
|
94
|
+
"This function returns an estimate of the median of the data added to\n" +
|
95
|
+
"the accumulator."},
|
96
|
+
{:func_name=>"gsl_rstat_quantile_alloc",
|
97
|
+
:func_type=>"gsl_rstat_quantile_workspace *",
|
98
|
+
:args=>[["const double", "p"]],
|
99
|
+
:desc=>
|
100
|
+
"This function allocates a workspace for the dynamic estimation of\n" +
|
101
|
+
"p-quantiles, where p is between 0 and 1.\n" +
|
102
|
+
"The median corresponds to p = 0.5. The size of the workspace\n" +
|
103
|
+
"is O(1)."},
|
104
|
+
{:func_name=>"gsl_rstat_quantile_free",
|
105
|
+
:func_type=>"void",
|
106
|
+
:args=>[["gsl_rstat_quantile_workspace *", "w"]],
|
107
|
+
:desc=>"This function frees the memory associated with the workspace w."},
|
108
|
+
{:func_name=>"gsl_rstat_quantile_reset",
|
109
|
+
:func_type=>"int",
|
110
|
+
:args=>[["gsl_rstat_quantile_workspace *", "w"]],
|
111
|
+
:desc=>
|
112
|
+
"This function resets the workspace w to its initial state,\n" +
|
113
|
+
"so it can begin working on a new set of data."},
|
114
|
+
{:func_name=>"gsl_rstat_quantile_add",
|
115
|
+
:func_type=>"int",
|
116
|
+
:args=>[["const double", "x"], ["gsl_rstat_quantile_workspace *", "w"]],
|
117
|
+
:desc=>
|
118
|
+
"This function updates the estimate of the p-quantile with\n" +
|
119
|
+
"the new data point x."},
|
120
|
+
{:func_name=>"gsl_rstat_quantile_get",
|
121
|
+
:func_type=>"double",
|
122
|
+
:args=>[["gsl_rstat_quantile_workspace *", "w"]],
|
123
|
+
:desc=>"This function returns the current estimate of the p-quantile."}]
|
@@ -0,0 +1,102 @@
|
|
1
|
+
[{:func_name=>"gsl_rstat_alloc",
|
2
|
+
:func_type=>"gsl_rstat_workspace *",
|
3
|
+
:args=>[["", "void"]],
|
4
|
+
:desc=>
|
5
|
+
"This function allocates a workspace for computing running statistics.\n" +
|
6
|
+
"The size of the workspace is O(1)."},
|
7
|
+
{:func_name=>"gsl_rstat_free",
|
8
|
+
:func_type=>"void",
|
9
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
10
|
+
:desc=>"This function frees the memory associated with the workspace w."},
|
11
|
+
{:func_name=>"gsl_rstat_reset",
|
12
|
+
:func_type=>"int",
|
13
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
14
|
+
:desc=>
|
15
|
+
"This function resets the workspace w to its initial state,\n" +
|
16
|
+
"so it can begin working on a new set of data."},
|
17
|
+
{:func_name=>"gsl_rstat_add",
|
18
|
+
:func_type=>"int",
|
19
|
+
:args=>[["const double", "x"], ["gsl_rstat_workspace *", "w"]],
|
20
|
+
:desc=>
|
21
|
+
"This function adds the data point x to the statistical\n" +
|
22
|
+
"accumulator, updating calculations of the mean, variance,\n" +
|
23
|
+
"standard deviation, skewness, kurtosis, and median."},
|
24
|
+
{:func_name=>"gsl_rstat_n",
|
25
|
+
:func_type=>"size_t",
|
26
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
27
|
+
:desc=>
|
28
|
+
"This function returns the number of data so far added to the accumulator."},
|
29
|
+
{:func_name=>"gsl_rstat_min",
|
30
|
+
:func_type=>"double",
|
31
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
32
|
+
:desc=>"This function returns the minimum value added to the accumulator."},
|
33
|
+
{:func_name=>"gsl_rstat_max",
|
34
|
+
:func_type=>"double",
|
35
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
36
|
+
:desc=>"This function returns the maximum value added to the accumulator."},
|
37
|
+
{:func_name=>"gsl_rstat_mean",
|
38
|
+
:func_type=>"double",
|
39
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
40
|
+
:desc=>
|
41
|
+
"This function returns the mean of all data added to the accumulator,\n" +
|
42
|
+
"defined as\n" +
|
43
|
+
"\n" +
|
44
|
+
"\\Hat\\mu = (1/N) \\sum x_i\n"},
|
45
|
+
{:func_name=>"gsl_rstat_variance",
|
46
|
+
:func_type=>"double",
|
47
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
48
|
+
:desc=>
|
49
|
+
"This function returns the variance of all data added to the accumulator,\n" +
|
50
|
+
"defined as\n" +
|
51
|
+
"\n" +
|
52
|
+
"\\Hat\\sigma^2 = (1/(N-1)) \\sum (x_i - \\Hat\\mu)^2\n"},
|
53
|
+
{:func_name=>"gsl_rstat_sd",
|
54
|
+
:func_type=>"double",
|
55
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
56
|
+
:desc=>
|
57
|
+
"This function returns the standard deviation of all data added to the\n" +
|
58
|
+
"accumulator, defined as the square root of the variance given above."},
|
59
|
+
{:func_name=>"gsl_rstat_skew",
|
60
|
+
:func_type=>"double",
|
61
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
62
|
+
:desc=>
|
63
|
+
"This function returns the skewness of all data added to the accumulator,\n" +
|
64
|
+
"defined as\n" +
|
65
|
+
"\n" +
|
66
|
+
"skew = (1/N) \\sum ((x_i - \\Hat\\mu)/\\Hat\\sigma)^3\n"},
|
67
|
+
{:func_name=>"gsl_rstat_kurtosis",
|
68
|
+
:func_type=>"double",
|
69
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
70
|
+
:desc=>
|
71
|
+
"This function returns the kurtosis of all data added to the accumulator,\n" +
|
72
|
+
"defined as\n" +
|
73
|
+
"\n" +
|
74
|
+
"kurtosis = ((1/N) \\sum ((x_i - \\Hat\\mu)/\\Hat\\sigma)^4) - 3\n"},
|
75
|
+
{:func_name=>"gsl_rstat_median",
|
76
|
+
:func_type=>"double",
|
77
|
+
:args=>[["gsl_rstat_workspace *", "w"]],
|
78
|
+
:desc=>
|
79
|
+
"This function returns an estimate of the median of the data added to\n" +
|
80
|
+
"the accumulator."},
|
81
|
+
{:func_name=>"gsl_rstat_quantile_alloc",
|
82
|
+
:func_type=>"gsl_rstat_quantile_workspace *",
|
83
|
+
:args=>[["const double", "p"]],
|
84
|
+
:desc=>
|
85
|
+
"This function allocates a workspace for the dynamic estimation of\n" +
|
86
|
+
"p-quantiles, where p is between 0 and 1.\n" +
|
87
|
+
"The median corresponds to p = 0.5. The size of the workspace\n" +
|
88
|
+
"is O(1)."},
|
89
|
+
{:func_name=>"gsl_rstat_quantile_free",
|
90
|
+
:func_type=>"void",
|
91
|
+
:args=>[["gsl_rstat_quantile_workspace *", "w"]],
|
92
|
+
:desc=>"This function frees the memory associated with the workspace w."},
|
93
|
+
{:func_name=>"gsl_rstat_quantile_add",
|
94
|
+
:func_type=>"int",
|
95
|
+
:args=>[["const double", "x"], ["gsl_rstat_quantile_workspace *", "w"]],
|
96
|
+
:desc=>
|
97
|
+
"This function updates the estimate of the p-quantile with\n" +
|
98
|
+
"the new data point x."},
|
99
|
+
{:func_name=>"gsl_rstat_quantile_get",
|
100
|
+
:func_type=>"double",
|
101
|
+
:args=>[["gsl_rstat_quantile_workspace *", "w"]],
|
102
|
+
:desc=>"This function returns the current estimate of the p-quantile."}]
|