rb-gsl 1.15.3.2 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/Rakefile +4 -2
- data/VERSION +1 -1
- data/ext/fft.c +4 -4
- data/ext/wavelet.c +6 -6
- data/include/rb_gsl_config.h +2 -2
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 390f296a40336202ec7753c5a6fb0d7297f38d8f
|
4
|
+
data.tar.gz: 6a416565afd532aa2dc4283e66b6318dc22b7a82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3205453428edcb4b7887861b7c489005cb6f0f77662d30f5b683ce3b71d13a2c41fc930aefc66f041b815cecf9bd84946b692d7fa0ba5f530b11426a69cfe4b7
|
7
|
+
data.tar.gz: f4fb5ea3bf5325179f10fc139de01958cc2af2de5e244a49e048551c74b63d7d594031460155f38181136c267afc25d38ff9a99532f045e4547ea9f5b6cc2278
|
data/ChangeLog
CHANGED
data/Rakefile
CHANGED
@@ -3,12 +3,14 @@ RB_GSL_VERSION = File.readlines('VERSION')[0].chomp
|
|
3
3
|
begin
|
4
4
|
require 'hen'
|
5
5
|
|
6
|
+
note = '[Ruby 2.x and GSL 1.16 compatible fork]'
|
7
|
+
|
6
8
|
Hen.lay! {{
|
7
9
|
:gem => {
|
8
10
|
:name => %q{rb-gsl},
|
9
11
|
:version => RB_GSL_VERSION,
|
10
|
-
:summary => %
|
11
|
-
:description => %
|
12
|
+
:summary => %Q{Ruby interface to the GNU Scientific Library #{note}},
|
13
|
+
:description => %Q{Ruby/GSL is a Ruby interface to the GNU Scientific Library, for numerical computing with Ruby #{note}},
|
12
14
|
:authors => ['Yoshiki Tsunesada', 'David MacMahon', 'Jens Wille'],
|
13
15
|
:email => %q{jens.wille@gmail.com},
|
14
16
|
:license => %q{GPL-2.0},
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.16.0
|
data/ext/fft.c
CHANGED
@@ -907,10 +907,10 @@ void Init_gsl_fft(VALUE module)
|
|
907
907
|
|
908
908
|
/*****/
|
909
909
|
|
910
|
-
rb_define_const(mgsl_fft, "Forward", INT2FIX(
|
911
|
-
rb_define_const(mgsl_fft, "FORWARD", INT2FIX(
|
912
|
-
rb_define_const(mgsl_fft, "Backward", INT2FIX(
|
913
|
-
rb_define_const(mgsl_fft, "BACKWARD", INT2FIX(
|
910
|
+
rb_define_const(mgsl_fft, "Forward", INT2FIX(gsl_fft_forward));
|
911
|
+
rb_define_const(mgsl_fft, "FORWARD", INT2FIX(gsl_fft_forward));
|
912
|
+
rb_define_const(mgsl_fft, "Backward", INT2FIX(gsl_fft_backward));
|
913
|
+
rb_define_const(mgsl_fft, "BACKWARD", INT2FIX(gsl_fft_backward));
|
914
914
|
|
915
915
|
/* Transforms for complex vectors */
|
916
916
|
rb_define_method(cgsl_vector_complex, "radix2_forward",
|
data/ext/wavelet.c
CHANGED
@@ -152,10 +152,10 @@ static void rb_gsl_wavelet_define_const(VALUE klass)
|
|
152
152
|
rb_define_const(klass, "BSPLINE", INT2FIX(GSL_WAVELET_BSPLINE));
|
153
153
|
rb_define_const(klass, "BSPLINE_CENTERED", INT2FIX(GSL_WAVELET_BSPLINE_CENTERED));
|
154
154
|
/*****/
|
155
|
-
rb_define_const(klass, "FORWARD", INT2FIX(
|
156
|
-
rb_define_const(klass, "Forward", INT2FIX(
|
157
|
-
rb_define_const(klass, "BACKWARD", INT2FIX(
|
158
|
-
rb_define_const(klass, "Backward", INT2FIX(
|
155
|
+
rb_define_const(klass, "FORWARD", INT2FIX(gsl_wavelet_forward));
|
156
|
+
rb_define_const(klass, "Forward", INT2FIX(gsl_wavelet_forward));
|
157
|
+
rb_define_const(klass, "BACKWARD", INT2FIX(gsl_wavelet_backward));
|
158
|
+
rb_define_const(klass, "Backward", INT2FIX(gsl_wavelet_backward));
|
159
159
|
}
|
160
160
|
|
161
161
|
static VALUE rb_gsl_wavelet_name(VALUE ww)
|
@@ -191,7 +191,7 @@ static VALUE rb_gsl_wavelet_transform0(int argc, VALUE *argv, VALUE obj,
|
|
191
191
|
{
|
192
192
|
gsl_wavelet *w = NULL;
|
193
193
|
gsl_vector *v = NULL, *vnew;
|
194
|
-
gsl_wavelet_direction dir =
|
194
|
+
gsl_wavelet_direction dir = gsl_wavelet_forward;
|
195
195
|
gsl_wavelet_workspace *work = NULL;
|
196
196
|
int itmp, flag = 0;
|
197
197
|
// local variable "status" declared and set, but never used
|
@@ -531,7 +531,7 @@ static VALUE rb_gsl_wavelet2d(int argc, VALUE *argv, VALUE obj,
|
|
531
531
|
{
|
532
532
|
gsl_wavelet *w = NULL;
|
533
533
|
gsl_matrix *m = NULL, *mnew;
|
534
|
-
gsl_wavelet_direction dir =
|
534
|
+
gsl_wavelet_direction dir = gsl_wavelet_forward;
|
535
535
|
gsl_wavelet_workspace *work = NULL;
|
536
536
|
VALUE ary, ret;
|
537
537
|
int itmp, flag = 0;
|
data/include/rb_gsl_config.h
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#define ___RB_GSL_CONFIG_H___
|
3
3
|
|
4
4
|
#ifndef GSL_VERSION
|
5
|
-
#define GSL_VERSION "1.
|
5
|
+
#define GSL_VERSION "1.16"
|
6
6
|
#endif
|
7
7
|
#ifndef GSL_0_9_4_LATER
|
8
8
|
#define GSL_0_9_4_LATER
|
@@ -56,7 +56,7 @@
|
|
56
56
|
#define HAVE_EIGEN_FRANCIS
|
57
57
|
#endif
|
58
58
|
#ifndef RUBY_GSL_VERSION
|
59
|
-
#define RUBY_GSL_VERSION "1.
|
59
|
+
#define RUBY_GSL_VERSION "1.16.0"
|
60
60
|
#endif
|
61
61
|
#ifndef RUBY_1_8_LATER
|
62
62
|
#define RUBY_1_8_LATER
|
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.
|
4
|
+
version: 1.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshiki Tsunesada
|
@@ -27,7 +27,7 @@ dependencies:
|
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: 0.5.9
|
29
29
|
description: Ruby/GSL is a Ruby interface to the GNU Scientific Library, for numerical
|
30
|
-
computing with Ruby
|
30
|
+
computing with Ruby [Ruby 2.x and GSL 1.16 compatible fork]
|
31
31
|
email: jens.wille@gmail.com
|
32
32
|
executables: []
|
33
33
|
extensions:
|
@@ -708,7 +708,7 @@ metadata: {}
|
|
708
708
|
post_install_message:
|
709
709
|
rdoc_options:
|
710
710
|
- "--title"
|
711
|
-
- Ruby/GSL (v1.
|
711
|
+
- Ruby/GSL (v1.16.0)
|
712
712
|
- "--charset"
|
713
713
|
- UTF-8
|
714
714
|
- "--line-numbers"
|
@@ -742,5 +742,6 @@ rubyforge_project:
|
|
742
742
|
rubygems_version: 2.2.1
|
743
743
|
signing_key:
|
744
744
|
specification_version: 4
|
745
|
-
summary: Ruby interface to the GNU Scientific Library [Ruby 2.x compatible
|
745
|
+
summary: Ruby interface to the GNU Scientific Library [Ruby 2.x and GSL 1.16 compatible
|
746
|
+
fork]
|
746
747
|
test_files: []
|