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,56 @@
|
|
1
|
+
static void
|
2
|
+
iter_<%=c_func%>(na_loop_t *const lp)
|
3
|
+
{
|
4
|
+
size_t n1, n2;
|
5
|
+
double *p;
|
6
|
+
void **opts;
|
7
|
+
<%=struct%> *w;
|
8
|
+
gsl_wavelet_workspace *ws;
|
9
|
+
int dir;
|
10
|
+
|
11
|
+
opts = (void **)(lp->opt_ptr);
|
12
|
+
w = (<%=struct%>*)(opts[0]);
|
13
|
+
ws = (gsl_wavelet_workspace*)(opts[1]);
|
14
|
+
dir = *(int*)(opts[2]);
|
15
|
+
|
16
|
+
p = (double*)(lp->args[0].ptr + lp->args[0].iter[0].pos);
|
17
|
+
n1 = lp->args[0].shape[0];
|
18
|
+
n2 = lp->args[0].shape[1];
|
19
|
+
<%=func_name%>(w, p, n2, n1, n2, dir, ws);
|
20
|
+
}
|
21
|
+
|
22
|
+
/*
|
23
|
+
@overload <%=name%>(<%=args[1][1]%>,<%=args[5][1]%>)
|
24
|
+
@param [DFloat] <%=args[1][1]%>
|
25
|
+
@param [Integer] <%=args[5][1]%>
|
26
|
+
@return [DFloat] result
|
27
|
+
|
28
|
+
<%= description %>
|
29
|
+
*/
|
30
|
+
static VALUE
|
31
|
+
<%=c_func(2)%>(VALUE self, VALUE v1, VALUE v2)
|
32
|
+
{
|
33
|
+
ndfunc_arg_in_t ain[1] = {{OVERWRITE,2}};
|
34
|
+
ndfunc_t ndf = {iter_<%=c_func%>, NO_LOOP, 1,0, ain,0};
|
35
|
+
<%=struct%> *w;
|
36
|
+
gsl_wavelet_workspace *a;
|
37
|
+
size_t n;
|
38
|
+
int dir;
|
39
|
+
void *opts[3];
|
40
|
+
VALUE vws;
|
41
|
+
|
42
|
+
TypedData_Get_Struct(self, <%=struct%>, &<%=data_type_var%>, w);
|
43
|
+
opts[0] = w;
|
44
|
+
|
45
|
+
v1 = wavelet_array_check(v1, 2, &n);
|
46
|
+
|
47
|
+
vws = wavelet_workspace_s_new(cWaveletWorkspace, SIZET2NUM(n));
|
48
|
+
TypedData_Get_Struct(vws, gsl_wavelet_workspace, &wavelet_workspace_data_type, a);
|
49
|
+
opts[1] = a;
|
50
|
+
dir = NUM2INT(v2);
|
51
|
+
opts[2] = &dir;
|
52
|
+
|
53
|
+
na_ndloop3(&ndf, opts, 1, v1);
|
54
|
+
RB_GC_GUARD(vws);
|
55
|
+
return v1;
|
56
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
static int
|
2
|
+
power_of_two(size_t n)
|
3
|
+
{
|
4
|
+
size_t k = 1;
|
5
|
+
|
6
|
+
while (1) {
|
7
|
+
if (n == k) return 1;
|
8
|
+
k *= 2;
|
9
|
+
if (n < k || k==0) break;
|
10
|
+
}
|
11
|
+
rb_raise(nary_eShapeError,"array size is not 2**n");
|
12
|
+
return 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
static VALUE
|
16
|
+
wavelet_array_check(VALUE v1, int nd, size_t *size)
|
17
|
+
{
|
18
|
+
size_t n1, n2;
|
19
|
+
VALUE tmp;
|
20
|
+
narray_t *na;
|
21
|
+
|
22
|
+
GetNArray(v1,na);
|
23
|
+
if (na->ndim < nd) {
|
24
|
+
rb_raise(nary_eDimensionError,"ndim(=%d) should >= %d", na->ndim, nd);
|
25
|
+
}
|
26
|
+
switch(nd) {
|
27
|
+
case 2:
|
28
|
+
n1 = na->shape[na->ndim-2];
|
29
|
+
n2 = na->shape[na->ndim-1];
|
30
|
+
if (n1 != n2) {
|
31
|
+
rb_raise(nary_eShapeError,"not square 2d array");
|
32
|
+
}
|
33
|
+
power_of_two(n1);
|
34
|
+
power_of_two(n2);
|
35
|
+
*size = n2;
|
36
|
+
break;
|
37
|
+
case 1:
|
38
|
+
n2 = na->shape[na->ndim-1];
|
39
|
+
power_of_two(n2);
|
40
|
+
*size = n2;
|
41
|
+
break;
|
42
|
+
default:
|
43
|
+
rb_bug("invalid value for nd");
|
44
|
+
}
|
45
|
+
if (TEST_INPLACE(v1)) {
|
46
|
+
v1 = rb_funcall(cDF, rb_intern("cast"), 1, v1);
|
47
|
+
if (!RTEST(na_check_contiguous(v1))) {
|
48
|
+
v1 = na_copy(v1);
|
49
|
+
}
|
50
|
+
} else {
|
51
|
+
tmp = rb_narray_new(cDF, na->ndim, na->shape);
|
52
|
+
rb_funcall(tmp, rb_intern("store"), 1, v1);
|
53
|
+
v1 = tmp;
|
54
|
+
}
|
55
|
+
return v1;
|
56
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
#define gsl_wavelet2d_free gsl_wavelet_free
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<%
|
2
|
+
set name: "new"
|
3
|
+
set singleton: true
|
4
|
+
%>
|
5
|
+
/*
|
6
|
+
:nodoc:
|
7
|
+
*/
|
8
|
+
static VALUE
|
9
|
+
<%=c_func(:nodef)%>(VALUE self, const gsl_wavelet_type *t, VALUE v1)
|
10
|
+
{
|
11
|
+
<%=struct%> *w;
|
12
|
+
size_t k;
|
13
|
+
|
14
|
+
k = NUM2SIZET(v1);
|
15
|
+
w = <%=func_name%>(t, k);
|
16
|
+
if (!w) {
|
17
|
+
rb_raise(rb_eNoMemError,"fail to allocate struct");
|
18
|
+
}
|
19
|
+
return TypedData_Wrap_Struct(<%=class_var%>, &<%=data_type_var%>, (void*)w);
|
20
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
static void
|
2
|
+
iter_<%=c_func%>(na_loop_t *const lp)
|
3
|
+
{
|
4
|
+
size_t n;
|
5
|
+
double *p;
|
6
|
+
void **opts;
|
7
|
+
<%=struct%> *w;
|
8
|
+
gsl_wavelet_workspace *ws;
|
9
|
+
int dir;
|
10
|
+
|
11
|
+
opts = (void **)(lp->opt_ptr);
|
12
|
+
w = (<%=struct%>*)(opts[0]);
|
13
|
+
ws = (gsl_wavelet_workspace*)(opts[1]);
|
14
|
+
dir = *(int*)(opts[2]);
|
15
|
+
|
16
|
+
p = (double*)(lp->args[0].ptr + lp->args[0].iter[0].pos);
|
17
|
+
n = lp->args[0].shape[0];
|
18
|
+
<%=func_name%>(w, p, 1, n, dir, ws);
|
19
|
+
}
|
20
|
+
|
21
|
+
/*
|
22
|
+
@overload <%=name%>(<%=args[1][1]%>,<%=args[4][1]%>)
|
23
|
+
@param [DFloat] <%=args[1][1]%>
|
24
|
+
@param [Integer] <%=args[4][1]%>
|
25
|
+
@return [DFloat] result
|
26
|
+
|
27
|
+
<%= description %>
|
28
|
+
*/
|
29
|
+
static VALUE
|
30
|
+
<%=c_func(2)%>(VALUE self, VALUE v1, VALUE v2)
|
31
|
+
{
|
32
|
+
ndfunc_arg_in_t ain[1] = {{OVERWRITE,1}};
|
33
|
+
ndfunc_t ndf = {iter_<%=c_func%>, NO_LOOP, 1,0, ain,0};
|
34
|
+
<%=struct%> *w;
|
35
|
+
gsl_wavelet_workspace *ws;
|
36
|
+
size_t n;
|
37
|
+
int dir;
|
38
|
+
void *opts[3];
|
39
|
+
VALUE vws;
|
40
|
+
|
41
|
+
TypedData_Get_Struct(self, <%=struct%>, &<%=data_type_var%>, w);
|
42
|
+
opts[0] = w;
|
43
|
+
|
44
|
+
v1 = wavelet_array_check(v1, 1, &n);
|
45
|
+
|
46
|
+
vws = wavelet_workspace_s_new(cWaveletWorkspace, SIZET2NUM(n));
|
47
|
+
TypedData_Get_Struct(vws, gsl_wavelet_workspace, &wavelet_workspace_data_type, ws);
|
48
|
+
opts[1] = ws;
|
49
|
+
dir = NUM2INT(v2);
|
50
|
+
opts[2] = &dir;
|
51
|
+
|
52
|
+
na_ndloop3(&ndf, opts, 1, v1);
|
53
|
+
RB_GC_GUARD(vws);
|
54
|
+
return v1;
|
55
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/*
|
2
|
+
@overload <%=name%>(<%=args[1][1]%>)
|
3
|
+
@param [DFloat] <%=args[1][1]%>
|
4
|
+
@return [DFloat] result
|
5
|
+
|
6
|
+
<%= description %>
|
7
|
+
*/
|
8
|
+
static VALUE
|
9
|
+
<%=c_func(1)%>(VALUE self, VALUE v1)
|
10
|
+
{
|
11
|
+
int dir;
|
12
|
+
VALUE v2;
|
13
|
+
|
14
|
+
<% if /_forward$/ =~ name %>
|
15
|
+
dir = gsl_wavelet_forward;
|
16
|
+
<% elsif /_inverse$/ =~ name %>
|
17
|
+
dir = gsl_wavelet_backward;
|
18
|
+
<% end %>
|
19
|
+
v2 = INT2FIX(dir);
|
20
|
+
|
21
|
+
return <%=c_func.sub(/_[^_]+$/,"")%>(self, v1, v2);
|
22
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/*
|
2
|
+
@overload <%=name%>(<%=args[1][1]%>)
|
3
|
+
@param [DFloat] <%=args[1][1]%>
|
4
|
+
|
5
|
+
Generate an instance of <%=full_class_name%>::<%=subtype_class%> class,
|
6
|
+
a subclass of <%=full_class_name%> class with <%=subtype_var%> type.
|
7
|
+
|
8
|
+
<%= desc %>
|
9
|
+
|
10
|
+
*/
|
11
|
+
static VALUE
|
12
|
+
<%=c_func(1)%>(VALUE self, VALUE v1)
|
13
|
+
{
|
14
|
+
return <%=c_superclass_new%>(self, <%=subtype_var%>, v1);
|
15
|
+
}
|
data/lib/numo/gsl.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'numo/narray'
|
2
|
+
require 'numo/gsl/err'
|
3
|
+
require 'numo/gsl/sys'
|
4
|
+
require 'numo/gsl/const'
|
5
|
+
require 'numo/gsl/poly'
|
6
|
+
require 'numo/gsl/sf'
|
7
|
+
require 'numo/gsl/stats'
|
8
|
+
require 'numo/gsl/rstat'
|
9
|
+
require 'numo/gsl/rng'
|
10
|
+
require 'numo/gsl/ran'
|
11
|
+
require 'numo/gsl/pdf'
|
12
|
+
require 'numo/gsl/cdf'
|
13
|
+
require 'numo/gsl/histogram'
|
14
|
+
require 'numo/gsl/interp'
|
15
|
+
require 'numo/gsl/wavelet'
|
16
|
+
require 'numo/gsl/fit'
|
17
|
+
require 'numo/gsl/spmatrix'
|
data/numo-gsl.gemspec
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
|
2
|
+
# coding: utf-8
|
3
|
+
lib = File.expand_path('../lib', __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
|
6
|
+
open("ext/numo/gsl/version.h") do |f|
|
7
|
+
f.each_line do |l|
|
8
|
+
if /NUMO_GSL_VERSION "([\d.]+)"/ =~ l
|
9
|
+
VERSION = $1
|
10
|
+
break
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
Gem::Specification.new do |spec|
|
16
|
+
spec.name = "numo-gsl"
|
17
|
+
spec.version = VERSION
|
18
|
+
spec.authors = ["Masahiro TANAKA"]
|
19
|
+
spec.email = ["masa16.tanaka@gmail.com"]
|
20
|
+
spec.description = %q{Numo::GSL development version.}
|
21
|
+
spec.summary = %q{Numo::GSL development version}
|
22
|
+
spec.homepage = "https://github.com/ruby-numo/gsl"
|
23
|
+
spec.license = "GPL-3"
|
24
|
+
|
25
|
+
spec.files = `git ls-files Gemfile README.md Rakefile ext lib numo-gsl.gemspec spec`.split($/)
|
26
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
27
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
28
|
+
spec.require_paths = ["lib"]
|
29
|
+
spec.extensions = spec.files.grep(%r{^ext/numo/gsl/.*/extconf\.rb$})
|
30
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
31
|
+
spec.add_development_dependency "rake", "~> 0"
|
32
|
+
spec.add_runtime_dependency "numo-narray", "~> 0.9.0.8"
|
33
|
+
end
|
metadata
ADDED
@@ -0,0 +1,367 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: numo-gsl
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Masahiro TANAKA
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-09-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: numo-narray
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.9.0.8
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.9.0.8
|
55
|
+
description: Numo::GSL development version.
|
56
|
+
email:
|
57
|
+
- masa16.tanaka@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions:
|
60
|
+
- ext/numo/gsl/cdf/extconf.rb
|
61
|
+
- ext/numo/gsl/const/extconf.rb
|
62
|
+
- ext/numo/gsl/err/extconf.rb
|
63
|
+
- ext/numo/gsl/fit/extconf.rb
|
64
|
+
- ext/numo/gsl/histogram/extconf.rb
|
65
|
+
- ext/numo/gsl/interp/extconf.rb
|
66
|
+
- ext/numo/gsl/multifit/extconf.rb
|
67
|
+
- ext/numo/gsl/pdf/extconf.rb
|
68
|
+
- ext/numo/gsl/poly/extconf.rb
|
69
|
+
- ext/numo/gsl/ran/extconf.rb
|
70
|
+
- ext/numo/gsl/rng/extconf.rb
|
71
|
+
- ext/numo/gsl/rstat/extconf.rb
|
72
|
+
- ext/numo/gsl/sf/extconf.rb
|
73
|
+
- ext/numo/gsl/spmatrix/extconf.rb
|
74
|
+
- ext/numo/gsl/stats/extconf.rb
|
75
|
+
- ext/numo/gsl/sys/extconf.rb
|
76
|
+
- ext/numo/gsl/wavelet/extconf.rb
|
77
|
+
extra_rdoc_files: []
|
78
|
+
files:
|
79
|
+
- Gemfile
|
80
|
+
- README.md
|
81
|
+
- Rakefile
|
82
|
+
- ext/numo/gsl/cdf/depend
|
83
|
+
- ext/numo/gsl/cdf/erbpp_cdf.rb
|
84
|
+
- ext/numo/gsl/cdf/extconf.rb
|
85
|
+
- ext/numo/gsl/cdf/func_def.rb
|
86
|
+
- ext/numo/gsl/const/const_def.rb
|
87
|
+
- ext/numo/gsl/const/depend
|
88
|
+
- ext/numo/gsl/const/erbpp_const.rb
|
89
|
+
- ext/numo/gsl/const/extconf.rb
|
90
|
+
- ext/numo/gsl/err/depend
|
91
|
+
- ext/numo/gsl/err/err.c
|
92
|
+
- ext/numo/gsl/err/extconf.rb
|
93
|
+
- ext/numo/gsl/extconf_gsl.rb
|
94
|
+
- ext/numo/gsl/fit/depend
|
95
|
+
- ext/numo/gsl/fit/erbpp_fit.rb
|
96
|
+
- ext/numo/gsl/fit/extconf.rb
|
97
|
+
- ext/numo/gsl/fit/func_def.rb
|
98
|
+
- ext/numo/gsl/fit/tmpl/check_1d.c
|
99
|
+
- ext/numo/gsl/fit/tmpl/fit_linear.c
|
100
|
+
- ext/numo/gsl/fit/tmpl/fit_linear_est.c
|
101
|
+
- ext/numo/gsl/fit/tmpl/fit_mul.c
|
102
|
+
- ext/numo/gsl/fit/tmpl/fit_mul_est.c
|
103
|
+
- ext/numo/gsl/fit/tmpl/fit_wlinear.c
|
104
|
+
- ext/numo/gsl/fit/tmpl/fit_wmul.c
|
105
|
+
- ext/numo/gsl/gen/erbpp2.rb
|
106
|
+
- ext/numo/gsl/gen/erbpp_gsl.rb
|
107
|
+
- ext/numo/gsl/gen/func_parser.rb
|
108
|
+
- ext/numo/gsl/gen/tmpl/c_DFloat_f_DFloat.c
|
109
|
+
- ext/numo/gsl/gen/tmpl/c_DFloat_f_SZ.c
|
110
|
+
- ext/numo/gsl/gen/tmpl/c_DFloat_f_SZ_x2.c
|
111
|
+
- ext/numo/gsl/gen/tmpl/c_DFloat_x2_f_DFloat_x2.c
|
112
|
+
- ext/numo/gsl/gen/tmpl/c_double_f_double.c
|
113
|
+
- ext/numo/gsl/gen/tmpl/c_double_f_sizet.c
|
114
|
+
- ext/numo/gsl/gen/tmpl/c_double_f_sizet_x2.c
|
115
|
+
- ext/numo/gsl/gen/tmpl/c_double_f_void.c
|
116
|
+
- ext/numo/gsl/gen/tmpl/c_double_x2_f_void.c
|
117
|
+
- ext/numo/gsl/gen/tmpl/c_new_DFloat.c
|
118
|
+
- ext/numo/gsl/gen/tmpl/c_new_double.c
|
119
|
+
- ext/numo/gsl/gen/tmpl/c_new_f_other.c
|
120
|
+
- ext/numo/gsl/gen/tmpl/c_new_sizet.c
|
121
|
+
- ext/numo/gsl/gen/tmpl/c_new_sizet_double.c
|
122
|
+
- ext/numo/gsl/gen/tmpl/c_new_sizet_x2.c
|
123
|
+
- ext/numo/gsl/gen/tmpl/c_new_void.c
|
124
|
+
- ext/numo/gsl/gen/tmpl/c_other_f_void.c
|
125
|
+
- ext/numo/gsl/gen/tmpl/c_self_f_DFloat.c
|
126
|
+
- ext/numo/gsl/gen/tmpl/c_self_f_DFloat_x2.c
|
127
|
+
- ext/numo/gsl/gen/tmpl/c_self_f_DFloat_x3.c
|
128
|
+
- ext/numo/gsl/gen/tmpl/c_self_f_DFloat_x4.c
|
129
|
+
- ext/numo/gsl/gen/tmpl/c_self_f_SZ_x2_DFloat.c
|
130
|
+
- ext/numo/gsl/gen/tmpl/c_self_f_double.c
|
131
|
+
- ext/numo/gsl/gen/tmpl/c_self_f_other.c
|
132
|
+
- ext/numo/gsl/gen/tmpl/c_self_f_sizet.c
|
133
|
+
- ext/numo/gsl/gen/tmpl/c_self_f_void.c
|
134
|
+
- ext/numo/gsl/gen/tmpl/c_sizet_f_void.c
|
135
|
+
- ext/numo/gsl/gen/tmpl/c_sizet_x2_f_void.c
|
136
|
+
- ext/numo/gsl/gen/tmpl/c_str_f_void.c
|
137
|
+
- ext/numo/gsl/gen/tmpl/c_super_new_void.c
|
138
|
+
- ext/numo/gsl/gen/tmpl/c_uint_f_void.c
|
139
|
+
- ext/numo/gsl/gen/tmpl/c_ulong_f_void.c
|
140
|
+
- ext/numo/gsl/gen/tmpl/c_void_f_double.c
|
141
|
+
- ext/numo/gsl/gen/tmpl/c_void_f_double_x2.c
|
142
|
+
- ext/numo/gsl/gen/tmpl/c_void_f_double_x4.c
|
143
|
+
- ext/numo/gsl/gen/tmpl/c_void_f_ulong.c
|
144
|
+
- ext/numo/gsl/gen/tmpl/c_void_f_void.c
|
145
|
+
- ext/numo/gsl/gen/tmpl/cast_1d_contiguous.c
|
146
|
+
- ext/numo/gsl/gen/tmpl/cast_2d_contiguous.c
|
147
|
+
- ext/numo/gsl/gen/tmpl/class.c
|
148
|
+
- ext/numo/gsl/gen/tmpl/create_new_narray.c
|
149
|
+
- ext/numo/gsl/gen/tmpl/init_class.c
|
150
|
+
- ext/numo/gsl/gen/tmpl/init_module.c
|
151
|
+
- ext/numo/gsl/gen/tmpl/lib.c
|
152
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_Int_f_DFloat.c
|
153
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat.c
|
154
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_Int.c
|
155
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_UInt.c
|
156
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_double.c
|
157
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_double_x2.c
|
158
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_int.c
|
159
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_x2.c
|
160
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_DFloat_x3.c
|
161
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_Int.c
|
162
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt.c
|
163
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt32.c
|
164
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt32_double.c
|
165
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt32_double_uint.c
|
166
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt32_double_x2.c
|
167
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt32_uint_x3.c
|
168
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt_double.c
|
169
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt_double_uint.c
|
170
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt_double_x2.c
|
171
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_UInt_uint_x3.c
|
172
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_int_DFloat.c
|
173
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_int_DFloat_x2.c
|
174
|
+
- ext/numo/gsl/gen/tmpl/m_DFloat_f_int_x2_DFloat_x2.c
|
175
|
+
- ext/numo/gsl/gen/tmpl/m_Int_f_DFloat.c
|
176
|
+
- ext/numo/gsl/gen/tmpl/m_Int_f_DFloat_x3.c
|
177
|
+
- ext/numo/gsl/gen/tmpl/m_Int_f_int_DFloat.c
|
178
|
+
- ext/numo/gsl/gen/tmpl/m_Int_f_int_DFloat_x2.c
|
179
|
+
- ext/numo/gsl/gen/tmpl/mod_func_noloop.c
|
180
|
+
- ext/numo/gsl/gen/tmpl/mod_func_scalar.c
|
181
|
+
- ext/numo/gsl/gen/tmpl/module.c
|
182
|
+
- ext/numo/gsl/histogram/depend
|
183
|
+
- ext/numo/gsl/histogram/erbpp_histogram.rb
|
184
|
+
- ext/numo/gsl/histogram/extconf.rb
|
185
|
+
- ext/numo/gsl/histogram/func_def.rb
|
186
|
+
- ext/numo/gsl/histogram/tmpl/c_DFloat_f_2d_get.c
|
187
|
+
- ext/numo/gsl/histogram/tmpl/c_DFloat_f_field.c
|
188
|
+
- ext/numo/gsl/histogram/tmpl/c_DFloat_f_get.c
|
189
|
+
- ext/numo/gsl/histogram/tmpl/c_DFloat_x2_f_get_range.c
|
190
|
+
- ext/numo/gsl/histogram/tmpl/c_bool_f_other.c
|
191
|
+
- ext/numo/gsl/histogram/tmpl/c_bool_f_pdf_init.c
|
192
|
+
- ext/numo/gsl/histogram/tmpl/c_self_f_2d_set_ranges.c
|
193
|
+
- ext/numo/gsl/histogram/tmpl/c_self_f_set_ranges.c
|
194
|
+
- ext/numo/gsl/histogram/tmpl/c_sizet_f_field.c
|
195
|
+
- ext/numo/gsl/interp/depend
|
196
|
+
- ext/numo/gsl/interp/erbpp_interp.rb
|
197
|
+
- ext/numo/gsl/interp/extconf.rb
|
198
|
+
- ext/numo/gsl/interp/func_def.rb
|
199
|
+
- ext/numo/gsl/interp/parse_interp.rb
|
200
|
+
- ext/numo/gsl/interp/tmpl/interp2d_new.c
|
201
|
+
- ext/numo/gsl/interp/tmpl/interp2d_type_new.c
|
202
|
+
- ext/numo/gsl/interp/tmpl/interp_bsearch.c
|
203
|
+
- ext/numo/gsl/interp/tmpl/interp_new.c
|
204
|
+
- ext/numo/gsl/interp/tmpl/interp_type_new.c
|
205
|
+
- ext/numo/gsl/interp/tmpl/spline2d_eval.c
|
206
|
+
- ext/numo/gsl/interp/tmpl/spline_eval.c
|
207
|
+
- ext/numo/gsl/interp/tmpl/spline_integ.c
|
208
|
+
- ext/numo/gsl/interp/type_def.rb
|
209
|
+
- ext/numo/gsl/multifit/depend
|
210
|
+
- ext/numo/gsl/multifit/erbpp_multifit.rb
|
211
|
+
- ext/numo/gsl/multifit/extconf.rb
|
212
|
+
- ext/numo/gsl/multifit/func_2.1.rb
|
213
|
+
- ext/numo/gsl/multifit/func_2.2.1.rb
|
214
|
+
- ext/numo/gsl/multifit/func_2.2.rb
|
215
|
+
- ext/numo/gsl/multifit/func_2.3.rb
|
216
|
+
- ext/numo/gsl/multifit/func_def.rb
|
217
|
+
- ext/numo/gsl/multifit/tmpl/multifit_linear.c
|
218
|
+
- ext/numo/gsl/multifit/tmpl/multifit_linear_est.c
|
219
|
+
- ext/numo/gsl/multifit/tmpl/multifit_linear_residuals.c
|
220
|
+
- ext/numo/gsl/multifit/tmpl/multifit_wlinear.c
|
221
|
+
- ext/numo/gsl/multifit/type_def.rb
|
222
|
+
- ext/numo/gsl/numo_gsl.h
|
223
|
+
- ext/numo/gsl/pdf/depend
|
224
|
+
- ext/numo/gsl/pdf/erbpp_pdf.rb
|
225
|
+
- ext/numo/gsl/pdf/extconf.rb
|
226
|
+
- ext/numo/gsl/pdf/func_2.2.1.rb
|
227
|
+
- ext/numo/gsl/pdf/func_2.2.rb
|
228
|
+
- ext/numo/gsl/pdf/func_2.3.rb
|
229
|
+
- ext/numo/gsl/pdf/func_def.rb
|
230
|
+
- ext/numo/gsl/pdf/parse_pdf.rb
|
231
|
+
- ext/numo/gsl/pdf/tmpl/dirichlet.c
|
232
|
+
- ext/numo/gsl/pdf/tmpl/multinomial.c
|
233
|
+
- ext/numo/gsl/poly/depend
|
234
|
+
- ext/numo/gsl/poly/erbpp_poly.rb
|
235
|
+
- ext/numo/gsl/poly/extconf.rb
|
236
|
+
- ext/numo/gsl/poly/func_def.rb
|
237
|
+
- ext/numo/gsl/poly/tmpl/poly_complex_solve.c
|
238
|
+
- ext/numo/gsl/poly/tmpl/poly_eval.c
|
239
|
+
- ext/numo/gsl/poly/tmpl/poly_eval_derivs.c
|
240
|
+
- ext/numo/gsl/ran/depend
|
241
|
+
- ext/numo/gsl/ran/erbpp_ran.rb
|
242
|
+
- ext/numo/gsl/ran/extconf.rb
|
243
|
+
- ext/numo/gsl/ran/func_2.2.1.rb
|
244
|
+
- ext/numo/gsl/ran/func_2.2.rb
|
245
|
+
- ext/numo/gsl/ran/func_2.3.rb
|
246
|
+
- ext/numo/gsl/ran/func_def.rb
|
247
|
+
- ext/numo/gsl/ran/parse_ran.rb
|
248
|
+
- ext/numo/gsl/rng/depend
|
249
|
+
- ext/numo/gsl/rng/erbpp_rng.rb
|
250
|
+
- ext/numo/gsl/rng/extconf.rb
|
251
|
+
- ext/numo/gsl/rng/func_def.rb
|
252
|
+
- ext/numo/gsl/rng/parse_rng.rb
|
253
|
+
- ext/numo/gsl/rng/tmpl/ran.c
|
254
|
+
- ext/numo/gsl/rng/tmpl/ran_DFloat_f_DFloat.c
|
255
|
+
- ext/numo/gsl/rng/tmpl/ran_DFloat_x2.c
|
256
|
+
- ext/numo/gsl/rng/tmpl/ran_DFloat_x3.c
|
257
|
+
- ext/numo/gsl/rng/tmpl/ran_multinomial.c
|
258
|
+
- ext/numo/gsl/rng/tmpl/rng_DFloat.c
|
259
|
+
- ext/numo/gsl/rng/tmpl/rng_UInt.c
|
260
|
+
- ext/numo/gsl/rng/tmpl/rng_alloc.c
|
261
|
+
- ext/numo/gsl/rng/tmpl/rng_type_new.c
|
262
|
+
- ext/numo/gsl/rng/type_def.rb
|
263
|
+
- ext/numo/gsl/rstat/depend
|
264
|
+
- ext/numo/gsl/rstat/erbpp_rstat.rb
|
265
|
+
- ext/numo/gsl/rstat/extconf.rb
|
266
|
+
- ext/numo/gsl/rstat/func_2.2.1.rb
|
267
|
+
- ext/numo/gsl/rstat/func_2.2.rb
|
268
|
+
- ext/numo/gsl/rstat/func_2.3.rb
|
269
|
+
- ext/numo/gsl/rstat/func_def.rb
|
270
|
+
- ext/numo/gsl/sf/depend
|
271
|
+
- ext/numo/gsl/sf/erbpp_sf.rb
|
272
|
+
- ext/numo/gsl/sf/extconf.rb
|
273
|
+
- ext/numo/gsl/sf/func_def.rb
|
274
|
+
- ext/numo/gsl/sf/parse_sf.rb
|
275
|
+
- ext/numo/gsl/sf/tmpl/c_DFloat_f_int_x2_DFloat.c
|
276
|
+
- ext/numo/gsl/sf/tmpl/c_DFloat_f_int_x2_DFloat_x2.c
|
277
|
+
- ext/numo/gsl/sf/tmpl/c_DFloat_f_int_x3_DFloat_x2.c
|
278
|
+
- ext/numo/gsl/sf/tmpl/m_DFloat_f_DFloat_mode.c
|
279
|
+
- ext/numo/gsl/sf/tmpl/m_DFloat_f_lmax_array.c
|
280
|
+
- ext/numo/gsl/sf/tmpl/m_DFloat_f_nmin_nmax_array.c
|
281
|
+
- ext/numo/gsl/spmatrix/const_2.2.1.rb
|
282
|
+
- ext/numo/gsl/spmatrix/const_2.2.rb
|
283
|
+
- ext/numo/gsl/spmatrix/const_2.3.rb
|
284
|
+
- ext/numo/gsl/spmatrix/const_def.rb
|
285
|
+
- ext/numo/gsl/spmatrix/depend
|
286
|
+
- ext/numo/gsl/spmatrix/erbpp_spmatrix.rb
|
287
|
+
- ext/numo/gsl/spmatrix/extconf.rb
|
288
|
+
- ext/numo/gsl/spmatrix/func_2.2.1.rb
|
289
|
+
- ext/numo/gsl/spmatrix/func_2.2.rb
|
290
|
+
- ext/numo/gsl/spmatrix/func_2.3.rb
|
291
|
+
- ext/numo/gsl/spmatrix/func_def.rb
|
292
|
+
- ext/numo/gsl/spmatrix/parse_spmatrix.rb
|
293
|
+
- ext/numo/gsl/spmatrix/tmpl/itersolve_iterate.c
|
294
|
+
- ext/numo/gsl/spmatrix/tmpl/itersolve_new.c
|
295
|
+
- ext/numo/gsl/spmatrix/tmpl/itersolve_type_new.c
|
296
|
+
- ext/numo/gsl/spmatrix/tmpl/spblas_dgemm.c
|
297
|
+
- ext/numo/gsl/spmatrix/tmpl/spblas_dgemv.c
|
298
|
+
- ext/numo/gsl/spmatrix/tmpl/spmatrix_add.c
|
299
|
+
- ext/numo/gsl/spmatrix/tmpl/spmatrix_d2sp.c
|
300
|
+
- ext/numo/gsl/spmatrix/tmpl/spmatrix_new.c
|
301
|
+
- ext/numo/gsl/spmatrix/tmpl/spmatrix_sp2d.c
|
302
|
+
- ext/numo/gsl/spmatrix/type_def.rb
|
303
|
+
- ext/numo/gsl/stats/depend
|
304
|
+
- ext/numo/gsl/stats/erbpp_stats.rb
|
305
|
+
- ext/numo/gsl/stats/extconf.rb
|
306
|
+
- ext/numo/gsl/stats/func_2.2.1.rb
|
307
|
+
- ext/numo/gsl/stats/func_2.2.rb
|
308
|
+
- ext/numo/gsl/stats/func_2.3.rb
|
309
|
+
- ext/numo/gsl/stats/func_def.rb
|
310
|
+
- ext/numo/gsl/stats/parse_stats.rb
|
311
|
+
- ext/numo/gsl/stats/tmpl/stats_1a0p.c
|
312
|
+
- ext/numo/gsl/stats/tmpl/stats_1a0p_index.c
|
313
|
+
- ext/numo/gsl/stats/tmpl/stats_1a1p.c
|
314
|
+
- ext/numo/gsl/stats/tmpl/stats_1a2p.c
|
315
|
+
- ext/numo/gsl/stats/tmpl/stats_2a0p.c
|
316
|
+
- ext/numo/gsl/stats/tmpl/stats_2a1p.c
|
317
|
+
- ext/numo/gsl/stats/tmpl/stats_2a2p.c
|
318
|
+
- ext/numo/gsl/stats/tmpl/stats_minmax.c
|
319
|
+
- ext/numo/gsl/stats/tmpl/stats_minmax_index.c
|
320
|
+
- ext/numo/gsl/stats/tmpl/stats_spearman.c
|
321
|
+
- ext/numo/gsl/sys/const_def.rb
|
322
|
+
- ext/numo/gsl/sys/depend
|
323
|
+
- ext/numo/gsl/sys/enum_def.rb
|
324
|
+
- ext/numo/gsl/sys/erbpp_sys.rb
|
325
|
+
- ext/numo/gsl/sys/extconf.rb
|
326
|
+
- ext/numo/gsl/sys/func_def.rb
|
327
|
+
- ext/numo/gsl/version.h
|
328
|
+
- ext/numo/gsl/wavelet/depend
|
329
|
+
- ext/numo/gsl/wavelet/erbpp_wavelet.rb
|
330
|
+
- ext/numo/gsl/wavelet/extconf.rb
|
331
|
+
- ext/numo/gsl/wavelet/func_def.rb
|
332
|
+
- ext/numo/gsl/wavelet/parse_wavelet.rb
|
333
|
+
- ext/numo/gsl/wavelet/tmpl/wavelet2d_transform.c
|
334
|
+
- ext/numo/gsl/wavelet/tmpl/wavelet_array_check.c
|
335
|
+
- ext/numo/gsl/wavelet/tmpl/wavelet_macro.c
|
336
|
+
- ext/numo/gsl/wavelet/tmpl/wavelet_new.c
|
337
|
+
- ext/numo/gsl/wavelet/tmpl/wavelet_transform.c
|
338
|
+
- ext/numo/gsl/wavelet/tmpl/wavelet_transform2.c
|
339
|
+
- ext/numo/gsl/wavelet/tmpl/wavelet_type_new.c
|
340
|
+
- ext/numo/gsl/wavelet/type_def.rb
|
341
|
+
- lib/numo/gsl.rb
|
342
|
+
- numo-gsl.gemspec
|
343
|
+
homepage: https://github.com/ruby-numo/gsl
|
344
|
+
licenses:
|
345
|
+
- GPL-3
|
346
|
+
metadata: {}
|
347
|
+
post_install_message:
|
348
|
+
rdoc_options: []
|
349
|
+
require_paths:
|
350
|
+
- lib
|
351
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
352
|
+
requirements:
|
353
|
+
- - ">="
|
354
|
+
- !ruby/object:Gem::Version
|
355
|
+
version: '0'
|
356
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
357
|
+
requirements:
|
358
|
+
- - ">="
|
359
|
+
- !ruby/object:Gem::Version
|
360
|
+
version: '0'
|
361
|
+
requirements: []
|
362
|
+
rubyforge_project:
|
363
|
+
rubygems_version: 2.6.11
|
364
|
+
signing_key:
|
365
|
+
specification_version: 4
|
366
|
+
summary: Numo::GSL development version
|
367
|
+
test_files: []
|