rb-gsl 1.16.0 → 1.16.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +6 -0
- data/README +11 -15
- data/Rakefile +6 -10
- data/ext/{alf.c → gsl/alf.c} +1 -1
- data/ext/{array.c → gsl/array.c} +4 -6
- data/ext/{array_complex.c → gsl/array_complex.c} +2 -3
- data/ext/{blas.c → gsl/blas.c} +2 -3
- data/ext/{blas1.c → gsl/blas1.c} +3 -4
- data/ext/{blas2.c → gsl/blas2.c} +3 -4
- data/ext/{blas3.c → gsl/blas3.c} +3 -4
- data/ext/{block.c → gsl/block.c} +11 -12
- data/ext/{block_source.c → gsl/block_source.c} +0 -0
- data/ext/{bspline.c → gsl/bspline.c} +1 -1
- data/ext/{bundle.c → gsl/bundle.c} +0 -0
- data/ext/{cdf.c → gsl/cdf.c} +3 -5
- data/ext/{cheb.c → gsl/cheb.c} +4 -4
- data/ext/{combination.c → gsl/combination.c} +2 -3
- data/ext/{common.c → gsl/common.c} +8 -10
- data/ext/{complex.c → gsl/complex.c} +3 -3
- data/ext/{const.c → gsl/const.c} +2 -3
- data/ext/{const_additional.c → gsl/const_additional.c} +2 -2
- data/ext/{cqp.c → gsl/cqp.c} +1 -1
- data/ext/{deriv.c → gsl/deriv.c} +3 -3
- data/ext/{dht.c → gsl/dht.c} +3 -3
- data/ext/{diff.c → gsl/diff.c} +3 -3
- data/ext/{dirac.c → gsl/dirac.c} +1 -1
- data/ext/{eigen.c → gsl/eigen.c} +16 -16
- data/ext/{error.c → gsl/error.c} +5 -5
- data/ext/gsl/extconf.rb +121 -0
- data/ext/{fcmp.c → gsl/fcmp.c} +0 -2
- data/ext/{fft.c → gsl/fft.c} +1 -2
- data/ext/{fit.c → gsl/fit.c} +1 -2
- data/ext/{fresnel.c → gsl/fresnel.c} +2 -2
- data/ext/{function.c → gsl/function.c} +3 -3
- data/ext/{geometry.c → gsl/geometry.c} +1 -1
- data/ext/{graph.c → gsl/graph.c} +2 -2
- data/ext/{gsl.c → gsl/gsl.c} +2 -10
- data/ext/{gsl_narray.c → gsl/gsl_narray.c} +2 -3
- data/ext/{histogram.c → gsl/histogram.c} +3 -4
- data/ext/{histogram2d.c → gsl/histogram2d.c} +3 -4
- data/ext/{histogram3d.c → gsl/histogram3d.c} +4 -4
- data/ext/{histogram3d_source.c → gsl/histogram3d_source.c} +1 -1
- data/ext/{histogram_find.c → gsl/histogram_find.c} +1 -1
- data/ext/{histogram_oper.c → gsl/histogram_oper.c} +0 -0
- data/ext/{ieee.c → gsl/ieee.c} +4 -8
- data/{include → ext/gsl/include}/rb_gsl.h +4 -19
- data/{include → ext/gsl/include}/rb_gsl_array.h +0 -14
- data/{include → ext/gsl/include}/rb_gsl_cheb.h +0 -2
- data/{include → ext/gsl/include}/rb_gsl_common.h +11 -15
- data/{include → ext/gsl/include}/rb_gsl_complex.h +1 -1
- data/{include → ext/gsl/include}/rb_gsl_const.h +1 -2
- data/ext/gsl/include/rb_gsl_dirac.h +6 -0
- data/{include → ext/gsl/include}/rb_gsl_eigen.h +1 -1
- data/{include → ext/gsl/include}/rb_gsl_fft.h +0 -10
- data/{include → ext/gsl/include}/rb_gsl_fit.h +0 -2
- data/{include → ext/gsl/include}/rb_gsl_function.h +0 -4
- data/{include → ext/gsl/include}/rb_gsl_graph.h +0 -2
- data/{include → ext/gsl/include}/rb_gsl_histogram.h +0 -0
- data/{include → ext/gsl/include}/rb_gsl_histogram3d.h +0 -0
- data/{include → ext/gsl/include}/rb_gsl_integration.h +1 -1
- data/{include → ext/gsl/include}/rb_gsl_interp.h +0 -5
- data/{include → ext/gsl/include}/rb_gsl_linalg.h +2 -5
- data/{include → ext/gsl/include}/rb_gsl_math.h +0 -2
- data/{include → ext/gsl/include}/rb_gsl_odeiv.h +0 -3
- data/{include → ext/gsl/include}/rb_gsl_poly.h +0 -4
- data/{include → ext/gsl/include}/rb_gsl_rational.h +0 -7
- data/{include → ext/gsl/include}/rb_gsl_rng.h +0 -1
- data/{include → ext/gsl/include}/rb_gsl_root.h +1 -1
- data/{include → ext/gsl/include}/rb_gsl_sf.h +0 -5
- data/{include → ext/gsl/include}/rb_gsl_statistics.h +1 -1
- data/{include → ext/gsl/include}/rb_gsl_tensor.h +0 -2
- data/{include → ext/gsl/include}/rb_gsl_with_narray.h +3 -1
- data/{include → ext/gsl/include}/templates_off.h +0 -0
- data/{include → ext/gsl/include}/templates_on.h +0 -0
- data/ext/{integration.c → gsl/integration.c} +4 -6
- data/ext/{interp.c → gsl/interp.c} +1 -6
- data/ext/{jacobi.c → gsl/jacobi.c} +1 -1
- data/ext/{linalg.c → gsl/linalg.c} +3 -4
- data/ext/{linalg_complex.c → gsl/linalg_complex.c} +3 -4
- data/ext/{math.c → gsl/math.c} +2 -3
- data/ext/{matrix.c → gsl/matrix.c} +9 -10
- data/ext/{matrix_complex.c → gsl/matrix_complex.c} +2 -3
- data/ext/{matrix_double.c → gsl/matrix_double.c} +5 -5
- data/ext/{matrix_int.c → gsl/matrix_int.c} +4 -4
- data/ext/{matrix_source.c → gsl/matrix_source.c} +2 -6
- data/ext/{min.c → gsl/min.c} +2 -2
- data/ext/{monte.c → gsl/monte.c} +3 -3
- data/ext/{multifit.c → gsl/multifit.c} +4 -4
- data/ext/{multimin.c → gsl/multimin.c} +5 -5
- data/ext/{multimin_fsdf.c → gsl/multimin_fsdf.c} +1 -1
- data/ext/{multiroots.c → gsl/multiroots.c} +6 -6
- data/ext/{multiset.c → gsl/multiset.c} +1 -1
- data/ext/{ndlinear.c → gsl/ndlinear.c} +1 -1
- data/ext/{nmf.c → gsl/nmf.c} +0 -0
- data/ext/{nmf_wrap.c → gsl/nmf_wrap.c} +0 -0
- data/ext/{ntuple.c → gsl/ntuple.c} +6 -6
- data/ext/{odeiv.c → gsl/odeiv.c} +4 -8
- data/ext/{ool.c → gsl/ool.c} +2 -2
- data/ext/{oper_complex_source.c → gsl/oper_complex_source.c} +2 -4
- data/ext/{permutation.c → gsl/permutation.c} +2 -2
- data/ext/{poly.c → gsl/poly.c} +8 -8
- data/ext/{poly2.c → gsl/poly2.c} +4 -4
- data/ext/{poly_source.c → gsl/poly_source.c} +7 -11
- data/ext/{qrng.c → gsl/qrng.c} +3 -3
- data/ext/{randist.c → gsl/randist.c} +4 -4
- data/ext/{rational.c → gsl/rational.c} +3 -3
- data/ext/{rng.c → gsl/rng.c} +1 -2
- data/ext/{root.c → gsl/root.c} +4 -5
- data/ext/{sf.c → gsl/sf.c} +2 -2
- data/ext/{sf_airy.c → gsl/sf_airy.c} +2 -2
- data/ext/{sf_bessel.c → gsl/sf_bessel.c} +1 -1
- data/ext/{sf_clausen.c → gsl/sf_clausen.c} +1 -1
- data/ext/{sf_coulomb.c → gsl/sf_coulomb.c} +1 -1
- data/ext/{sf_coupling.c → gsl/sf_coupling.c} +1 -1
- data/ext/{sf_dawson.c → gsl/sf_dawson.c} +1 -1
- data/ext/{sf_debye.c → gsl/sf_debye.c} +1 -1
- data/ext/{sf_dilog.c → gsl/sf_dilog.c} +1 -1
- data/ext/{sf_elementary.c → gsl/sf_elementary.c} +1 -1
- data/ext/{sf_ellint.c → gsl/sf_ellint.c} +1 -1
- data/ext/{sf_elljac.c → gsl/sf_elljac.c} +1 -1
- data/ext/{sf_erfc.c → gsl/sf_erfc.c} +1 -1
- data/ext/{sf_exp.c → gsl/sf_exp.c} +1 -1
- data/ext/{sf_expint.c → gsl/sf_expint.c} +1 -1
- data/ext/{sf_fermi_dirac.c → gsl/sf_fermi_dirac.c} +1 -1
- data/ext/{sf_gamma.c → gsl/sf_gamma.c} +1 -1
- data/ext/{sf_gegenbauer.c → gsl/sf_gegenbauer.c} +1 -1
- data/ext/{sf_hyperg.c → gsl/sf_hyperg.c} +1 -1
- data/ext/{sf_laguerre.c → gsl/sf_laguerre.c} +1 -1
- data/ext/{sf_lambert.c → gsl/sf_lambert.c} +1 -1
- data/ext/{sf_legendre.c → gsl/sf_legendre.c} +1 -1
- data/ext/{sf_log.c → gsl/sf_log.c} +1 -1
- data/ext/{sf_mathieu.c → gsl/sf_mathieu.c} +1 -1
- data/ext/{sf_power.c → gsl/sf_power.c} +1 -1
- data/ext/{sf_psi.c → gsl/sf_psi.c} +1 -1
- data/ext/{sf_synchrotron.c → gsl/sf_synchrotron.c} +1 -1
- data/ext/{sf_transport.c → gsl/sf_transport.c} +1 -1
- data/ext/{sf_trigonometric.c → gsl/sf_trigonometric.c} +1 -1
- data/ext/{sf_zeta.c → gsl/sf_zeta.c} +1 -1
- data/ext/{signal.c → gsl/signal.c} +2 -3
- data/ext/{siman.c → gsl/siman.c} +9 -9
- data/ext/{sort.c → gsl/sort.c} +4 -4
- data/ext/{spline.c → gsl/spline.c} +3 -3
- data/ext/{stats.c → gsl/stats.c} +3 -3
- data/ext/{sum.c → gsl/sum.c} +2 -2
- data/ext/{tamu_anova.c → gsl/tamu_anova.c} +1 -1
- data/ext/{tensor.c → gsl/tensor.c} +6 -7
- data/ext/{tensor_source.c → gsl/tensor_source.c} +3 -4
- data/ext/{vector.c → gsl/vector.c} +9 -10
- data/ext/{vector_complex.c → gsl/vector_complex.c} +3 -3
- data/ext/{vector_double.c → gsl/vector_double.c} +5 -6
- data/ext/{vector_int.c → gsl/vector_int.c} +4 -4
- data/ext/{vector_source.c → gsl/vector_source.c} +1 -5
- data/ext/{wavelet.c → gsl/wavelet.c} +3 -4
- data/lib/gsl.rb +13 -3
- data/lib/gsl/gnuplot.rb +1 -1
- data/lib/gsl/version.rb +5 -0
- data/lib/rbgsl.rb +1 -3
- data/rdoc/index.rdoc +0 -9
- metadata +199 -160
- data/VERSION +0 -1
- data/ext/extconf.rb +0 -309
- data/include/rb_gsl_config.h +0 -71
- data/include/rb_gsl_dirac.h +0 -13
data/ext/{ool.c → gsl/ool.c}
RENAMED
@@ -17,8 +17,6 @@
|
|
17
17
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
18
18
|
*/
|
19
19
|
|
20
|
-
#include "rb_gsl_config.h"
|
21
|
-
|
22
20
|
#ifndef GSL_1_2_LATER
|
23
21
|
#include <config.h>
|
24
22
|
#include <stdlib.h>
|
@@ -27,7 +25,7 @@
|
|
27
25
|
#include <gsl/gsl_matrix.h>
|
28
26
|
|
29
27
|
#define BASE_GSL_COMPLEX
|
30
|
-
#include "templates_on.h"
|
28
|
+
#include "include/templates_on.h"
|
31
29
|
|
32
30
|
int
|
33
31
|
FUNCTION (gsl_matrix, add) (GSL_TYPE (gsl_matrix) * a,
|
@@ -248,6 +246,6 @@ int FUNCTION (gsl_matrix, add_diagonal) (GSL_TYPE (gsl_matrix) * a, const BASE x
|
|
248
246
|
}
|
249
247
|
|
250
248
|
|
251
|
-
#include "templates_off.h"
|
249
|
+
#include "include/templates_off.h"
|
252
250
|
#undef BASE_GSL_COMPLEX
|
253
251
|
#endif
|
@@ -8,8 +8,8 @@
|
|
8
8
|
This library is distributed in the hope that it will be useful, but
|
9
9
|
WITHOUT ANY WARRANTY.
|
10
10
|
*/
|
11
|
-
|
12
|
-
#include "rb_gsl_array.h"
|
11
|
+
|
12
|
+
#include "include/rb_gsl_array.h"
|
13
13
|
#include <gsl/gsl_permute.h>
|
14
14
|
#include <gsl/gsl_permute_vector.h>
|
15
15
|
|
data/ext/{poly.c → gsl/poly.c}
RENAMED
@@ -8,10 +8,10 @@
|
|
8
8
|
This library is distributed in the hope that it will be useful, but
|
9
9
|
WITHOUT ANY WARRANTY.
|
10
10
|
*/
|
11
|
-
|
12
|
-
#include "rb_gsl_poly.h"
|
13
|
-
#include "rb_gsl_array.h"
|
14
|
-
#include "rb_gsl_common.h"
|
11
|
+
|
12
|
+
#include "include/rb_gsl_poly.h"
|
13
|
+
#include "include/rb_gsl_array.h"
|
14
|
+
#include "include/rb_gsl_common.h"
|
15
15
|
#ifdef HAVE_NARARY_H
|
16
16
|
#include "narray.h"
|
17
17
|
#endif
|
@@ -21,9 +21,9 @@ void Init_gsl_poly_int_init(VALUE module);
|
|
21
21
|
void Init_gsl_poly2(VALUE module);
|
22
22
|
|
23
23
|
#define BASE_DOUBLE
|
24
|
-
#include "templates_on.h"
|
24
|
+
#include "include/templates_on.h"
|
25
25
|
#include "poly_source.c"
|
26
|
-
#include "templates_off.h"
|
26
|
+
#include "include/templates_off.h"
|
27
27
|
void Init_gsl_poly(VALUE module)
|
28
28
|
{
|
29
29
|
Init_gsl_poly_init(module);
|
@@ -32,9 +32,9 @@ void Init_gsl_poly(VALUE module)
|
|
32
32
|
#undef BASE_DOUBLE
|
33
33
|
|
34
34
|
#define BASE_INT
|
35
|
-
#include "templates_on.h"
|
35
|
+
#include "include/templates_on.h"
|
36
36
|
#include "poly_source.c"
|
37
|
-
#include "templates_off.h"
|
37
|
+
#include "include/templates_off.h"
|
38
38
|
void Init_gsl_poly_int(VALUE module)
|
39
39
|
{
|
40
40
|
Init_gsl_poly_int_init(module);
|
data/ext/{poly2.c → gsl/poly2.c}
RENAMED
@@ -8,10 +8,10 @@
|
|
8
8
|
This library is distributed in the hope that it will be useful, but
|
9
9
|
WITHOUT ANY WARRANTY.
|
10
10
|
*/
|
11
|
-
|
12
|
-
#include "rb_gsl_poly.h"
|
13
|
-
#include "rb_gsl_math.h"
|
14
|
-
#include "rb_gsl_array.h"
|
11
|
+
|
12
|
+
#include "include/rb_gsl_poly.h"
|
13
|
+
#include "include/rb_gsl_math.h"
|
14
|
+
#include "include/rb_gsl_array.h"
|
15
15
|
#include <gsl/gsl_sf_gamma.h>
|
16
16
|
|
17
17
|
static gsl_poly_int* mygsl_poly_hermite(int n1)
|
@@ -68,7 +68,7 @@ double gsl_poly_int_eval(const BASE c[], const int len, const double x)
|
|
68
68
|
#endif
|
69
69
|
#ifdef BASE_DOUBLE
|
70
70
|
#ifdef HAVE_NARRAY_H
|
71
|
-
#include "rb_gsl_with_narray.h"
|
71
|
+
#include "include/rb_gsl_with_narray.h"
|
72
72
|
#endif
|
73
73
|
#ifdef GSL_1_11_LATER
|
74
74
|
static VALUE rb_gsl_complex_poly_complex_eval(VALUE a, VALUE b);
|
@@ -613,7 +613,7 @@ static VALUE FUNCTION(rb_gsl_poly,complex_solve_cubic)(int argc, VALUE *argv, VA
|
|
613
613
|
return Data_Wrap_Struct(cgsl_vector_complex, 0, gsl_vector_complex_free, r);
|
614
614
|
}
|
615
615
|
|
616
|
-
#ifdef
|
616
|
+
#ifdef HAVE_GSL_POLY_SOLVE_QUARTIC
|
617
617
|
static VALUE FUNCTION(rb_gsl_poly,solve_quartic)(int argc, VALUE *argv, VALUE obj)
|
618
618
|
{
|
619
619
|
double x0, x1, x2, x3;
|
@@ -901,7 +901,7 @@ static VALUE FUNCTION(rb_gsl_poly,complex_solve_cubic2)(VALUE obj)
|
|
901
901
|
return Data_Wrap_Struct(cgsl_vector_complex, 0, gsl_vector_complex_free, r);
|
902
902
|
}
|
903
903
|
|
904
|
-
#ifdef
|
904
|
+
#ifdef HAVE_GSL_POLY_SOLVE_QUARTIC
|
905
905
|
/* a4 x**4 + a3 x**3 + a2 x**2 + a1 x + a0 = 0 */
|
906
906
|
static VALUE FUNCTION(rb_gsl_poly,solve_quartic2)(VALUE obj)
|
907
907
|
{
|
@@ -1562,17 +1562,13 @@ static VALUE FUNCTION(rb_gsl_poly,info)(VALUE obj)
|
|
1562
1562
|
char buf[256];
|
1563
1563
|
Data_Get_Struct(obj, GSL_TYPE(gsl_poly), v);
|
1564
1564
|
sprintf(buf, "Class: %s\n", rb_class2name(CLASS_OF(obj)));
|
1565
|
-
#ifdef RUBY_1_9_LATER
|
1566
1565
|
sprintf(buf, "%sSuperClass: %s\n", buf, rb_class2name(RCLASS_SUPER(CLASS_OF(obj))));
|
1567
|
-
#else
|
1568
|
-
sprintf(buf, "%sSuperClass: %s\n", buf, rb_class2name(RCLASS(CLASS_OF(obj))->super));
|
1569
|
-
#endif
|
1570
1566
|
sprintf(buf, "%sOrder: %d\n", buf, (int) v->size-1);
|
1571
1567
|
return rb_str_new2(buf);
|
1572
1568
|
}
|
1573
1569
|
|
1574
1570
|
#ifdef BASE_DOUBLE
|
1575
|
-
#include "rb_gsl_fit.h"
|
1571
|
+
#include "include/rb_gsl_fit.h"
|
1576
1572
|
/* singleton */
|
1577
1573
|
static VALUE rb_gsl_poly_fit(int argc, VALUE *argv, VALUE obj)
|
1578
1574
|
{
|
@@ -1757,7 +1753,7 @@ void FUNCTION(Init_gsl_poly,init)(VALUE module)
|
|
1757
1753
|
FUNCTION(rb_gsl_poly,complex_solve_quadratic), -1);
|
1758
1754
|
rb_define_singleton_method(mgsl_poly_complex, "solve_cubic",
|
1759
1755
|
FUNCTION(rb_gsl_poly,complex_solve_cubic), -1);
|
1760
|
-
#ifdef
|
1756
|
+
#ifdef HAVE_GSL_POLY_SOLVE_QUARTIC
|
1761
1757
|
rb_define_singleton_method(mgsl_poly_complex, "solve_quartic",
|
1762
1758
|
FUNCTION(rb_gsl_poly,complex_solve_quartic), -1);
|
1763
1759
|
#endif
|
@@ -1777,7 +1773,7 @@ void FUNCTION(Init_gsl_poly,init)(VALUE module)
|
|
1777
1773
|
FUNCTION(rb_gsl_poly,complex_solve_quadratic), -1);
|
1778
1774
|
rb_define_singleton_method(GSL_TYPE(cgsl_poly), "complex_solve_cubic",
|
1779
1775
|
FUNCTION(rb_gsl_poly,complex_solve_cubic), -1);
|
1780
|
-
#ifdef
|
1776
|
+
#ifdef HAVE_GSL_POLY_SOLVE_QUARTIC
|
1781
1777
|
rb_define_singleton_method(GSL_TYPE(cgsl_poly), "solve_quartic",
|
1782
1778
|
FUNCTION(rb_gsl_poly,solve_quartic), -1);
|
1783
1779
|
|
@@ -1809,7 +1805,7 @@ void FUNCTION(Init_gsl_poly,init)(VALUE module)
|
|
1809
1805
|
rb_define_method(GSL_TYPE(cgsl_poly), "complex_solve_cubic",
|
1810
1806
|
FUNCTION(rb_gsl_poly,complex_solve_cubic2), 0);
|
1811
1807
|
|
1812
|
-
#ifdef
|
1808
|
+
#ifdef HAVE_GSL_POLY_SOLVE_QUARTIC
|
1813
1809
|
rb_define_method(GSL_TYPE(cgsl_poly), "solve_quartic",
|
1814
1810
|
FUNCTION(rb_gsl_poly,solve_quartic2), 0);
|
1815
1811
|
rb_define_method(GSL_TYPE(cgsl_poly), "complex_solve_quartic",
|
data/ext/{qrng.c → gsl/qrng.c}
RENAMED
@@ -8,9 +8,9 @@
|
|
8
8
|
This library is distributed in the hope that it will be useful, but
|
9
9
|
WITHOUT ANY WARRANTY.
|
10
10
|
*/
|
11
|
-
|
12
|
-
#include "rb_gsl_rng.h"
|
13
|
-
#include "rb_gsl_array.h"
|
11
|
+
|
12
|
+
#include "include/rb_gsl_rng.h"
|
13
|
+
#include "include/rb_gsl_array.h"
|
14
14
|
#include <gsl/gsl_qrng.h>
|
15
15
|
#ifdef HAVE_QRNGEXTRA_QRNGEXTRA_H
|
16
16
|
#include <qrngextra/qrngextra.h>
|
@@ -8,10 +8,10 @@
|
|
8
8
|
This library is distributed in the hope that it will be useful, but
|
9
9
|
WITHOUT ANY WARRANTY.
|
10
10
|
*/
|
11
|
-
|
12
|
-
#include "rb_gsl_array.h"
|
13
|
-
#include "rb_gsl_common.h"
|
14
|
-
#include "rb_gsl_rng.h"
|
11
|
+
|
12
|
+
#include "include/rb_gsl_array.h"
|
13
|
+
#include "include/rb_gsl_common.h"
|
14
|
+
#include "include/rb_gsl_rng.h"
|
15
15
|
#include <gsl/gsl_randist.h>
|
16
16
|
|
17
17
|
VALUE rb_gsl_eval_pdf_cdf(VALUE xx, double (*f)(double));
|
@@ -8,9 +8,9 @@
|
|
8
8
|
This library is distributed in the hope that it will be useful, but
|
9
9
|
WITHOUT ANY WARRANTY.
|
10
10
|
*/
|
11
|
-
|
12
|
-
#include "rb_gsl_rational.h"
|
13
|
-
#include "rb_gsl_array.h"
|
11
|
+
|
12
|
+
#include "include/rb_gsl_rational.h"
|
13
|
+
#include "include/rb_gsl_array.h"
|
14
14
|
|
15
15
|
VALUE cgsl_rational;
|
16
16
|
static gsl_rational* gsl_rational_div_poly(const gsl_rational *r1, const gsl_poly *p);
|
data/ext/{rng.c → gsl/rng.c}
RENAMED
data/ext/{root.c → gsl/root.c}
RENAMED
@@ -9,11 +9,10 @@
|
|
9
9
|
WITHOUT ANY WARRANTY.
|
10
10
|
*/
|
11
11
|
|
12
|
-
#include "
|
13
|
-
#include "
|
14
|
-
#include "
|
15
|
-
#include "
|
16
|
-
#include "rb_gsl_root.h"
|
12
|
+
#include "include/rb_gsl_array.h"
|
13
|
+
#include "include/rb_gsl_common.h"
|
14
|
+
#include "include/rb_gsl_function.h"
|
15
|
+
#include "include/rb_gsl_root.h"
|
17
16
|
|
18
17
|
EXTERN VALUE cgsl_function_fdf;
|
19
18
|
|
data/ext/{sf.c → gsl/sf.c}
RENAMED
@@ -10,8 +10,8 @@
|
|
10
10
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
11
11
|
*/
|
12
12
|
|
13
|
-
#include "rb_gsl_sf.h"
|
14
|
-
#include "rb_gsl_array.h"
|
13
|
+
#include "include/rb_gsl_sf.h"
|
14
|
+
#include "include/rb_gsl_array.h"
|
15
15
|
|
16
16
|
/* m: precision, d(double), s(single), a(apporox) */
|
17
17
|
static VALUE rb_gsl_sf_airy_Ai(int argc, VALUE *argv, VALUE obj)
|
@@ -10,7 +10,7 @@
|
|
10
10
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
11
11
|
*/
|
12
12
|
|
13
|
-
#include "rb_gsl_sf.h"
|
13
|
+
#include "include/rb_gsl_sf.h"
|
14
14
|
|
15
15
|
static VALUE rb_gsl_sf_coupling_3j(VALUE obj, VALUE two_ja, VALUE two_jb, VALUE two_jc, VALUE two_ma, VALUE two_mb, VALUE two_mc)
|
16
16
|
{
|