numo-narray 0.9.0.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +4 -0
  3. data/README.md +47 -0
  4. data/Rakefile +41 -0
  5. data/ext/numo/narray/SFMT-params.h +97 -0
  6. data/ext/numo/narray/SFMT-params19937.h +46 -0
  7. data/ext/numo/narray/SFMT.c +620 -0
  8. data/ext/numo/narray/SFMT.h +157 -0
  9. data/ext/numo/narray/array.c +525 -0
  10. data/ext/numo/narray/data.c +901 -0
  11. data/ext/numo/narray/depend.erb +33 -0
  12. data/ext/numo/narray/extconf.rb +117 -0
  13. data/ext/numo/narray/gen/bit.erb.c +811 -0
  14. data/ext/numo/narray/gen/cogen.rb +18 -0
  15. data/ext/numo/narray/gen/def/dcomplex.rb +32 -0
  16. data/ext/numo/narray/gen/def/dfloat.rb +30 -0
  17. data/ext/numo/narray/gen/def/int16.rb +29 -0
  18. data/ext/numo/narray/gen/def/int32.rb +29 -0
  19. data/ext/numo/narray/gen/def/int64.rb +29 -0
  20. data/ext/numo/narray/gen/def/int8.rb +29 -0
  21. data/ext/numo/narray/gen/def/robject.rb +30 -0
  22. data/ext/numo/narray/gen/def/scomplex.rb +32 -0
  23. data/ext/numo/narray/gen/def/sfloat.rb +30 -0
  24. data/ext/numo/narray/gen/def/uint16.rb +29 -0
  25. data/ext/numo/narray/gen/def/uint32.rb +29 -0
  26. data/ext/numo/narray/gen/def/uint64.rb +29 -0
  27. data/ext/numo/narray/gen/def/uint8.rb +29 -0
  28. data/ext/numo/narray/gen/dtype.erb.c +328 -0
  29. data/ext/numo/narray/gen/tmpl/accum.c +36 -0
  30. data/ext/numo/narray/gen/tmpl/accum_binary.c +75 -0
  31. data/ext/numo/narray/gen/tmpl/accum_index.c +58 -0
  32. data/ext/numo/narray/gen/tmpl/allocate.c +35 -0
  33. data/ext/numo/narray/gen/tmpl/aref.c +51 -0
  34. data/ext/numo/narray/gen/tmpl/aset.c +61 -0
  35. data/ext/numo/narray/gen/tmpl/binary.c +53 -0
  36. data/ext/numo/narray/gen/tmpl/binary2.c +55 -0
  37. data/ext/numo/narray/gen/tmpl/binary_s.c +34 -0
  38. data/ext/numo/narray/gen/tmpl/bit_binary.c +94 -0
  39. data/ext/numo/narray/gen/tmpl/bit_count.c +82 -0
  40. data/ext/numo/narray/gen/tmpl/bit_unary.c +77 -0
  41. data/ext/numo/narray/gen/tmpl/cast.c +37 -0
  42. data/ext/numo/narray/gen/tmpl/cast_array.c +79 -0
  43. data/ext/numo/narray/gen/tmpl/cast_numeric.c +22 -0
  44. data/ext/numo/narray/gen/tmpl/coerce_cast.c +8 -0
  45. data/ext/numo/narray/gen/tmpl/cond_binary.c +51 -0
  46. data/ext/numo/narray/gen/tmpl/cond_unary.c +45 -0
  47. data/ext/numo/narray/gen/tmpl/cum.c +42 -0
  48. data/ext/numo/narray/gen/tmpl/each.c +43 -0
  49. data/ext/numo/narray/gen/tmpl/each_with_index.c +64 -0
  50. data/ext/numo/narray/gen/tmpl/extract.c +23 -0
  51. data/ext/numo/narray/gen/tmpl/eye.c +91 -0
  52. data/ext/numo/narray/gen/tmpl/fill.c +38 -0
  53. data/ext/numo/narray/gen/tmpl/format.c +60 -0
  54. data/ext/numo/narray/gen/tmpl/format_to_a.c +47 -0
  55. data/ext/numo/narray/gen/tmpl/head.c +25 -0
  56. data/ext/numo/narray/gen/tmpl/inspect.c +16 -0
  57. data/ext/numo/narray/gen/tmpl/map_with_index.c +94 -0
  58. data/ext/numo/narray/gen/tmpl/median.c +44 -0
  59. data/ext/numo/narray/gen/tmpl/minmax.c +47 -0
  60. data/ext/numo/narray/gen/tmpl/poly.c +49 -0
  61. data/ext/numo/narray/gen/tmpl/pow.c +74 -0
  62. data/ext/numo/narray/gen/tmpl/powint.c +17 -0
  63. data/ext/numo/narray/gen/tmpl/qsort.c +149 -0
  64. data/ext/numo/narray/gen/tmpl/rand.c +33 -0
  65. data/ext/numo/narray/gen/tmpl/rand_norm.c +46 -0
  66. data/ext/numo/narray/gen/tmpl/robj_allocate.c +32 -0
  67. data/ext/numo/narray/gen/tmpl/seq.c +61 -0
  68. data/ext/numo/narray/gen/tmpl/set2.c +56 -0
  69. data/ext/numo/narray/gen/tmpl/sort.c +36 -0
  70. data/ext/numo/narray/gen/tmpl/sort_index.c +86 -0
  71. data/ext/numo/narray/gen/tmpl/store.c +31 -0
  72. data/ext/numo/narray/gen/tmpl/store_array.c +5 -0
  73. data/ext/numo/narray/gen/tmpl/store_from.c +53 -0
  74. data/ext/numo/narray/gen/tmpl/store_numeric.c +22 -0
  75. data/ext/numo/narray/gen/tmpl/to_a.c +41 -0
  76. data/ext/numo/narray/gen/tmpl/unary.c +58 -0
  77. data/ext/numo/narray/gen/tmpl/unary2.c +58 -0
  78. data/ext/numo/narray/gen/tmpl/unary_s.c +57 -0
  79. data/ext/numo/narray/index.c +822 -0
  80. data/ext/numo/narray/kwarg.c +79 -0
  81. data/ext/numo/narray/math.c +140 -0
  82. data/ext/numo/narray/narray.c +1539 -0
  83. data/ext/numo/narray/ndloop.c +1928 -0
  84. data/ext/numo/narray/numo/compat.h +23 -0
  85. data/ext/numo/narray/numo/intern.h +112 -0
  86. data/ext/numo/narray/numo/narray.h +411 -0
  87. data/ext/numo/narray/numo/ndloop.h +99 -0
  88. data/ext/numo/narray/numo/template.h +140 -0
  89. data/ext/numo/narray/numo/types/bit.h +19 -0
  90. data/ext/numo/narray/numo/types/complex.h +410 -0
  91. data/ext/numo/narray/numo/types/complex_macro.h +205 -0
  92. data/ext/numo/narray/numo/types/dcomplex.h +11 -0
  93. data/ext/numo/narray/numo/types/dfloat.h +12 -0
  94. data/ext/numo/narray/numo/types/float_def.h +34 -0
  95. data/ext/numo/narray/numo/types/float_macro.h +277 -0
  96. data/ext/numo/narray/numo/types/int16.h +12 -0
  97. data/ext/numo/narray/numo/types/int32.h +12 -0
  98. data/ext/numo/narray/numo/types/int64.h +12 -0
  99. data/ext/numo/narray/numo/types/int8.h +12 -0
  100. data/ext/numo/narray/numo/types/int_macro.h +34 -0
  101. data/ext/numo/narray/numo/types/robj_macro.h +218 -0
  102. data/ext/numo/narray/numo/types/robject.h +21 -0
  103. data/ext/numo/narray/numo/types/scomplex.h +11 -0
  104. data/ext/numo/narray/numo/types/sfloat.h +13 -0
  105. data/ext/numo/narray/numo/types/uint16.h +12 -0
  106. data/ext/numo/narray/numo/types/uint32.h +12 -0
  107. data/ext/numo/narray/numo/types/uint64.h +12 -0
  108. data/ext/numo/narray/numo/types/uint8.h +12 -0
  109. data/ext/numo/narray/numo/types/uint_macro.h +31 -0
  110. data/ext/numo/narray/numo/types/xint_macro.h +133 -0
  111. data/ext/numo/narray/rand.c +87 -0
  112. data/ext/numo/narray/step.c +506 -0
  113. data/ext/numo/narray/struct.c +872 -0
  114. data/lib/2.1/numo/narray.so +0 -0
  115. data/lib/2.2/numo/narray.so +0 -0
  116. data/lib/2.3/numo/narray.so +0 -0
  117. data/lib/erbpp/line_number.rb +126 -0
  118. data/lib/erbpp/narray_def.rb +338 -0
  119. data/lib/erbpp.rb +286 -0
  120. data/lib/numo/narray.rb +6 -0
  121. data/numo-narray.gemspec +35 -0
  122. data/spec/bit_spec.rb +93 -0
  123. data/spec/narray_spec.rb +249 -0
  124. metadata +238 -0
metadata ADDED
@@ -0,0 +1,238 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: numo-narray
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.0.1
5
+ platform: x86-mingw32
6
+ authors:
7
+ - Masahiro TANAKA
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-06-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake-compiler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 1.0.1
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 1.0.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake-compiler-dock
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: NArray development version.
84
+ email:
85
+ - masa16.tanaka@gmail.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - Gemfile
91
+ - README.md
92
+ - Rakefile
93
+ - ext/numo/narray/SFMT-params.h
94
+ - ext/numo/narray/SFMT-params19937.h
95
+ - ext/numo/narray/SFMT.c
96
+ - ext/numo/narray/SFMT.h
97
+ - ext/numo/narray/array.c
98
+ - ext/numo/narray/data.c
99
+ - ext/numo/narray/depend.erb
100
+ - ext/numo/narray/extconf.rb
101
+ - ext/numo/narray/gen/bit.erb.c
102
+ - ext/numo/narray/gen/cogen.rb
103
+ - ext/numo/narray/gen/def/dcomplex.rb
104
+ - ext/numo/narray/gen/def/dfloat.rb
105
+ - ext/numo/narray/gen/def/int16.rb
106
+ - ext/numo/narray/gen/def/int32.rb
107
+ - ext/numo/narray/gen/def/int64.rb
108
+ - ext/numo/narray/gen/def/int8.rb
109
+ - ext/numo/narray/gen/def/robject.rb
110
+ - ext/numo/narray/gen/def/scomplex.rb
111
+ - ext/numo/narray/gen/def/sfloat.rb
112
+ - ext/numo/narray/gen/def/uint16.rb
113
+ - ext/numo/narray/gen/def/uint32.rb
114
+ - ext/numo/narray/gen/def/uint64.rb
115
+ - ext/numo/narray/gen/def/uint8.rb
116
+ - ext/numo/narray/gen/dtype.erb.c
117
+ - ext/numo/narray/gen/tmpl/accum.c
118
+ - ext/numo/narray/gen/tmpl/accum_binary.c
119
+ - ext/numo/narray/gen/tmpl/accum_index.c
120
+ - ext/numo/narray/gen/tmpl/allocate.c
121
+ - ext/numo/narray/gen/tmpl/aref.c
122
+ - ext/numo/narray/gen/tmpl/aset.c
123
+ - ext/numo/narray/gen/tmpl/binary.c
124
+ - ext/numo/narray/gen/tmpl/binary2.c
125
+ - ext/numo/narray/gen/tmpl/binary_s.c
126
+ - ext/numo/narray/gen/tmpl/bit_binary.c
127
+ - ext/numo/narray/gen/tmpl/bit_count.c
128
+ - ext/numo/narray/gen/tmpl/bit_unary.c
129
+ - ext/numo/narray/gen/tmpl/cast.c
130
+ - ext/numo/narray/gen/tmpl/cast_array.c
131
+ - ext/numo/narray/gen/tmpl/cast_numeric.c
132
+ - ext/numo/narray/gen/tmpl/coerce_cast.c
133
+ - ext/numo/narray/gen/tmpl/cond_binary.c
134
+ - ext/numo/narray/gen/tmpl/cond_unary.c
135
+ - ext/numo/narray/gen/tmpl/cum.c
136
+ - ext/numo/narray/gen/tmpl/each.c
137
+ - ext/numo/narray/gen/tmpl/each_with_index.c
138
+ - ext/numo/narray/gen/tmpl/extract.c
139
+ - ext/numo/narray/gen/tmpl/eye.c
140
+ - ext/numo/narray/gen/tmpl/fill.c
141
+ - ext/numo/narray/gen/tmpl/format.c
142
+ - ext/numo/narray/gen/tmpl/format_to_a.c
143
+ - ext/numo/narray/gen/tmpl/head.c
144
+ - ext/numo/narray/gen/tmpl/inspect.c
145
+ - ext/numo/narray/gen/tmpl/map_with_index.c
146
+ - ext/numo/narray/gen/tmpl/median.c
147
+ - ext/numo/narray/gen/tmpl/minmax.c
148
+ - ext/numo/narray/gen/tmpl/poly.c
149
+ - ext/numo/narray/gen/tmpl/pow.c
150
+ - ext/numo/narray/gen/tmpl/powint.c
151
+ - ext/numo/narray/gen/tmpl/qsort.c
152
+ - ext/numo/narray/gen/tmpl/rand.c
153
+ - ext/numo/narray/gen/tmpl/rand_norm.c
154
+ - ext/numo/narray/gen/tmpl/robj_allocate.c
155
+ - ext/numo/narray/gen/tmpl/seq.c
156
+ - ext/numo/narray/gen/tmpl/set2.c
157
+ - ext/numo/narray/gen/tmpl/sort.c
158
+ - ext/numo/narray/gen/tmpl/sort_index.c
159
+ - ext/numo/narray/gen/tmpl/store.c
160
+ - ext/numo/narray/gen/tmpl/store_array.c
161
+ - ext/numo/narray/gen/tmpl/store_from.c
162
+ - ext/numo/narray/gen/tmpl/store_numeric.c
163
+ - ext/numo/narray/gen/tmpl/to_a.c
164
+ - ext/numo/narray/gen/tmpl/unary.c
165
+ - ext/numo/narray/gen/tmpl/unary2.c
166
+ - ext/numo/narray/gen/tmpl/unary_s.c
167
+ - ext/numo/narray/index.c
168
+ - ext/numo/narray/kwarg.c
169
+ - ext/numo/narray/math.c
170
+ - ext/numo/narray/narray.c
171
+ - ext/numo/narray/ndloop.c
172
+ - ext/numo/narray/numo/compat.h
173
+ - ext/numo/narray/numo/intern.h
174
+ - ext/numo/narray/numo/narray.h
175
+ - ext/numo/narray/numo/ndloop.h
176
+ - ext/numo/narray/numo/template.h
177
+ - ext/numo/narray/numo/types/bit.h
178
+ - ext/numo/narray/numo/types/complex.h
179
+ - ext/numo/narray/numo/types/complex_macro.h
180
+ - ext/numo/narray/numo/types/dcomplex.h
181
+ - ext/numo/narray/numo/types/dfloat.h
182
+ - ext/numo/narray/numo/types/float_def.h
183
+ - ext/numo/narray/numo/types/float_macro.h
184
+ - ext/numo/narray/numo/types/int16.h
185
+ - ext/numo/narray/numo/types/int32.h
186
+ - ext/numo/narray/numo/types/int64.h
187
+ - ext/numo/narray/numo/types/int8.h
188
+ - ext/numo/narray/numo/types/int_macro.h
189
+ - ext/numo/narray/numo/types/robj_macro.h
190
+ - ext/numo/narray/numo/types/robject.h
191
+ - ext/numo/narray/numo/types/scomplex.h
192
+ - ext/numo/narray/numo/types/sfloat.h
193
+ - ext/numo/narray/numo/types/uint16.h
194
+ - ext/numo/narray/numo/types/uint32.h
195
+ - ext/numo/narray/numo/types/uint64.h
196
+ - ext/numo/narray/numo/types/uint8.h
197
+ - ext/numo/narray/numo/types/uint_macro.h
198
+ - ext/numo/narray/numo/types/xint_macro.h
199
+ - ext/numo/narray/rand.c
200
+ - ext/numo/narray/step.c
201
+ - ext/numo/narray/struct.c
202
+ - lib/2.1/numo/narray.so
203
+ - lib/2.2/numo/narray.so
204
+ - lib/2.3/numo/narray.so
205
+ - lib/erbpp.rb
206
+ - lib/erbpp/line_number.rb
207
+ - lib/erbpp/narray_def.rb
208
+ - lib/numo/narray.rb
209
+ - numo-narray.gemspec
210
+ - spec/bit_spec.rb
211
+ - spec/narray_spec.rb
212
+ homepage: https://github.com/ruby-numo/narray
213
+ licenses:
214
+ - MIT
215
+ metadata: {}
216
+ post_install_message:
217
+ rdoc_options: []
218
+ require_paths:
219
+ - lib
220
+ required_ruby_version: !ruby/object:Gem::Requirement
221
+ requirements:
222
+ - - ">="
223
+ - !ruby/object:Gem::Version
224
+ version: '0'
225
+ required_rubygems_version: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ">="
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ requirements: []
231
+ rubyforge_project:
232
+ rubygems_version: 2.5.1
233
+ signing_key:
234
+ specification_version: 4
235
+ summary: NArray development version
236
+ test_files:
237
+ - spec/bit_spec.rb
238
+ - spec/narray_spec.rb