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/lib/rbgsl.rb
CHANGED
data/rdoc/index.rdoc
CHANGED
@@ -15,15 +15,6 @@
|
|
15
15
|
# Note that the GSL libraries must already be installed before Ruby/GSL
|
16
16
|
# can be installed.
|
17
17
|
#
|
18
|
-
# === {}[link:index.html"name="3.2] Using the setup.rb command
|
19
|
-
# If you prefer, Ruby/GSL may still be installed using setup.rb.
|
20
|
-
# 1. Get and install {GSL}[http://www.gnu.org/software/gsl/#downloading"target="_top]. Make sure the command "gsl-config" is in command search path.
|
21
|
-
# 1. {Download}[http://rubyforge.org/frs/?group_id=285"target="_top] Ruby/GSL, ungzip and untar the archive <tt>rb-gsl-xxx.tgz</tt>.
|
22
|
-
# 1. <tt> % cd rb-gsl-xxx/</tt>
|
23
|
-
# 1. <tt> % ruby setup.rb config</tt>
|
24
|
-
# 1. <tt> % ruby setup.rb setup</tt>
|
25
|
-
# 1. <tt> % ruby setup.rb install</tt> (as root)
|
26
|
-
#
|
27
18
|
# * It is recommended to install the
|
28
19
|
# {GNU plotutils}[http://www.gnu.org/software/plotutils/plotutils.html"target="_top]
|
29
20
|
# package. Some of the example scripts in the 'examples/' directory use the
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rb-gsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.16.0
|
4
|
+
version: 1.16.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshiki Tsunesada
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-04-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: narray
|
@@ -26,12 +26,54 @@ dependencies:
|
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: 0.5.9
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: hen
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
type: :development
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0'
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: rake
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
50
|
+
type: :development
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: test-unit
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0'
|
64
|
+
type: :development
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
29
71
|
description: Ruby/GSL is a Ruby interface to the GNU Scientific Library, for numerical
|
30
72
|
computing with Ruby [Ruby 2.x and GSL 1.16 compatible fork]
|
31
73
|
email: jens.wille@gmail.com
|
32
74
|
executables: []
|
33
75
|
extensions:
|
34
|
-
- ext/extconf.rb
|
76
|
+
- ext/gsl/extconf.rb
|
35
77
|
extra_rdoc_files:
|
36
78
|
- rdoc/sf.rdoc
|
37
79
|
- rdoc/alf.rdoc
|
@@ -98,7 +140,6 @@ files:
|
|
98
140
|
- README
|
99
141
|
- Rakefile
|
100
142
|
- THANKS
|
101
|
-
- VERSION
|
102
143
|
- examples/alf/alf.gp
|
103
144
|
- examples/alf/alf.rb
|
104
145
|
- examples/blas/blas.rb
|
@@ -446,160 +487,160 @@ files:
|
|
446
487
|
- examples/vector/zip.rb
|
447
488
|
- examples/wavelet/ecg.dat
|
448
489
|
- examples/wavelet/wavelet1.rb
|
449
|
-
- ext/alf.c
|
450
|
-
- ext/array.c
|
451
|
-
- ext/array_complex.c
|
452
|
-
- ext/blas.c
|
453
|
-
- ext/blas1.c
|
454
|
-
- ext/blas2.c
|
455
|
-
- ext/blas3.c
|
456
|
-
- ext/block.c
|
457
|
-
- ext/block_source.c
|
458
|
-
- ext/bspline.c
|
459
|
-
- ext/bundle.c
|
460
|
-
- ext/cdf.c
|
461
|
-
- ext/cheb.c
|
462
|
-
- ext/combination.c
|
463
|
-
- ext/common.c
|
464
|
-
- ext/complex.c
|
465
|
-
- ext/const.c
|
466
|
-
- ext/const_additional.c
|
467
|
-
- ext/cqp.c
|
468
|
-
- ext/deriv.c
|
469
|
-
- ext/dht.c
|
470
|
-
- ext/diff.c
|
471
|
-
- ext/dirac.c
|
472
|
-
- ext/eigen.c
|
473
|
-
- ext/error.c
|
474
|
-
- ext/extconf.rb
|
475
|
-
- ext/fcmp.c
|
476
|
-
- ext/fft.c
|
477
|
-
- ext/fit.c
|
478
|
-
- ext/fresnel.c
|
479
|
-
- ext/function.c
|
480
|
-
- ext/geometry.c
|
481
|
-
- ext/graph.c
|
482
|
-
- ext/gsl.c
|
483
|
-
- ext/gsl_narray.c
|
484
|
-
- ext/histogram.c
|
485
|
-
- ext/histogram2d.c
|
486
|
-
- ext/histogram3d.c
|
487
|
-
- ext/histogram3d_source.c
|
488
|
-
- ext/histogram_find.c
|
489
|
-
- ext/histogram_oper.c
|
490
|
-
- ext/ieee.c
|
491
|
-
- ext/
|
492
|
-
- ext/
|
493
|
-
- ext/
|
494
|
-
- ext/
|
495
|
-
- ext/
|
496
|
-
- ext/
|
497
|
-
- ext/
|
498
|
-
- ext/
|
499
|
-
- ext/
|
500
|
-
- ext/
|
501
|
-
- ext/
|
502
|
-
- ext/
|
503
|
-
- ext/
|
504
|
-
- ext/
|
505
|
-
- ext/
|
506
|
-
- ext/
|
507
|
-
- ext/
|
508
|
-
- ext/
|
509
|
-
- ext/
|
510
|
-
- ext/
|
511
|
-
- ext/
|
512
|
-
- ext/
|
513
|
-
- ext/
|
514
|
-
- ext/
|
515
|
-
- ext/
|
516
|
-
- ext/
|
517
|
-
- ext/
|
518
|
-
- ext/
|
519
|
-
- ext/
|
520
|
-
- ext/
|
521
|
-
- ext/
|
522
|
-
- ext/
|
523
|
-
- ext/
|
524
|
-
- ext/
|
525
|
-
- ext/
|
526
|
-
- ext/
|
527
|
-
- ext/
|
528
|
-
- ext/
|
529
|
-
- ext/
|
530
|
-
- ext/
|
531
|
-
- ext/
|
532
|
-
- ext/
|
533
|
-
- ext/
|
534
|
-
- ext/
|
535
|
-
- ext/
|
536
|
-
- ext/
|
537
|
-
- ext/
|
538
|
-
- ext/
|
539
|
-
- ext/
|
540
|
-
- ext/
|
541
|
-
- ext/
|
542
|
-
- ext/
|
543
|
-
- ext/
|
544
|
-
- ext/
|
545
|
-
- ext/
|
546
|
-
- ext/
|
547
|
-
- ext/
|
548
|
-
- ext/
|
549
|
-
- ext/
|
550
|
-
- ext/
|
551
|
-
- ext/
|
552
|
-
- ext/
|
553
|
-
- ext/
|
554
|
-
- ext/
|
555
|
-
- ext/
|
556
|
-
- ext/
|
557
|
-
- ext/
|
558
|
-
- ext/
|
559
|
-
- ext/
|
560
|
-
- ext/
|
561
|
-
- ext/
|
562
|
-
- ext/
|
563
|
-
- ext/
|
564
|
-
- ext/
|
565
|
-
- ext/
|
566
|
-
- ext/
|
567
|
-
- ext/
|
568
|
-
- ext/
|
569
|
-
- ext/
|
570
|
-
-
|
571
|
-
-
|
572
|
-
-
|
573
|
-
-
|
574
|
-
-
|
575
|
-
-
|
576
|
-
-
|
577
|
-
-
|
578
|
-
-
|
579
|
-
-
|
580
|
-
-
|
581
|
-
-
|
582
|
-
-
|
583
|
-
-
|
584
|
-
-
|
585
|
-
-
|
586
|
-
-
|
587
|
-
-
|
588
|
-
-
|
589
|
-
-
|
590
|
-
-
|
591
|
-
-
|
592
|
-
-
|
593
|
-
-
|
594
|
-
-
|
595
|
-
-
|
596
|
-
-
|
597
|
-
-
|
598
|
-
-
|
599
|
-
- include/templates_on.h
|
490
|
+
- ext/gsl/alf.c
|
491
|
+
- ext/gsl/array.c
|
492
|
+
- ext/gsl/array_complex.c
|
493
|
+
- ext/gsl/blas.c
|
494
|
+
- ext/gsl/blas1.c
|
495
|
+
- ext/gsl/blas2.c
|
496
|
+
- ext/gsl/blas3.c
|
497
|
+
- ext/gsl/block.c
|
498
|
+
- ext/gsl/block_source.c
|
499
|
+
- ext/gsl/bspline.c
|
500
|
+
- ext/gsl/bundle.c
|
501
|
+
- ext/gsl/cdf.c
|
502
|
+
- ext/gsl/cheb.c
|
503
|
+
- ext/gsl/combination.c
|
504
|
+
- ext/gsl/common.c
|
505
|
+
- ext/gsl/complex.c
|
506
|
+
- ext/gsl/const.c
|
507
|
+
- ext/gsl/const_additional.c
|
508
|
+
- ext/gsl/cqp.c
|
509
|
+
- ext/gsl/deriv.c
|
510
|
+
- ext/gsl/dht.c
|
511
|
+
- ext/gsl/diff.c
|
512
|
+
- ext/gsl/dirac.c
|
513
|
+
- ext/gsl/eigen.c
|
514
|
+
- ext/gsl/error.c
|
515
|
+
- ext/gsl/extconf.rb
|
516
|
+
- ext/gsl/fcmp.c
|
517
|
+
- ext/gsl/fft.c
|
518
|
+
- ext/gsl/fit.c
|
519
|
+
- ext/gsl/fresnel.c
|
520
|
+
- ext/gsl/function.c
|
521
|
+
- ext/gsl/geometry.c
|
522
|
+
- ext/gsl/graph.c
|
523
|
+
- ext/gsl/gsl.c
|
524
|
+
- ext/gsl/gsl_narray.c
|
525
|
+
- ext/gsl/histogram.c
|
526
|
+
- ext/gsl/histogram2d.c
|
527
|
+
- ext/gsl/histogram3d.c
|
528
|
+
- ext/gsl/histogram3d_source.c
|
529
|
+
- ext/gsl/histogram_find.c
|
530
|
+
- ext/gsl/histogram_oper.c
|
531
|
+
- ext/gsl/ieee.c
|
532
|
+
- ext/gsl/include/rb_gsl.h
|
533
|
+
- ext/gsl/include/rb_gsl_array.h
|
534
|
+
- ext/gsl/include/rb_gsl_cheb.h
|
535
|
+
- ext/gsl/include/rb_gsl_common.h
|
536
|
+
- ext/gsl/include/rb_gsl_complex.h
|
537
|
+
- ext/gsl/include/rb_gsl_const.h
|
538
|
+
- ext/gsl/include/rb_gsl_dirac.h
|
539
|
+
- ext/gsl/include/rb_gsl_eigen.h
|
540
|
+
- ext/gsl/include/rb_gsl_fft.h
|
541
|
+
- ext/gsl/include/rb_gsl_fit.h
|
542
|
+
- ext/gsl/include/rb_gsl_function.h
|
543
|
+
- ext/gsl/include/rb_gsl_graph.h
|
544
|
+
- ext/gsl/include/rb_gsl_histogram.h
|
545
|
+
- ext/gsl/include/rb_gsl_histogram3d.h
|
546
|
+
- ext/gsl/include/rb_gsl_integration.h
|
547
|
+
- ext/gsl/include/rb_gsl_interp.h
|
548
|
+
- ext/gsl/include/rb_gsl_linalg.h
|
549
|
+
- ext/gsl/include/rb_gsl_math.h
|
550
|
+
- ext/gsl/include/rb_gsl_odeiv.h
|
551
|
+
- ext/gsl/include/rb_gsl_poly.h
|
552
|
+
- ext/gsl/include/rb_gsl_rational.h
|
553
|
+
- ext/gsl/include/rb_gsl_rng.h
|
554
|
+
- ext/gsl/include/rb_gsl_root.h
|
555
|
+
- ext/gsl/include/rb_gsl_sf.h
|
556
|
+
- ext/gsl/include/rb_gsl_statistics.h
|
557
|
+
- ext/gsl/include/rb_gsl_tensor.h
|
558
|
+
- ext/gsl/include/rb_gsl_with_narray.h
|
559
|
+
- ext/gsl/include/templates_off.h
|
560
|
+
- ext/gsl/include/templates_on.h
|
561
|
+
- ext/gsl/integration.c
|
562
|
+
- ext/gsl/interp.c
|
563
|
+
- ext/gsl/jacobi.c
|
564
|
+
- ext/gsl/linalg.c
|
565
|
+
- ext/gsl/linalg_complex.c
|
566
|
+
- ext/gsl/math.c
|
567
|
+
- ext/gsl/matrix.c
|
568
|
+
- ext/gsl/matrix_complex.c
|
569
|
+
- ext/gsl/matrix_double.c
|
570
|
+
- ext/gsl/matrix_int.c
|
571
|
+
- ext/gsl/matrix_source.c
|
572
|
+
- ext/gsl/min.c
|
573
|
+
- ext/gsl/monte.c
|
574
|
+
- ext/gsl/multifit.c
|
575
|
+
- ext/gsl/multimin.c
|
576
|
+
- ext/gsl/multimin_fsdf.c
|
577
|
+
- ext/gsl/multiroots.c
|
578
|
+
- ext/gsl/multiset.c
|
579
|
+
- ext/gsl/ndlinear.c
|
580
|
+
- ext/gsl/nmf.c
|
581
|
+
- ext/gsl/nmf_wrap.c
|
582
|
+
- ext/gsl/ntuple.c
|
583
|
+
- ext/gsl/odeiv.c
|
584
|
+
- ext/gsl/ool.c
|
585
|
+
- ext/gsl/oper_complex_source.c
|
586
|
+
- ext/gsl/permutation.c
|
587
|
+
- ext/gsl/poly.c
|
588
|
+
- ext/gsl/poly2.c
|
589
|
+
- ext/gsl/poly_source.c
|
590
|
+
- ext/gsl/qrng.c
|
591
|
+
- ext/gsl/randist.c
|
592
|
+
- ext/gsl/rational.c
|
593
|
+
- ext/gsl/rng.c
|
594
|
+
- ext/gsl/root.c
|
595
|
+
- ext/gsl/sf.c
|
596
|
+
- ext/gsl/sf_airy.c
|
597
|
+
- ext/gsl/sf_bessel.c
|
598
|
+
- ext/gsl/sf_clausen.c
|
599
|
+
- ext/gsl/sf_coulomb.c
|
600
|
+
- ext/gsl/sf_coupling.c
|
601
|
+
- ext/gsl/sf_dawson.c
|
602
|
+
- ext/gsl/sf_debye.c
|
603
|
+
- ext/gsl/sf_dilog.c
|
604
|
+
- ext/gsl/sf_elementary.c
|
605
|
+
- ext/gsl/sf_ellint.c
|
606
|
+
- ext/gsl/sf_elljac.c
|
607
|
+
- ext/gsl/sf_erfc.c
|
608
|
+
- ext/gsl/sf_exp.c
|
609
|
+
- ext/gsl/sf_expint.c
|
610
|
+
- ext/gsl/sf_fermi_dirac.c
|
611
|
+
- ext/gsl/sf_gamma.c
|
612
|
+
- ext/gsl/sf_gegenbauer.c
|
613
|
+
- ext/gsl/sf_hyperg.c
|
614
|
+
- ext/gsl/sf_laguerre.c
|
615
|
+
- ext/gsl/sf_lambert.c
|
616
|
+
- ext/gsl/sf_legendre.c
|
617
|
+
- ext/gsl/sf_log.c
|
618
|
+
- ext/gsl/sf_mathieu.c
|
619
|
+
- ext/gsl/sf_power.c
|
620
|
+
- ext/gsl/sf_psi.c
|
621
|
+
- ext/gsl/sf_synchrotron.c
|
622
|
+
- ext/gsl/sf_transport.c
|
623
|
+
- ext/gsl/sf_trigonometric.c
|
624
|
+
- ext/gsl/sf_zeta.c
|
625
|
+
- ext/gsl/signal.c
|
626
|
+
- ext/gsl/siman.c
|
627
|
+
- ext/gsl/sort.c
|
628
|
+
- ext/gsl/spline.c
|
629
|
+
- ext/gsl/stats.c
|
630
|
+
- ext/gsl/sum.c
|
631
|
+
- ext/gsl/tamu_anova.c
|
632
|
+
- ext/gsl/tensor.c
|
633
|
+
- ext/gsl/tensor_source.c
|
634
|
+
- ext/gsl/vector.c
|
635
|
+
- ext/gsl/vector_complex.c
|
636
|
+
- ext/gsl/vector_double.c
|
637
|
+
- ext/gsl/vector_int.c
|
638
|
+
- ext/gsl/vector_source.c
|
639
|
+
- ext/gsl/wavelet.c
|
600
640
|
- lib/gsl.rb
|
601
641
|
- lib/gsl/gnuplot.rb
|
602
642
|
- lib/gsl/oper.rb
|
643
|
+
- lib/gsl/version.rb
|
603
644
|
- lib/ool.rb
|
604
645
|
- lib/ool/conmin.rb
|
605
646
|
- lib/rbgsl.rb
|
@@ -708,7 +749,7 @@ metadata: {}
|
|
708
749
|
post_install_message:
|
709
750
|
rdoc_options:
|
710
751
|
- "--title"
|
711
|
-
- Ruby/GSL (v1.16.0)
|
752
|
+
- Ruby/GSL (v1.16.0.1)
|
712
753
|
- "--charset"
|
713
754
|
- UTF-8
|
714
755
|
- "--line-numbers"
|
@@ -716,8 +757,6 @@ rdoc_options:
|
|
716
757
|
- "--exclude"
|
717
758
|
- ext
|
718
759
|
- "--exclude"
|
719
|
-
- include
|
720
|
-
- "--exclude"
|
721
760
|
- lib
|
722
761
|
- "--main"
|
723
762
|
- rdoc/index.rdoc
|
@@ -730,7 +769,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
730
769
|
requirements:
|
731
770
|
- - ">="
|
732
771
|
- !ruby/object:Gem::Version
|
733
|
-
version: 1.8.
|
772
|
+
version: 1.8.7
|
734
773
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
735
774
|
requirements:
|
736
775
|
- - ">="
|
@@ -739,7 +778,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
739
778
|
requirements:
|
740
779
|
- GSL (http://www.gnu.org/software/gsl/)
|
741
780
|
rubyforge_project:
|
742
|
-
rubygems_version: 2.2.
|
781
|
+
rubygems_version: 2.2.2.x
|
743
782
|
signing_key:
|
744
783
|
specification_version: 4
|
745
784
|
summary: Ruby interface to the GNU Scientific Library [Ruby 2.x and GSL 1.16 compatible
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.16.0
|
data/ext/extconf.rb
DELETED
@@ -1,309 +0,0 @@
|
|
1
|
-
require 'mkmf'
|
2
|
-
|
3
|
-
|
4
|
-
module GSL
|
5
|
-
class Version
|
6
|
-
def initialize(str)
|
7
|
-
@str = str
|
8
|
-
@ary = str.split(".").collect { |elm| elm.to_i }
|
9
|
-
end
|
10
|
-
def to_s; @str; end
|
11
|
-
def inspect; @str; end
|
12
|
-
def >=(ver)
|
13
|
-
ary2 = ver.split(".").collect { |elm| elm.to_i }
|
14
|
-
if @ary[0] > ary2[0]; return true; end
|
15
|
-
if @ary[0] < ary2[0]; return false; end
|
16
|
-
if @ary[1] > ary2[1]; return true; end
|
17
|
-
if @ary[1] < ary2[1]; return false; end
|
18
|
-
if @ary.size < ary2.size; return false; end
|
19
|
-
if @ary.size == 3 and ary2.size == 3
|
20
|
-
if @ary[2] < ary2[2]; return false; end
|
21
|
-
end
|
22
|
-
return true
|
23
|
-
end
|
24
|
-
def <(ver)
|
25
|
-
ary2 = ver.split(".").collect { |elm| elm.to_i }
|
26
|
-
if @ary[0] >= ary2[0]; return false; end
|
27
|
-
if @ary[0] >= ary2[0]; return false; end
|
28
|
-
return true
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
|
-
if /mingw/ =~ RUBY_PLATFORM
|
34
|
-
GSL_CONFIG = "sh gsl-config"
|
35
|
-
else
|
36
|
-
GSL_CONFIG = "gsl-config"
|
37
|
-
end
|
38
|
-
|
39
|
-
def gsl_config_arg(arg)
|
40
|
-
yield arg_config("--with-gsl-#{arg}") {
|
41
|
-
IO.popen("#{GSL_CONFIG} --#{arg}") { |f| f.gets.chomp }
|
42
|
-
}
|
43
|
-
end
|
44
|
-
|
45
|
-
def gsl_config()
|
46
|
-
print("checking gsl cflags... ")
|
47
|
-
gsl_config_arg(:cflags) do |cflags|
|
48
|
-
puts(cflags)
|
49
|
-
$CFLAGS += " " + cflags
|
50
|
-
end
|
51
|
-
|
52
|
-
gsl_config_arg(:libs) do |libs|
|
53
|
-
libs.tr!(File::PATH_SEPARATOR, ' ')
|
54
|
-
dir_config("cblas")
|
55
|
-
dir_config("atlas")
|
56
|
-
if have_library("cblas") and have_library("atlas")
|
57
|
-
libs.gsub!("-lgslcblas", "-lcblas -latlas")
|
58
|
-
$LOCAL_LIBS += " " + libs.gsub(" -lgslcblas", "")
|
59
|
-
print("checking gsl libs... ")
|
60
|
-
puts(libs)
|
61
|
-
else
|
62
|
-
print("checking gsl libs... ")
|
63
|
-
puts(libs)
|
64
|
-
$LOCAL_LIBS += " " + libs
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
end
|
69
|
-
|
70
|
-
def check_version(configfile)
|
71
|
-
|
72
|
-
print("checking gsl version... ")
|
73
|
-
gsl_config_arg(:version) do |version|
|
74
|
-
ver = GSL::Version.new(version)
|
75
|
-
puts(ver)
|
76
|
-
configfile.printf("#ifndef GSL_VERSION\n#define GSL_VERSION \"#{ver}\"\n#endif\n")
|
77
|
-
|
78
|
-
if ver >= "0.9.4"
|
79
|
-
configfile.printf("#ifndef GSL_0_9_4_LATER\n#define GSL_0_9_4_LATER\n#endif\n")
|
80
|
-
else
|
81
|
-
configfile.close
|
82
|
-
raise("Ruby/GSL requires gsl-0.9.4 or later.")
|
83
|
-
end
|
84
|
-
if ver >= "1.0"
|
85
|
-
configfile.printf("#ifndef GSL_1_0_LATER\n#define GSL_1_0_LATER\n#endif\n")
|
86
|
-
end
|
87
|
-
if ver >= "1.1"
|
88
|
-
configfile.printf("#ifndef GSL_1_1_LATER\n#define GSL_1_1_LATER\n#endif\n")
|
89
|
-
end
|
90
|
-
if ver >= "1.1.1"
|
91
|
-
configfile.printf("#ifndef GSL_1_1_1_LATER\n#define GSL_1_1_1_LATER\n#endif\n")
|
92
|
-
end
|
93
|
-
if ver >= "1.2"
|
94
|
-
configfile.printf("#ifndef GSL_1_2_LATER\n#define GSL_1_2_LATER\n#endif\n")
|
95
|
-
end
|
96
|
-
if ver >= "1.3"
|
97
|
-
configfile.printf("#ifndef GSL_1_3_LATER\n#define GSL_1_3_LATER\n#endif\n")
|
98
|
-
end
|
99
|
-
if ver >= "1.4"
|
100
|
-
configfile.printf("#ifndef GSL_1_4_LATER\n#define GSL_1_4_LATER\n#endif\n")
|
101
|
-
end
|
102
|
-
if ver >= "1.4.90"
|
103
|
-
configfile.printf("#ifndef GSL_1_4_9_LATER\n#define GSL_1_4_9_LATER\n#endif\n")
|
104
|
-
end
|
105
|
-
|
106
|
-
if ver >= "1.5.90"
|
107
|
-
configfile.printf("#ifndef GSL_1_6_LATER\n#define GSL_1_6_LATER\n#endif\n")
|
108
|
-
end
|
109
|
-
|
110
|
-
if ver >= "1.7.90"
|
111
|
-
configfile.printf("#ifndef GSL_1_8_LATER\n#define GSL_1_8_LATER\n#endif\n")
|
112
|
-
end
|
113
|
-
if ver >= "1.8.90"
|
114
|
-
configfile.printf("#ifndef GSL_1_9_LATER\n#define GSL_1_9_LATER\n#endif\n")
|
115
|
-
end
|
116
|
-
|
117
|
-
if ver >= "1.9.90"
|
118
|
-
configfile.printf("#ifndef GSL_1_10_LATER\n#define GSL_1_10_LATER\n#endif\n")
|
119
|
-
end
|
120
|
-
if ver < "1.4"
|
121
|
-
configfile.printf("#ifndef GSL_CONST_OLD\n#define GSL_CONST_OLD\n#endif\n")
|
122
|
-
end
|
123
|
-
|
124
|
-
if ver >= "1.11"
|
125
|
-
configfile.printf("#ifndef GSL_1_11_LATER\n#define GSL_1_11_LATER\n#endif\n")
|
126
|
-
end
|
127
|
-
|
128
|
-
if ver >= "1.12.90"
|
129
|
-
configfile.printf("#ifndef GSL_1_13_LATER\n#define GSL_1_13_LATER\n#endif\n")
|
130
|
-
end
|
131
|
-
|
132
|
-
if ver >= "1.14"
|
133
|
-
configfile.printf("#ifndef GSL_1_14_LATER\n#define GSL_1_14_LATER\n#endif\n")
|
134
|
-
end
|
135
|
-
|
136
|
-
if ver >= "1.15"
|
137
|
-
configfile.printf("#ifndef GSL_1_15_LATER\n#define GSL_1_15_LATER\n#endif\n")
|
138
|
-
end
|
139
|
-
|
140
|
-
end
|
141
|
-
end
|
142
|
-
|
143
|
-
def file_path(path = '.')
|
144
|
-
File.expand_path(path, File.dirname(__FILE__))
|
145
|
-
end
|
146
|
-
|
147
|
-
#####
|
148
|
-
|
149
|
-
$CFLAGS ||= ''
|
150
|
-
$CFLAGS += " -Wall -I#{file_path('../include')} "
|
151
|
-
|
152
|
-
begin
|
153
|
-
RB_GSL_CONFIG = File.open(file_path("../include/rb_gsl_config.h"), "w")
|
154
|
-
RB_GSL_CONFIG.printf("#ifndef ___RB_GSL_CONFIG_H___\n")
|
155
|
-
RB_GSL_CONFIG.printf("#define ___RB_GSL_CONFIG_H___\n\n")
|
156
|
-
|
157
|
-
check_version(RB_GSL_CONFIG)
|
158
|
-
|
159
|
-
gsl_config()
|
160
|
-
|
161
|
-
have_func("round")
|
162
|
-
|
163
|
-
# Check GSL extensions
|
164
|
-
|
165
|
-
if have_header("rngextra/rngextra.h")
|
166
|
-
have_library("rngextra")
|
167
|
-
end
|
168
|
-
|
169
|
-
if have_header("qrngextra/qrngextra.h")
|
170
|
-
have_library("qrngextra")
|
171
|
-
end
|
172
|
-
|
173
|
-
if have_header("ool/ool_version.h")
|
174
|
-
have_library("ool")
|
175
|
-
end
|
176
|
-
|
177
|
-
if have_header("tensor/tensor.h")
|
178
|
-
have_library("tensor")
|
179
|
-
end
|
180
|
-
|
181
|
-
if have_header("jacobi.h")
|
182
|
-
have_library("jacobi")
|
183
|
-
end
|
184
|
-
if have_header("gsl/gsl_cqp.h")
|
185
|
-
have_library("cqp")
|
186
|
-
end
|
187
|
-
if have_header("gsl/gsl_multimin_fsdf.h")
|
188
|
-
have_library("bundle_method")
|
189
|
-
end
|
190
|
-
|
191
|
-
if have_library("gsl", "gsl_poly_solve_quartic")
|
192
|
-
RB_GSL_CONFIG.printf("#ifndef HAVE_POLY_SOLVE_QUARTIC\n#define HAVE_POLY_SOLVE_QUARTIC\n#endif\n")
|
193
|
-
end
|
194
|
-
if have_library("gsl", "gsl_eigen_francis")
|
195
|
-
RB_GSL_CONFIG.printf("#ifndef HAVE_EIGEN_FRANCIS\n#define HAVE_EIGEN_FRANCIS\n#endif\n")
|
196
|
-
end
|
197
|
-
|
198
|
-
if have_header("ndlinear/gsl_multifit_ndlinear.h")
|
199
|
-
have_library("ndlinear")
|
200
|
-
end
|
201
|
-
|
202
|
-
# Added 2009/Apr/20
|
203
|
-
if have_header("alf/alf.h")
|
204
|
-
have_library("alf")
|
205
|
-
end
|
206
|
-
|
207
|
-
begin
|
208
|
-
print("checking rb-gsl version...")
|
209
|
-
File.open(file_path("../VERSION")) do |f|
|
210
|
-
ver = GSL::Version.new(f.gets.chomp)
|
211
|
-
puts(ver)
|
212
|
-
RB_GSL_CONFIG.printf("#ifndef RUBY_GSL_VERSION\n#define RUBY_GSL_VERSION \"#{ver}\"\n#endif\n")
|
213
|
-
end
|
214
|
-
end
|
215
|
-
|
216
|
-
RUBY_VERSION2 = GSL::Version.new(RUBY_VERSION)
|
217
|
-
|
218
|
-
puts("checking ruby version... #{RUBY_VERSION2}")
|
219
|
-
if RUBY_VERSION2 >= "1.8"
|
220
|
-
RB_GSL_CONFIG.printf("#ifndef RUBY_1_8_LATER\n#define RUBY_1_8_LATER\n#endif\n")
|
221
|
-
|
222
|
-
if find_executable("graph")
|
223
|
-
RB_GSL_CONFIG.printf("#ifndef HAVE_GNU_GRAPH\n#define HAVE_GNU_GRAPH\n#endif\n")
|
224
|
-
end
|
225
|
-
else
|
226
|
-
path = (path || ENV['PATH']).split(File::PATH_SEPARATOR)
|
227
|
-
flag = 0
|
228
|
-
print("checking for GNU graph... ")
|
229
|
-
path.each do |dir|
|
230
|
-
if File.executable?(File.join(dir, "graph"))
|
231
|
-
puts("yes")
|
232
|
-
RB_GSL_CONFIG.printf("#ifndef HAVE_GNU_GRAPH\n#define HAVE_GNU_GRAPH\n#endif\n")
|
233
|
-
flag = 1
|
234
|
-
break
|
235
|
-
end
|
236
|
-
end
|
237
|
-
puts("no") if flag == 0
|
238
|
-
end
|
239
|
-
if RUBY_VERSION2 >= "1.9"
|
240
|
-
RB_GSL_CONFIG.printf("#ifndef RUBY_1_9_LATER\n#define RUBY_1_9_LATER\n#endif\n")
|
241
|
-
# Added 2010/Sep/29
|
242
|
-
if RUBY_VERSION2 >= "1.9.2"
|
243
|
-
RB_GSL_CONFIG.printf("#ifndef RUBY_1_9_2_LATER\n#define RUBY_1_9_2_LATER\n#endif\n")
|
244
|
-
end
|
245
|
-
end
|
246
|
-
|
247
|
-
RB_GSL_CONFIG.printf("\n#endif\n")
|
248
|
-
RB_GSL_CONFIG.close
|
249
|
-
|
250
|
-
rescue
|
251
|
-
raise("Check GSL>=0.9.4 is installed, and the command \"gsl-config\" is in search path.")
|
252
|
-
end
|
253
|
-
|
254
|
-
#narray_config = dir_config("narray")
|
255
|
-
narray_config = dir_config('narray',$sitearchdir,$sitearchdir)
|
256
|
-
# Try to find narray with RubyGems
|
257
|
-
begin
|
258
|
-
require 'rubygems'
|
259
|
-
na_gemspec=Gem::Specification.find_by_path('narray.h')
|
260
|
-
if na_gemspec
|
261
|
-
narray_config = na_gemspec.full_gem_path
|
262
|
-
$CPPFLAGS = " -I#{File.join(narray_config, na_gemspec.require_path)} "+$CPPFLAGS
|
263
|
-
$LOCAL_LIBS = " -L#{File.join(narray_config, 'src')}" + $LOCAL_LIBS
|
264
|
-
end
|
265
|
-
rescue LoadError
|
266
|
-
end
|
267
|
-
have_narray_h = have_header("narray.h")
|
268
|
-
if narray_config
|
269
|
-
if RUBY_PLATFORM =~ /cygwin|mingw/
|
270
|
-
# have_library("narray") || raise("ERROR: narray import library is not found")
|
271
|
-
have_library("narray")
|
272
|
-
end
|
273
|
-
end
|
274
|
-
|
275
|
-
unless arg_config('--disable-tamu-anova')
|
276
|
-
tamu_anova_config = dir_config('tamu_anova',$sitearchdir,$sitearchdir)
|
277
|
-
have_header("tamu_anova/tamu_anova.h")
|
278
|
-
if tamu_anova_config
|
279
|
-
have_library("tamuanova")
|
280
|
-
# if RUBY_PLATFORM =~ /cygwin|mingw/
|
281
|
-
# have_library("tamuanova") || raise("ERROR: tamu_anova import library is not found")
|
282
|
-
# end
|
283
|
-
end
|
284
|
-
end
|
285
|
-
|
286
|
-
File.open(file_path("../lib/gsl.rb"), "w") do |file|
|
287
|
-
if have_narray_h
|
288
|
-
file.print("require('narray')\n")
|
289
|
-
end
|
290
|
-
# file.print("require('rb_gsl')\ninclude GSL\n")
|
291
|
-
file.print("require('rb_gsl')\n")
|
292
|
-
file.print("require('gsl/oper.rb')\n")
|
293
|
-
end
|
294
|
-
|
295
|
-
File.open(file_path("../lib/rbgsl.rb"), "w") do |file|
|
296
|
-
if have_narray_h
|
297
|
-
file.print("require('narray')\n")
|
298
|
-
end
|
299
|
-
file.print("require('rb_gsl')\n")
|
300
|
-
file.print("require('gsl/oper.rb')\n")
|
301
|
-
end
|
302
|
-
|
303
|
-
Dir.chdir(file_path) {
|
304
|
-
srcs = Dir.glob("*.c") - ["vector_source.c", "matrix_source.c", "tensor_source.c", "poly_source.c", "block_source.c"]
|
305
|
-
|
306
|
-
$objs = srcs.collect { |f| f.sub(".c", ".o") }
|
307
|
-
}
|
308
|
-
|
309
|
-
create_makefile("rb_gsl")
|