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
@@ -9,10 +9,9 @@
|
|
9
9
|
WITHOUT ANY WARRANTY.
|
10
10
|
*/
|
11
11
|
|
12
|
-
#include "
|
13
|
-
#include "
|
14
|
-
#include "
|
15
|
-
#include "rb_gsl_array.h"
|
12
|
+
#include "include/rb_gsl_histogram.h"
|
13
|
+
#include "include/rb_gsl_common.h"
|
14
|
+
#include "include/rb_gsl_array.h"
|
16
15
|
|
17
16
|
VALUE cgsl_histogram2d;
|
18
17
|
VALUE cgsl_histogram2d_view;
|
@@ -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_histogram.h"
|
13
|
-
#include "rb_gsl_common.h"
|
14
|
-
#include "rb_gsl_array.h"
|
11
|
+
|
12
|
+
#include "include/rb_gsl_histogram.h"
|
13
|
+
#include "include/rb_gsl_common.h"
|
14
|
+
#include "include/rb_gsl_array.h"
|
15
15
|
|
16
16
|
static VALUE cgsl_histogram3d;
|
17
17
|
static VALUE cgsl_histogram3d_view;
|
File without changes
|
data/ext/{ieee.c → gsl/ieee.c}
RENAMED
@@ -9,7 +9,7 @@
|
|
9
9
|
WITHOUT ANY WARRANTY.
|
10
10
|
*/
|
11
11
|
|
12
|
-
#include "rb_gsl.h"
|
12
|
+
#include "include/rb_gsl.h"
|
13
13
|
|
14
14
|
static VALUE rb_gsl_ieee_env_setup(VALUE obj)
|
15
15
|
{
|
@@ -19,15 +19,15 @@ static VALUE rb_gsl_ieee_env_setup(VALUE obj)
|
|
19
19
|
|
20
20
|
static VALUE rb_gsl_ieee_fprintf_double(int argc, VALUE *argv, VALUE obj)
|
21
21
|
{
|
22
|
-
#ifdef
|
22
|
+
#ifdef HAVE_RUBY_IO_H
|
23
23
|
rb_io_t *fptr = NULL;
|
24
|
-
double ftmp;
|
25
24
|
#else
|
26
25
|
OpenFile *fptr = NULL;
|
27
26
|
#endif
|
28
27
|
FILE *fp = NULL;
|
29
28
|
int flag = 0;
|
30
29
|
VALUE vtmp;
|
30
|
+
double ftmp;
|
31
31
|
|
32
32
|
switch (argc) {
|
33
33
|
case 2:
|
@@ -39,7 +39,7 @@ static VALUE rb_gsl_ieee_fprintf_double(int argc, VALUE *argv, VALUE obj)
|
|
39
39
|
case T_FILE:
|
40
40
|
GetOpenFile(argv[0], fptr);
|
41
41
|
rb_io_check_writable(fptr);
|
42
|
-
#ifdef
|
42
|
+
#ifdef HAVE_RUBY_IO_H
|
43
43
|
fp = rb_io_stdio_file(fptr);
|
44
44
|
#else
|
45
45
|
fp = GetWriteFile(fptr);
|
@@ -61,12 +61,8 @@ static VALUE rb_gsl_ieee_fprintf_double(int argc, VALUE *argv, VALUE obj)
|
|
61
61
|
if (TYPE(vtmp) != T_FLOAT)
|
62
62
|
rb_raise(rb_eTypeError, "wrong argument type %s (Float expected)",
|
63
63
|
rb_class2name(CLASS_OF(vtmp)));
|
64
|
-
#ifdef RUBY_1_9_LATER
|
65
64
|
ftmp = RFLOAT_VALUE(vtmp);
|
66
65
|
gsl_ieee_fprintf_double(fp, &ftmp);
|
67
|
-
#else
|
68
|
-
gsl_ieee_fprintf_double(fp, &(RFLOAT(vtmp)->value));
|
69
|
-
#endif
|
70
66
|
if (fp == stdout) fprintf(stdout, "\n");
|
71
67
|
if (flag == 1) fclose(fp);
|
72
68
|
return obj;
|
@@ -12,40 +12,25 @@
|
|
12
12
|
#ifndef ___RB_GSL_H___
|
13
13
|
#define ___RB_GSL_H___
|
14
14
|
|
15
|
-
#include <stdio.h>
|
16
15
|
#include <string.h>
|
17
|
-
#include <ctype.h>
|
18
16
|
#include <stdlib.h>
|
19
17
|
#include <gsl/gsl_mode.h>
|
20
|
-
#include "rb_gsl_common.h"
|
21
|
-
#include "rb_gsl_math.h"
|
22
|
-
#include "rb_gsl_complex.h"
|
23
|
-
#include "rb_gsl_array.h"
|
24
|
-
#include "rb_gsl_function.h"
|
25
18
|
#include "rb_gsl_poly.h"
|
26
|
-
#include "rb_gsl_sf.h"
|
27
19
|
#include "rb_gsl_linalg.h"
|
20
|
+
#include "rb_gsl_math.h"
|
21
|
+
#include "rb_gsl_root.h"
|
22
|
+
#include "rb_gsl_histogram.h"
|
23
|
+
#include "rb_gsl_sf.h"
|
28
24
|
#include "rb_gsl_eigen.h"
|
29
25
|
#include "rb_gsl_fft.h"
|
30
26
|
#include "rb_gsl_integration.h"
|
31
27
|
#include "rb_gsl_rng.h"
|
32
28
|
#include "rb_gsl_statistics.h"
|
33
|
-
#include "rb_gsl_histogram.h"
|
34
29
|
#include "rb_gsl_odeiv.h"
|
35
30
|
#include "rb_gsl_interp.h"
|
36
31
|
#include "rb_gsl_cheb.h"
|
37
|
-
#include "rb_gsl_root.h"
|
38
32
|
#include "rb_gsl_fit.h"
|
39
33
|
#include "rb_gsl_const.h"
|
40
|
-
#include "rb_gsl_config.h"
|
41
|
-
|
42
|
-
|
43
|
-
#include "ruby.h"
|
44
|
-
#ifdef RUBY_1_9_LATER
|
45
|
-
#include "ruby/io.h"
|
46
|
-
#else
|
47
|
-
#include "rubyio.h"
|
48
|
-
#endif
|
49
34
|
|
50
35
|
void Init_gsl_error(VALUE module);
|
51
36
|
void Init_gsl_math(VALUE module);
|
@@ -13,15 +13,10 @@
|
|
13
13
|
#define ___RB_GSL_ARRAY_H___
|
14
14
|
|
15
15
|
#include <math.h>
|
16
|
-
#include <gsl/gsl_errno.h>
|
17
|
-
#include <gsl/gsl_complex.h>
|
18
16
|
#include <gsl/gsl_block.h>
|
19
|
-
#include <gsl/gsl_vector.h>
|
20
17
|
#include <gsl/gsl_vector_complex.h>
|
21
18
|
#include <gsl/gsl_vector_complex_double.h>
|
22
|
-
#include <gsl/gsl_matrix.h>
|
23
19
|
#include <gsl/gsl_matrix_complex_double.h>
|
24
|
-
#include <gsl/gsl_permutation.h>
|
25
20
|
#include <gsl/gsl_combination.h>
|
26
21
|
#include <gsl/gsl_sort.h>
|
27
22
|
#include <gsl/gsl_sort_vector.h>
|
@@ -29,15 +24,6 @@
|
|
29
24
|
#include <gsl/gsl_eigen.h>
|
30
25
|
#include <gsl/gsl_odeiv.h>
|
31
26
|
#include <gsl/gsl_blas.h>
|
32
|
-
#include "rb_gsl_config.h"
|
33
|
-
|
34
|
-
#include "ruby.h"
|
35
|
-
#ifdef RUBY_1_9_LATER
|
36
|
-
#include "ruby/io.h"
|
37
|
-
#else
|
38
|
-
#include "rubyio.h"
|
39
|
-
#endif
|
40
|
-
|
41
27
|
#include "rb_gsl_common.h"
|
42
28
|
|
43
29
|
typedef gsl_permutation gsl_index;
|
@@ -12,21 +12,22 @@
|
|
12
12
|
#ifndef ___RB_GSL_COMMON_H___
|
13
13
|
#define ___RB_GSL_COMMON_H___
|
14
14
|
|
15
|
-
#include
|
16
|
-
#
|
15
|
+
#include <ruby.h>
|
16
|
+
#ifdef HAVE_RUBY_IO_H
|
17
|
+
#include <ruby/io.h>
|
18
|
+
#else
|
19
|
+
#include <rubyio.h>
|
20
|
+
#endif
|
21
|
+
|
17
22
|
#include <ctype.h>
|
18
23
|
#include <gsl/gsl_errno.h>
|
19
24
|
#include <gsl/gsl_version.h>
|
20
25
|
#include <gsl/gsl_math.h>
|
21
26
|
#include <gsl/gsl_complex.h>
|
22
|
-
#include <gsl/gsl_vector.h>
|
23
27
|
#include <gsl/gsl_matrix.h>
|
24
28
|
#include <gsl/gsl_permutation.h>
|
25
29
|
#include <gsl/gsl_ieee_utils.h>
|
26
|
-
#ifdef HAVE_NARRAY_H
|
27
|
-
#include "narray.h"
|
28
30
|
#include "rb_gsl_with_narray.h"
|
29
|
-
#endif
|
30
31
|
|
31
32
|
EXTERN ID rb_gsl_id_beg, rb_gsl_id_end, rb_gsl_id_excl, rb_gsl_id_to_a;
|
32
33
|
|
@@ -316,17 +317,12 @@ VALUE rb_gsl_obj_read_only(int argc, VALUE *argv, VALUE obj);
|
|
316
317
|
int str_tail_grep(const char *s0, const char *s1);
|
317
318
|
int str_head_grep(const char *s0, const char *s1);
|
318
319
|
|
319
|
-
#
|
320
|
-
#define
|
321
|
-
#define STR2CHARPTR StringValuePtr
|
322
|
-
#else
|
323
|
-
#define RB_GSL_MAKE_PROC rb_f_lambda()
|
324
|
-
#define STR2CHARPTR STR2CSTR
|
320
|
+
#ifndef STR2CSTR
|
321
|
+
#define STR2CSTR StringValuePtr
|
325
322
|
#endif
|
326
323
|
|
327
|
-
|
328
|
-
#
|
329
|
-
#define STR2CSTR StringValuePtr
|
324
|
+
#ifndef RCLASS_SUPER
|
325
|
+
#define RCLASS_SUPER(cls) RCLASS(cls)->super
|
330
326
|
#endif
|
331
327
|
|
332
328
|
void make_graphcommand(char *command, VALUE hash);
|
@@ -13,21 +13,11 @@
|
|
13
13
|
#ifndef ___RB_GSL_FFT_H___
|
14
14
|
#define ___RB_GSL_FFT_H___
|
15
15
|
|
16
|
-
|
17
|
-
#include <stdio.h>
|
18
|
-
#include <math.h>
|
19
|
-
#include "ruby.h"
|
20
|
-
#include <gsl/gsl_vector.h>
|
21
|
-
#include <gsl/gsl_errno.h>
|
22
16
|
#include <gsl/gsl_fft.h>
|
23
17
|
#include <gsl/gsl_fft_complex.h>
|
24
18
|
#include <gsl/gsl_fft_real.h>
|
25
19
|
#include <gsl/gsl_fft_halfcomplex.h>
|
26
|
-
#include "rb_gsl_array.h"
|
27
20
|
#include "rb_gsl.h"
|
28
|
-
|
29
|
-
#include "rb_gsl_complex.h"
|
30
|
-
#include "rb_gsl_array.h"
|
31
21
|
#ifdef HAVE_NARRAY_H
|
32
22
|
#include "narray.h"
|
33
23
|
#endif
|
File without changes
|
File without changes
|
@@ -13,14 +13,9 @@
|
|
13
13
|
#ifndef ___RB_GSL_INTERP_H___
|
14
14
|
#define ___RB_GSL_INTERP_H___
|
15
15
|
|
16
|
-
#include "ruby.h"
|
17
16
|
#include "rb_gsl.h"
|
18
17
|
#include <gsl/gsl_interp.h>
|
19
18
|
#include <gsl/gsl_spline.h>
|
20
|
-
#ifdef HAVE_NARRAY_H
|
21
|
-
#include "narray.h"
|
22
|
-
#endif
|
23
|
-
|
24
19
|
|
25
20
|
typedef struct {
|
26
21
|
gsl_interp *p;
|
@@ -12,12 +12,9 @@
|
|
12
12
|
#ifndef ___RB_GSL_LINALG_H___
|
13
13
|
#define ___RB_GSL_LINALG_H___
|
14
14
|
|
15
|
-
#include
|
16
|
-
#include
|
17
|
-
|
18
|
-
#ifdef HAVE_NARRAY_H
|
15
|
+
#include <gsl/gsl_linalg.h>
|
16
|
+
#include <gsl/gsl_math.h>
|
19
17
|
#include "rb_gsl_with_narray.h"
|
20
|
-
#endif
|
21
18
|
|
22
19
|
VALUE rb_gsl_linalg_complex_LU_decomp(int argc, VALUE *argv, VALUE obj);
|
23
20
|
VALUE rb_gsl_linalg_complex_LU_decomp2(int argc, VALUE *argv, VALUE obj);
|
@@ -13,11 +13,7 @@
|
|
13
13
|
#ifndef ___RB_GSL_POLY_H___
|
14
14
|
#define ___RB_GSL_POLY_H___
|
15
15
|
|
16
|
-
#include "ruby.h"
|
17
|
-
#include <gsl/gsl_vector.h>
|
18
16
|
#include <gsl/gsl_poly.h>
|
19
|
-
#include <gsl/gsl_complex.h>
|
20
|
-
#include <gsl/gsl_complex_math.h>
|
21
17
|
#include "rb_gsl_complex.h"
|
22
18
|
#include "rb_gsl_array.h"
|
23
19
|
|
@@ -13,13 +13,6 @@
|
|
13
13
|
#ifndef ___RB_GSL_RATIONAL_H___
|
14
14
|
#define ___RB_GSL_RATIONAL_H___
|
15
15
|
|
16
|
-
#include "ruby.h"
|
17
|
-
#include <gsl/gsl_vector.h>
|
18
|
-
#include <gsl/gsl_poly.h>
|
19
|
-
#include <gsl/gsl_complex.h>
|
20
|
-
#include <gsl/gsl_complex_math.h>
|
21
|
-
#include "rb_gsl_complex.h"
|
22
|
-
#include "rb_gsl_array.h"
|
23
16
|
#include "rb_gsl_poly.h"
|
24
17
|
|
25
18
|
typedef struct ___gsl_rational
|