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.
Files changed (164) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +6 -0
  3. data/README +11 -15
  4. data/Rakefile +6 -10
  5. data/ext/{alf.c → gsl/alf.c} +1 -1
  6. data/ext/{array.c → gsl/array.c} +4 -6
  7. data/ext/{array_complex.c → gsl/array_complex.c} +2 -3
  8. data/ext/{blas.c → gsl/blas.c} +2 -3
  9. data/ext/{blas1.c → gsl/blas1.c} +3 -4
  10. data/ext/{blas2.c → gsl/blas2.c} +3 -4
  11. data/ext/{blas3.c → gsl/blas3.c} +3 -4
  12. data/ext/{block.c → gsl/block.c} +11 -12
  13. data/ext/{block_source.c → gsl/block_source.c} +0 -0
  14. data/ext/{bspline.c → gsl/bspline.c} +1 -1
  15. data/ext/{bundle.c → gsl/bundle.c} +0 -0
  16. data/ext/{cdf.c → gsl/cdf.c} +3 -5
  17. data/ext/{cheb.c → gsl/cheb.c} +4 -4
  18. data/ext/{combination.c → gsl/combination.c} +2 -3
  19. data/ext/{common.c → gsl/common.c} +8 -10
  20. data/ext/{complex.c → gsl/complex.c} +3 -3
  21. data/ext/{const.c → gsl/const.c} +2 -3
  22. data/ext/{const_additional.c → gsl/const_additional.c} +2 -2
  23. data/ext/{cqp.c → gsl/cqp.c} +1 -1
  24. data/ext/{deriv.c → gsl/deriv.c} +3 -3
  25. data/ext/{dht.c → gsl/dht.c} +3 -3
  26. data/ext/{diff.c → gsl/diff.c} +3 -3
  27. data/ext/{dirac.c → gsl/dirac.c} +1 -1
  28. data/ext/{eigen.c → gsl/eigen.c} +16 -16
  29. data/ext/{error.c → gsl/error.c} +5 -5
  30. data/ext/gsl/extconf.rb +121 -0
  31. data/ext/{fcmp.c → gsl/fcmp.c} +0 -2
  32. data/ext/{fft.c → gsl/fft.c} +1 -2
  33. data/ext/{fit.c → gsl/fit.c} +1 -2
  34. data/ext/{fresnel.c → gsl/fresnel.c} +2 -2
  35. data/ext/{function.c → gsl/function.c} +3 -3
  36. data/ext/{geometry.c → gsl/geometry.c} +1 -1
  37. data/ext/{graph.c → gsl/graph.c} +2 -2
  38. data/ext/{gsl.c → gsl/gsl.c} +2 -10
  39. data/ext/{gsl_narray.c → gsl/gsl_narray.c} +2 -3
  40. data/ext/{histogram.c → gsl/histogram.c} +3 -4
  41. data/ext/{histogram2d.c → gsl/histogram2d.c} +3 -4
  42. data/ext/{histogram3d.c → gsl/histogram3d.c} +4 -4
  43. data/ext/{histogram3d_source.c → gsl/histogram3d_source.c} +1 -1
  44. data/ext/{histogram_find.c → gsl/histogram_find.c} +1 -1
  45. data/ext/{histogram_oper.c → gsl/histogram_oper.c} +0 -0
  46. data/ext/{ieee.c → gsl/ieee.c} +4 -8
  47. data/{include → ext/gsl/include}/rb_gsl.h +4 -19
  48. data/{include → ext/gsl/include}/rb_gsl_array.h +0 -14
  49. data/{include → ext/gsl/include}/rb_gsl_cheb.h +0 -2
  50. data/{include → ext/gsl/include}/rb_gsl_common.h +11 -15
  51. data/{include → ext/gsl/include}/rb_gsl_complex.h +1 -1
  52. data/{include → ext/gsl/include}/rb_gsl_const.h +1 -2
  53. data/ext/gsl/include/rb_gsl_dirac.h +6 -0
  54. data/{include → ext/gsl/include}/rb_gsl_eigen.h +1 -1
  55. data/{include → ext/gsl/include}/rb_gsl_fft.h +0 -10
  56. data/{include → ext/gsl/include}/rb_gsl_fit.h +0 -2
  57. data/{include → ext/gsl/include}/rb_gsl_function.h +0 -4
  58. data/{include → ext/gsl/include}/rb_gsl_graph.h +0 -2
  59. data/{include → ext/gsl/include}/rb_gsl_histogram.h +0 -0
  60. data/{include → ext/gsl/include}/rb_gsl_histogram3d.h +0 -0
  61. data/{include → ext/gsl/include}/rb_gsl_integration.h +1 -1
  62. data/{include → ext/gsl/include}/rb_gsl_interp.h +0 -5
  63. data/{include → ext/gsl/include}/rb_gsl_linalg.h +2 -5
  64. data/{include → ext/gsl/include}/rb_gsl_math.h +0 -2
  65. data/{include → ext/gsl/include}/rb_gsl_odeiv.h +0 -3
  66. data/{include → ext/gsl/include}/rb_gsl_poly.h +0 -4
  67. data/{include → ext/gsl/include}/rb_gsl_rational.h +0 -7
  68. data/{include → ext/gsl/include}/rb_gsl_rng.h +0 -1
  69. data/{include → ext/gsl/include}/rb_gsl_root.h +1 -1
  70. data/{include → ext/gsl/include}/rb_gsl_sf.h +0 -5
  71. data/{include → ext/gsl/include}/rb_gsl_statistics.h +1 -1
  72. data/{include → ext/gsl/include}/rb_gsl_tensor.h +0 -2
  73. data/{include → ext/gsl/include}/rb_gsl_with_narray.h +3 -1
  74. data/{include → ext/gsl/include}/templates_off.h +0 -0
  75. data/{include → ext/gsl/include}/templates_on.h +0 -0
  76. data/ext/{integration.c → gsl/integration.c} +4 -6
  77. data/ext/{interp.c → gsl/interp.c} +1 -6
  78. data/ext/{jacobi.c → gsl/jacobi.c} +1 -1
  79. data/ext/{linalg.c → gsl/linalg.c} +3 -4
  80. data/ext/{linalg_complex.c → gsl/linalg_complex.c} +3 -4
  81. data/ext/{math.c → gsl/math.c} +2 -3
  82. data/ext/{matrix.c → gsl/matrix.c} +9 -10
  83. data/ext/{matrix_complex.c → gsl/matrix_complex.c} +2 -3
  84. data/ext/{matrix_double.c → gsl/matrix_double.c} +5 -5
  85. data/ext/{matrix_int.c → gsl/matrix_int.c} +4 -4
  86. data/ext/{matrix_source.c → gsl/matrix_source.c} +2 -6
  87. data/ext/{min.c → gsl/min.c} +2 -2
  88. data/ext/{monte.c → gsl/monte.c} +3 -3
  89. data/ext/{multifit.c → gsl/multifit.c} +4 -4
  90. data/ext/{multimin.c → gsl/multimin.c} +5 -5
  91. data/ext/{multimin_fsdf.c → gsl/multimin_fsdf.c} +1 -1
  92. data/ext/{multiroots.c → gsl/multiroots.c} +6 -6
  93. data/ext/{multiset.c → gsl/multiset.c} +1 -1
  94. data/ext/{ndlinear.c → gsl/ndlinear.c} +1 -1
  95. data/ext/{nmf.c → gsl/nmf.c} +0 -0
  96. data/ext/{nmf_wrap.c → gsl/nmf_wrap.c} +0 -0
  97. data/ext/{ntuple.c → gsl/ntuple.c} +6 -6
  98. data/ext/{odeiv.c → gsl/odeiv.c} +4 -8
  99. data/ext/{ool.c → gsl/ool.c} +2 -2
  100. data/ext/{oper_complex_source.c → gsl/oper_complex_source.c} +2 -4
  101. data/ext/{permutation.c → gsl/permutation.c} +2 -2
  102. data/ext/{poly.c → gsl/poly.c} +8 -8
  103. data/ext/{poly2.c → gsl/poly2.c} +4 -4
  104. data/ext/{poly_source.c → gsl/poly_source.c} +7 -11
  105. data/ext/{qrng.c → gsl/qrng.c} +3 -3
  106. data/ext/{randist.c → gsl/randist.c} +4 -4
  107. data/ext/{rational.c → gsl/rational.c} +3 -3
  108. data/ext/{rng.c → gsl/rng.c} +1 -2
  109. data/ext/{root.c → gsl/root.c} +4 -5
  110. data/ext/{sf.c → gsl/sf.c} +2 -2
  111. data/ext/{sf_airy.c → gsl/sf_airy.c} +2 -2
  112. data/ext/{sf_bessel.c → gsl/sf_bessel.c} +1 -1
  113. data/ext/{sf_clausen.c → gsl/sf_clausen.c} +1 -1
  114. data/ext/{sf_coulomb.c → gsl/sf_coulomb.c} +1 -1
  115. data/ext/{sf_coupling.c → gsl/sf_coupling.c} +1 -1
  116. data/ext/{sf_dawson.c → gsl/sf_dawson.c} +1 -1
  117. data/ext/{sf_debye.c → gsl/sf_debye.c} +1 -1
  118. data/ext/{sf_dilog.c → gsl/sf_dilog.c} +1 -1
  119. data/ext/{sf_elementary.c → gsl/sf_elementary.c} +1 -1
  120. data/ext/{sf_ellint.c → gsl/sf_ellint.c} +1 -1
  121. data/ext/{sf_elljac.c → gsl/sf_elljac.c} +1 -1
  122. data/ext/{sf_erfc.c → gsl/sf_erfc.c} +1 -1
  123. data/ext/{sf_exp.c → gsl/sf_exp.c} +1 -1
  124. data/ext/{sf_expint.c → gsl/sf_expint.c} +1 -1
  125. data/ext/{sf_fermi_dirac.c → gsl/sf_fermi_dirac.c} +1 -1
  126. data/ext/{sf_gamma.c → gsl/sf_gamma.c} +1 -1
  127. data/ext/{sf_gegenbauer.c → gsl/sf_gegenbauer.c} +1 -1
  128. data/ext/{sf_hyperg.c → gsl/sf_hyperg.c} +1 -1
  129. data/ext/{sf_laguerre.c → gsl/sf_laguerre.c} +1 -1
  130. data/ext/{sf_lambert.c → gsl/sf_lambert.c} +1 -1
  131. data/ext/{sf_legendre.c → gsl/sf_legendre.c} +1 -1
  132. data/ext/{sf_log.c → gsl/sf_log.c} +1 -1
  133. data/ext/{sf_mathieu.c → gsl/sf_mathieu.c} +1 -1
  134. data/ext/{sf_power.c → gsl/sf_power.c} +1 -1
  135. data/ext/{sf_psi.c → gsl/sf_psi.c} +1 -1
  136. data/ext/{sf_synchrotron.c → gsl/sf_synchrotron.c} +1 -1
  137. data/ext/{sf_transport.c → gsl/sf_transport.c} +1 -1
  138. data/ext/{sf_trigonometric.c → gsl/sf_trigonometric.c} +1 -1
  139. data/ext/{sf_zeta.c → gsl/sf_zeta.c} +1 -1
  140. data/ext/{signal.c → gsl/signal.c} +2 -3
  141. data/ext/{siman.c → gsl/siman.c} +9 -9
  142. data/ext/{sort.c → gsl/sort.c} +4 -4
  143. data/ext/{spline.c → gsl/spline.c} +3 -3
  144. data/ext/{stats.c → gsl/stats.c} +3 -3
  145. data/ext/{sum.c → gsl/sum.c} +2 -2
  146. data/ext/{tamu_anova.c → gsl/tamu_anova.c} +1 -1
  147. data/ext/{tensor.c → gsl/tensor.c} +6 -7
  148. data/ext/{tensor_source.c → gsl/tensor_source.c} +3 -4
  149. data/ext/{vector.c → gsl/vector.c} +9 -10
  150. data/ext/{vector_complex.c → gsl/vector_complex.c} +3 -3
  151. data/ext/{vector_double.c → gsl/vector_double.c} +5 -6
  152. data/ext/{vector_int.c → gsl/vector_int.c} +4 -4
  153. data/ext/{vector_source.c → gsl/vector_source.c} +1 -5
  154. data/ext/{wavelet.c → gsl/wavelet.c} +3 -4
  155. data/lib/gsl.rb +13 -3
  156. data/lib/gsl/gnuplot.rb +1 -1
  157. data/lib/gsl/version.rb +5 -0
  158. data/lib/rbgsl.rb +1 -3
  159. data/rdoc/index.rdoc +0 -9
  160. metadata +199 -160
  161. data/VERSION +0 -1
  162. data/ext/extconf.rb +0 -309
  163. data/include/rb_gsl_config.h +0 -71
  164. data/include/rb_gsl_dirac.h +0 -13
@@ -1,6 +1,6 @@
1
1
  #ifdef HAVE_OOL_OOL_VERSION_H
2
- #include "rb_gsl.h"
3
- #include "rb_gsl_array.h"
2
+ #include "include/rb_gsl.h"
3
+ #include "include/rb_gsl_array.h"
4
4
  #include <ool/ool_conmin.h>
5
5
 
6
6
  static VALUE cool_conmin_function;
@@ -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
- #include "rb_gsl_config.h"
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
 
@@ -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
- #include "rb_gsl_config.h"
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);
@@ -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
- #include "rb_gsl_config.h"
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 HAVE_POLY_SOLVE_QUARTIC
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 HAVE_POLY_SOLVE_QUARTIC
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 HAVE_POLY_SOLVE_QUARTIC
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 HAVE_POLY_SOLVE_QUARTIC
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 HAVE_POLY_SOLVE_QUARTIC
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",
@@ -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
- #include "rb_gsl_config.h"
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
- #include "rb_gsl_config.h"
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
- #include "rb_gsl_config.h"
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);
@@ -14,8 +14,7 @@
14
14
  Random number generator
15
15
  */
16
16
 
17
- #include "rb_gsl_config.h"
18
- #include "rb_gsl_rng.h"
17
+ #include "include/rb_gsl_rng.h"
19
18
  #ifdef HAVE_RNGEXTRA_RNGEXTRA_H
20
19
  #include "rngextra/rngextra.h"
21
20
  #endif
@@ -9,11 +9,10 @@
9
9
  WITHOUT ANY WARRANTY.
10
10
  */
11
11
 
12
- #include "rb_gsl_config.h"
13
- #include "rb_gsl_array.h"
14
- #include "rb_gsl_common.h"
15
- #include "rb_gsl_function.h"
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
 
@@ -10,8 +10,8 @@
10
10
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
11
  */
12
12
 
13
- #include "rb_gsl_array.h"
14
- #include "rb_gsl_sf.h"
13
+ #include "include/rb_gsl_array.h"
14
+ #include "include/rb_gsl_sf.h"
15
15
  #ifdef HAVE_NARRAY_H
16
16
  #include "narray.h"
17
17
  #endif
@@ -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
  EXTERN VALUE cgsl_vector;
15
15
 
16
16
  /* Cylindrical Bessel Functions */
@@ -9,7 +9,7 @@
9
9
  WITHOUT ANY WARRANTY.
10
10
  */
11
11
 
12
- #include "rb_gsl_sf.h"
12
+ #include "include/rb_gsl_sf.h"
13
13
 
14
14
  static VALUE rb_gsl_sf_clausen(VALUE obj, VALUE x)
15
15
  {
@@ -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
  EXTERN VALUE cgsl_vector;
15
15
 
16
16
  static VALUE rb_gsl_sf_hydrogenicR_1(VALUE obj, VALUE Z, VALUE r)
@@ -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
  {
@@ -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_dawson(VALUE obj, VALUE x)
16
16
  {
@@ -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_debye_1(VALUE obj, VALUE x)
16
16
  {
@@ -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_dilog(VALUE obj, VALUE x)
16
16
  {
@@ -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_multiply_e(VALUE obj, VALUE x, VALUE y)
16
16
  {
@@ -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_ellint_Kcomp(int argc, VALUE *argv, VALUE obj)
16
16
  {
@@ -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_elljac_e(VALUE obj, VALUE n, VALUE m)
16
16
  {
@@ -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_erf(VALUE obj, VALUE x)
16
16
  {
@@ -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_exp(VALUE obj, VALUE x)
16
16
  {
@@ -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_expint_E1(VALUE obj, VALUE x)
16
16
  {
@@ -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_fermi_dirac_m1(VALUE obj, VALUE x)
16
16
  {
@@ -9,7 +9,7 @@
9
9
  WITHOUT ANY WARRANTY.
10
10
  */
11
11
 
12
- #include "rb_gsl_sf.h"
12
+ #include "include/rb_gsl_sf.h"
13
13
 
14
14
  static VALUE rb_gsl_sf_gamma(VALUE obj, VALUE x)
15
15
  {
@@ -9,7 +9,7 @@
9
9
  WITHOUT ANY WARRANTY.
10
10
  */
11
11
 
12
- #include "rb_gsl_sf.h"
12
+ #include "include/rb_gsl_sf.h"
13
13
 
14
14
  static VALUE rb_gsl_sf_gegenpoly_1(VALUE obj, VALUE lambda, VALUE x)
15
15
  {
@@ -9,7 +9,7 @@
9
9
  WITHOUT ANY WARRANTY.
10
10
  */
11
11
 
12
- #include "rb_gsl_sf.h"
12
+ #include "include/rb_gsl_sf.h"
13
13
 
14
14
  /* Checked with Mathematica. */
15
15
  static VALUE rb_gsl_sf_hyperg_0F1(VALUE obj, VALUE c, VALUE x)
@@ -9,7 +9,7 @@
9
9
  WITHOUT ANY WARRANTY.
10
10
  */
11
11
 
12
- #include "rb_gsl_sf.h"
12
+ #include "include/rb_gsl_sf.h"
13
13
 
14
14
  static VALUE rb_gsl_sf_laguerre_X(int argc, VALUE *argv, VALUE obj,
15
15
  double (*f)(double, double))
@@ -9,7 +9,7 @@
9
9
  WITHOUT ANY WARRANTY.
10
10
  */
11
11
 
12
- #include "rb_gsl_sf.h"
12
+ #include "include/rb_gsl_sf.h"
13
13
 
14
14
  static VALUE rb_gsl_sf_lambert_W0(VALUE obj, VALUE x)
15
15
  {