ruby-fftw3 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d047492085717f1d43edf5ed933ede4c3bfbc6d4
4
- data.tar.gz: ad2fc2f85587f9cf41174a9926df784bfd2ab8ba
3
+ metadata.gz: 53f14d076520f6da6763f1896ab0fb2de37deeca
4
+ data.tar.gz: 9b14e36f8124a163dbccacd456ad859e0fdb56c2
5
5
  SHA512:
6
- metadata.gz: 3afac8add19a71908a500e2eabe95ee3ec2ccebc9d442d384d50a7d195d5735f23225999a5361c229979fde51eb074695b183faa69f8956bd36bfdd593e0ce02
7
- data.tar.gz: b53efbcb4a4577f6de1994bf50f695b6f7633d446218181f776781aff64b20eaaf15e5fe2c104f06548fc3c60c640b1de3c19e3c8acbed19e0092736fd45e6c5
6
+ metadata.gz: f91d859252783140b6656b459cb69ee4532167bccecfe831e403b4caaceeddc27cf37f49863008a393a443ed0600990e142338e9b1c0f51fc0d6c8f019e2397e
7
+ data.tar.gz: 992c9a1c7a7d980aa629575044f069f924a8426ba95c20eb50fac7af935c889a69bf61be74ae29cb60725eeaf6b026d31b764042097d0117b8b3a03994229269
data/.gitignore CHANGED
@@ -2,6 +2,5 @@
2
2
  *~
3
3
  *.so
4
4
  Makefile
5
- ChangeLog
6
5
  /pkg/
7
6
  /tmp/
data/ChangeLog ADDED
@@ -0,0 +1,228 @@
1
+ 2016-07-16 Takeshi Horinouchi (HEAD, master)
2
+ Updated the numru/narray support
3
+
4
+ M ext/numru/fftw3/na_fftw3.c
5
+ M lib/numru/fftw3.rb
6
+
7
+ 2016-07-16 Takeshi Horinouchi
8
+ To update to ver. 1.0.1
9
+
10
+ M lib/numru/fftw3/version.rb
11
+
12
+ 2016-07-16 Takeshi Horinouchi
13
+ Not to ignore ChangeLog
14
+
15
+ M .gitignore
16
+
17
+ 2016-07-16 Takeshi Horinouchi
18
+ deleted old (unused) part related windows
19
+
20
+ M ext/numru/fftw3/extconf.rb
21
+
22
+ 2016-07-16 Takeshi Horinouchi (v1.0.0, origin/master, origin/HEAD)
23
+ Updated the year range
24
+
25
+ M LICENSE.txt
26
+
27
+ 2016-07-16 Takeshi Horinouchi
28
+ deleted old document
29
+
30
+ D doc/ruby-fftw3.html
31
+ D doc/ruby-fftw3.rd
32
+
33
+ 2016-07-15 Takeshi Horinouchi
34
+ Document slightly updated
35
+
36
+ M ext/numru/fftw3/na_fftw3.c
37
+ M lib/numru/fftw3.rb
38
+
39
+ 2016-07-15 Takeshi Horinouchi
40
+ Supported NumRu::NArray
41
+
42
+ M ext/numru/fftw3/extconf.rb
43
+
44
+ 2016-07-15 Takeshi Horinouchi
45
+ Added RDoc document
46
+
47
+ M ext/numru/fftw3/na_fftw3.c
48
+ M lib/numru/fftw3.rb
49
+
50
+ 2016-07-15 Takeshi Horinouchi
51
+ ceased to create ruby-fftw3-bigmem
52
+
53
+ M Rakefile
54
+
55
+ 2016-07-02 Takeshi Horinouchi
56
+ to require rubygems if needed
57
+
58
+ M ext/numru/fftw3/extconf.rb
59
+
60
+ 2015-12-03 Takeshi Horinouchi
61
+ Added new module functions fft_fw and fft_bk for user-friendliness (forward complex FFT with normalization / backward complex FFT)
62
+
63
+ M lib/numru/fftw3.rb
64
+ M test/complexFFT.rb
65
+
66
+ 2015-12-03 Takeshi Horinouchi
67
+ Updated vergion # to 1.0.0
68
+
69
+ M lib/numru/fftw3/version.rb
70
+
71
+ 2015-12-03 Takeshi Horinouchi
72
+ Created. (test of real to real FFTs)
73
+
74
+ A test/r2rFFT.rb
75
+
76
+ 2015-12-03 Takeshi Horinouchi
77
+ Revised to use test/unit
78
+
79
+ M test/complexFFT.rb
80
+
81
+ 2015-12-03 Takeshi Horinouchi
82
+ Supported real2real FFTs (e.g. sine trans) / Added some constants (e.g. FORWARD)
83
+
84
+ M ext/numru/fftw3/na_fftw3.c
85
+
86
+ 2015-05-21 Takeshi Horinouchi
87
+ Created gemspec to depend on narray-bigmem
88
+
89
+ M Rakefile
90
+ M ext/numru/fftw3/extconf.rb
91
+ A ruby-fftw3-bigmem.gemspec
92
+
93
+ 2015-03-31 Eriko Nishimoto (origin/rubygems)
94
+ Modified git ignore list
95
+
96
+ Added pkg and tmp folder
97
+
98
+ M .gitignore
99
+
100
+ 2015-03-31 Eriko Nishimoto
101
+ Modified test/complexFFT.rb
102
+
103
+ * Required rubygems for ruby1.8
104
+ * Required narray for rake test
105
+
106
+ M test/complexFFT.rb
107
+
108
+ 2015-03-31 Eriko Nishimoto
109
+ Changed lib path for extesion task
110
+
111
+ To make fftw3.so under numru/fftw3/ directory.
112
+
113
+ M Rakefile
114
+
115
+ 2015-03-31 Eriko Nishimoto
116
+ Modified extconf.rb
117
+
118
+ * To search narray.h in gem folder if it is isnstalled by gem
119
+ * To create makefile numru/fftw3/fftw3
120
+
121
+ M ext/numru/fftw3/extconf.rb
122
+
123
+ 2015-03-31 Eriko Nishimoto
124
+ Moved extensional files to ext/numru/fftw3/
125
+
126
+ A ext/numru/fftw3/extconf.rb
127
+ A ext/numru/fftw3/na_fftw3.c
128
+ D extconf.rb
129
+ D na_fftw3.c
130
+
131
+ 2015-03-31 Eriko Nishimoto
132
+ Made lib folder
133
+
134
+ Placed lib/numru/fftw3.rb, which requires lib/numru/fftw3/version.rb and
135
+ ext/numru/fftw3/fftw3.so
136
+
137
+ A lib/numru/fftw3.rb
138
+ A lib/numru/fftw3/version.rb
139
+
140
+ 2015-03-31 Eriko Nishimoto
141
+ Added setting files for making rubygems
142
+
143
+ A Gemfile
144
+ A Rakefile
145
+ A ruby-fftw3.gemspec
146
+
147
+ 2015-03-30 Takeshi Horinouchi
148
+ Renamed the current ChangeLog to back up.
149
+
150
+ A .ChangeLog.until20110419
151
+ D ChangeLog
152
+
153
+ 2015-03-30 Takeshi Horinouchi
154
+ Registered files (patterns) to ignore in the repository
155
+
156
+ A .gitignore
157
+
158
+ 2011-04-19 Takeshi Horinouchi (ruby-fftw3-0_4)
159
+ * doc/ruby-fftw3.rd and doc/ruby-fftw3.html : updated
160
+
161
+ M ChangeLog
162
+ M doc/ruby-fftw3.html
163
+ M doc/ruby-fftw3.rd
164
+
165
+ 2011-04-19 Takeshi Horinouchi
166
+ Tue Apr 19 2011 T Horinouchi
167
+ * version 0.4 released (cvs tag ruby-fftw3-0_4)
168
+
169
+ M ChangeLog
170
+
171
+ 2011-04-19 Takeshi Horinouchi
172
+ Tue Apr 19 2011 T Horinouchi
173
+ * na_fftw3.c: added rb_require("narray"); -- then you do
174
+ not need to require "narray" separately.
175
+ * test/complexFFT.rb: removed the first line: require "narray"
176
+
177
+ M ChangeLog
178
+ M na_fftw3.c
179
+ M test/complexFFT.rb
180
+
181
+ 2011-04-19 Takeshi Horinouchi
182
+ Tue Apr 19 2011 T Horinouchi
183
+ * LICENSE.txt: changed --> BSD 2-clause license
184
+
185
+ M ChangeLog
186
+ M LICENSE.txt
187
+
188
+ 2011-04-12 Takeshi Horinouchi
189
+ Tue Apr 12 2011 T Horinouchi
190
+ * LICENSE.txt: changed
191
+
192
+ M ChangeLog
193
+ M LICENSE.txt
194
+
195
+ 2011-03-24 Takeshi Horinouchi (ruby-fftw3-0_3)
196
+ Thu Mar 24 2011 T Horinouchi
197
+ * version 0.3 released (cvs tag ruby-fftw3-0_3)
198
+ * LICENSE.txt: added
199
+
200
+ M ChangeLog
201
+ A LICENSE.txt
202
+
203
+ 2004-06-07 Takeshi Horinouchi (ruby-fftw3-0_2)
204
+ *** empty log message ***
205
+
206
+ D doc/fftw3.html
207
+ D doc/fftw3.rd
208
+ A doc/ruby-fftw3.html
209
+ A doc/ruby-fftw3.rd
210
+
211
+ 2004-06-07 Takeshi Horinouchi
212
+ Mon Jun 7 2004 T Horinouchi < T Koshiro
213
+ * version 0.2 released (cvs tag ruby-fftw3-0_2)
214
+ * extconf.rb: improved
215
+
216
+ M ChangeLog
217
+ M extconf.rb
218
+
219
+ 2004-06-07 Takeshi Horinouchi
220
+ Initial revision
221
+
222
+ A ChangeLog
223
+ A ToDo
224
+ A doc/fftw3.html
225
+ A doc/fftw3.rd
226
+ A extconf.rb
227
+ A na_fftw3.c
228
+ A test/complexFFT.rb
@@ -65,8 +65,4 @@ if have_library("fftw3f")
65
65
  $CFLAGS += ' -DFFTW3_HAS_SINGLE_SUPPORT'
66
66
  end
67
67
 
68
- if /cygwin|mingw/ =~ RUBY_PLATFORM
69
- have_library("narray") || raise("ERROR: narray library is not found")
70
- end
71
-
72
68
  create_makefile("numru/fftw3/fftw3")
@@ -648,12 +648,16 @@ na_fftw3_r2r(int argc, VALUE *argv, VALUE self)
648
648
  void
649
649
  Init_fftw3()
650
650
  {
651
- rb_require("narray");
652
651
  mNumRu = rb_define_module("NumRu");
653
652
  rb_mFFTW3 = rb_define_module_under(mNumRu, "FFTW3");
654
653
  rb_define_module_function(rb_mFFTW3, "fft", na_fftw3, -1);
655
654
  rb_define_module_function(rb_mFFTW3, "fft_r2r", na_fftw3_r2r, -1);
656
655
  /* Specifier of forward complex FFT. Integer equal to -1. */
656
+ #ifdef NARRAY_BIGMEM
657
+ rb_define_const(rb_mFFTW3, "SUPPORT_BIGMEM", Qtrue);
658
+ #else
659
+ rb_define_const(rb_mFFTW3, "SUPPORT_BIGMEM", Qfalse);
660
+ #endif
657
661
  rb_define_const(rb_mFFTW3, "FORWARD", INT2NUM(FFTW_FORWARD));
658
662
  /* Specifier of backward complex FFT. Integer equal to 1. */
659
663
  rb_define_const(rb_mFFTW3, "BACKWARD", INT2NUM(FFTW_BACKWARD));
data/lib/numru/fftw3.rb CHANGED
@@ -6,6 +6,21 @@ end
6
6
  require "numru/fftw3/version"
7
7
  require "numru/fftw3/fftw3"
8
8
 
9
+ if NumRu::FFTW3::SUPPORT_BIGMEM
10
+ if Object.const_defined?(:NArray)
11
+ raise "Incompatibility found. The loaded NumRu::FFTW3 was compiled to " +
12
+ "use NumRu::NArray, but here NArray has already been loaded."
13
+ end
14
+ require("numru/narray");
15
+ else
16
+ if ( RUBY_VERSION>="1.9" ? NumRu.const_defined?(:NArray,false) :
17
+ NumRu.const_defined?(:NArray) )
18
+ raise "Incompatibility found. The loaded NumRu::FFTW3 was compiled to " +
19
+ "use NArray, but here NumRu::NArray has already been loaded."
20
+ end
21
+ require("narray");
22
+ end
23
+
9
24
  module NumRu
10
25
 
11
26
  # Ruby wrapper of FFTW3, a fast discrete Fourier transform library. http://www.fftw.org
@@ -1,5 +1,5 @@
1
1
  module NumRu
2
2
  module FFTW3
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-fftw3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takeshi Horinouchi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-15 00:00:00.000000000 Z
11
+ date: 2016-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: narray
@@ -35,6 +35,7 @@ extra_rdoc_files: []
35
35
  files:
36
36
  - ".ChangeLog.until20110419"
37
37
  - ".gitignore"
38
+ - ChangeLog
38
39
  - Gemfile
39
40
  - LICENSE.txt
40
41
  - Rakefile
@@ -68,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
69
  version: '0'
69
70
  requirements: []
70
71
  rubyforge_project:
71
- rubygems_version: 2.2.2
72
+ rubygems_version: 2.5.1
72
73
  signing_key:
73
74
  specification_version: 4
74
75
  summary: The Ruby interface of the FFTW (ver 3) library