carray 1.3.5 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (195) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSES +22 -0
  3. data/README.md +18 -21
  4. data/Rakefile +31 -0
  5. data/carray.gemspec +13 -26
  6. data/{ca_iter_block.c → ext/ca_iter_block.c} +13 -13
  7. data/{ca_iter_dimension.c → ext/ca_iter_dimension.c} +16 -16
  8. data/{ca_iter_window.c → ext/ca_iter_window.c} +10 -10
  9. data/{ca_obj_array.c → ext/ca_obj_array.c} +60 -55
  10. data/{ca_obj_bitarray.c → ext/ca_obj_bitarray.c} +12 -12
  11. data/{ca_obj_bitfield.c → ext/ca_obj_bitfield.c} +7 -7
  12. data/{ca_obj_block.c → ext/ca_obj_block.c} +42 -42
  13. data/{ca_obj_fake.c → ext/ca_obj_fake.c} +7 -7
  14. data/{ca_obj_farray.c → ext/ca_obj_farray.c} +18 -18
  15. data/{ca_obj_field.c → ext/ca_obj_field.c} +15 -15
  16. data/{ca_obj_grid.c → ext/ca_obj_grid.c} +27 -27
  17. data/{ca_obj_mapping.c → ext/ca_obj_mapping.c} +9 -9
  18. data/{ca_obj_object.c → ext/ca_obj_object.c} +37 -37
  19. data/{ca_obj_reduce.c → ext/ca_obj_reduce.c} +1 -1
  20. data/{ca_obj_refer.c → ext/ca_obj_refer.c} +33 -33
  21. data/{ca_obj_repeat.c → ext/ca_obj_repeat.c} +43 -43
  22. data/{ca_obj_select.c → ext/ca_obj_select.c} +2 -2
  23. data/{ca_obj_shift.c → ext/ca_obj_shift.c} +23 -23
  24. data/{ca_obj_transpose.c → ext/ca_obj_transpose.c} +23 -23
  25. data/{ca_obj_unbound_repeat.c → ext/ca_obj_unbound_repeat.c} +55 -55
  26. data/{ca_obj_window.c → ext/ca_obj_window.c} +26 -26
  27. data/{carray.h → ext/carray.h} +77 -51
  28. data/{carray_access.c → ext/carray_access.c} +133 -91
  29. data/{carray_attribute.c → ext/carray_attribute.c} +12 -12
  30. data/{carray_call_cfunc.c → ext/carray_call_cfunc.c} +0 -0
  31. data/{carray_cast.c → ext/carray_cast.c} +6 -6
  32. data/{carray_cast_func.rb → ext/carray_cast_func.rb} +0 -0
  33. data/{carray_class.c → ext/carray_class.c} +0 -0
  34. data/{carray_conversion.c → ext/carray_conversion.c} +11 -13
  35. data/{carray_copy.c → ext/carray_copy.c} +19 -19
  36. data/{carray_core.c → ext/carray_core.c} +2 -2
  37. data/ext/carray_data_type.c +66 -0
  38. data/{carray_element.c → ext/carray_element.c} +9 -9
  39. data/{carray_generate.c → ext/carray_generate.c} +67 -1
  40. data/{carray_iterator.c → ext/carray_iterator.c} +40 -38
  41. data/{carray_loop.c → ext/carray_loop.c} +24 -24
  42. data/{carray_mask.c → ext/carray_mask.c} +17 -6
  43. data/{carray_math.rb → ext/carray_math.rb} +25 -25
  44. data/ext/{mathfunc/carray_mathfunc.c → carray_mathfunc.c} +0 -0
  45. data/{carray_numeric.c → ext/carray_numeric.c} +1 -1
  46. data/{carray_operator.c → ext/carray_operator.c} +32 -9
  47. data/{carray_order.c → ext/carray_order.c} +2 -153
  48. data/{carray_sort_addr.c → ext/carray_sort_addr.c} +0 -0
  49. data/{carray_stat.c → ext/carray_stat.c} +5 -5
  50. data/{carray_stat_proc.rb → ext/carray_stat_proc.rb} +23 -23
  51. data/{carray_test.c → ext/carray_test.c} +22 -21
  52. data/{carray_undef.c → ext/carray_undef.c} +0 -0
  53. data/{carray_utils.c → ext/carray_utils.c} +0 -0
  54. data/{extconf.rb → ext/extconf.rb} +0 -5
  55. data/{mkmath.rb → ext/mkmath.rb} +12 -2
  56. data/{ruby_carray.c → ext/ruby_carray.c} +9 -2
  57. data/{ruby_ccomplex.c → ext/ruby_ccomplex.c} +0 -0
  58. data/{ruby_float_func.c → ext/ruby_float_func.c} +0 -0
  59. data/{version.h → ext/version.h} +5 -5
  60. data/{version.rb → ext/version.rb} +0 -0
  61. data/lib/carray.rb +49 -7
  62. data/lib/carray/{base/autoload.rb → autoload.rb} +48 -6
  63. data/lib/carray/autoload/autoload_base.rb +1 -5
  64. data/lib/carray/autoload/autoload_gem_cairo.rb +9 -0
  65. data/lib/carray/autoload/autoload_gem_ffi.rb +9 -0
  66. data/lib/carray/autoload/autoload_gem_gnuplot.rb +2 -0
  67. data/lib/carray/autoload/autoload_gem_io_csv.rb +14 -0
  68. data/lib/carray/autoload/autoload_gem_io_pg.rb +6 -0
  69. data/lib/carray/autoload/autoload_gem_io_sqlite3.rb +12 -0
  70. data/lib/carray/autoload/autoload_gem_narray.rb +10 -0
  71. data/lib/carray/autoload/autoload_gem_numo_narray.rb +15 -0
  72. data/lib/carray/autoload/autoload_gem_opencv.rb +16 -0
  73. data/lib/carray/autoload/autoload_gem_random.rb +8 -0
  74. data/lib/carray/autoload/autoload_gem_rmagick.rb +23 -0
  75. data/lib/carray/autoload/{autoload_graphics_zimg.rb → autoload_gem_zimg.rb} +0 -0
  76. data/lib/carray/basic.rb +193 -0
  77. data/lib/carray/compose.rb +291 -0
  78. data/lib/carray/construct.rb +445 -0
  79. data/lib/carray/convert.rb +115 -0
  80. data/lib/carray/{base/inspect.rb → inspect.rb} +6 -6
  81. data/lib/carray/io/imagemagick.rb +1 -1
  82. data/lib/carray/{base/iterator.rb → iterator.rb} +3 -3
  83. data/lib/carray/mask.rb +91 -0
  84. data/lib/carray/{base/math.rb → math.rb} +17 -47
  85. data/lib/carray/math/histogram.rb +7 -7
  86. data/lib/carray/mkmf.rb +8 -0
  87. data/lib/carray/object/ca_obj_pack.rb +8 -8
  88. data/lib/carray/obsolete.rb +272 -0
  89. data/lib/carray/ordering.rb +157 -0
  90. data/lib/carray/{base/serialize.rb → serialize.rb} +28 -53
  91. data/lib/carray/string.rb +190 -0
  92. data/lib/carray/{base/struct.rb → struct.rb} +20 -20
  93. data/lib/carray/{io/table.rb → table.rb} +1 -9
  94. data/lib/carray/testing.rb +56 -0
  95. data/lib/carray/time.rb +78 -0
  96. data/lib/carray/transform.rb +100 -0
  97. data/misc/Methods.ja.md +182 -0
  98. data/{NOTE → misc/NOTE} +0 -0
  99. data/test/test_ALL.rb +0 -2
  100. data/test/test_order.rb +7 -7
  101. data/test/test_ref_store.rb +13 -13
  102. data/test/test_stat.rb +7 -15
  103. data/{devel → utils}/guess_shape.rb +0 -0
  104. data/utils/{diff_method.rb → monkey_patch_methods.rb} +17 -7
  105. metadata +100 -254
  106. data/COPYING +0 -56
  107. data/GPL +0 -340
  108. data/Gemfile +0 -8
  109. data/Gemfile.lock +0 -33
  110. data/LEGAL +0 -50
  111. data/TODO +0 -5
  112. data/carray_random.c +0 -531
  113. data/ext/calculus/carray_calculus.c +0 -931
  114. data/ext/calculus/carray_interp.c +0 -358
  115. data/ext/calculus/extconf.rb +0 -12
  116. data/ext/calculus/lib/autoload/autoload_math_calculus.rb +0 -2
  117. data/ext/calculus/lib/math/calculus.rb +0 -119
  118. data/ext/calculus/lib/math/interp/adapter_interp1d.rb +0 -31
  119. data/ext/fortio/extconf.rb +0 -3
  120. data/ext/fortio/lib/carray/autoload/autoload_fortran_format.rb +0 -5
  121. data/ext/fortio/lib/carray/io/fortran_format.rb +0 -43
  122. data/ext/fortio/lib/fortio.rb +0 -3
  123. data/ext/fortio/lib/fortio/fortran_format.rb +0 -605
  124. data/ext/fortio/lib/fortio/fortran_format.tab.rb +0 -536
  125. data/ext/fortio/lib/fortio/fortran_format.y +0 -215
  126. data/ext/fortio/lib/fortio/fortran_namelist.rb +0 -151
  127. data/ext/fortio/lib/fortio/fortran_namelist.tab.rb +0 -470
  128. data/ext/fortio/lib/fortio/fortran_namelist.y +0 -213
  129. data/ext/fortio/lib/fortio/fortran_sequential.rb +0 -345
  130. data/ext/fortio/ruby_fortio.c +0 -182
  131. data/ext/fortio/test/test_H.rb +0 -5
  132. data/ext/fortio/test/test_T.rb +0 -7
  133. data/ext/fortio/test/test_fortran_format.rb +0 -86
  134. data/ext/fortio/test/test_namelist.rb +0 -25
  135. data/ext/fortio/test/test_namelist_write.rb +0 -10
  136. data/ext/fortio/test/test_sequential.rb +0 -13
  137. data/ext/fortio/test/test_sequential2.rb +0 -13
  138. data/ext/fortio/work/test.rb +0 -10
  139. data/ext/fortio/work/test_e.rb +0 -19
  140. data/ext/fortio/work/test_ep.rb +0 -10
  141. data/ext/fortio/work/test_parse.rb +0 -12
  142. data/ext/imagemap/carray_imagemap.c +0 -495
  143. data/ext/imagemap/doc/call_graph.dot +0 -28
  144. data/ext/imagemap/draw.c +0 -567
  145. data/ext/imagemap/extconf.rb +0 -13
  146. data/ext/imagemap/lib/autoload/autoload_graphics_imagemap.rb +0 -1
  147. data/ext/imagemap/lib/graphics/imagemap.rb +0 -273
  148. data/ext/imagemap/lib/image_map.rb +0 -4
  149. data/ext/imagemap/test/swath_index.rb +0 -83
  150. data/ext/imagemap/test/swath_warp.rb +0 -99
  151. data/ext/imagemap/test/test.rb +0 -23
  152. data/ext/imagemap/test/test_image.rb +0 -42
  153. data/ext/imagemap/test/test_line.rb +0 -14
  154. data/ext/imagemap/test/test_rotate.rb +0 -17
  155. data/ext/imagemap/test/test_triangle.rb +0 -20
  156. data/ext/imagemap/test/test_warp.rb +0 -26
  157. data/ext/mathfunc/extconf.rb +0 -18
  158. data/ext/mathfunc/lib/autoload/autoload_math_mathfunc.rb +0 -1
  159. data/ext/mathfunc/lib/math/mathfunc.rb +0 -15
  160. data/ext/mathfunc/test/test_hypot.rb +0 -5
  161. data/ext/mathfunc/test/test_j0.rb +0 -22
  162. data/ext/mathfunc/test/test_jn.rb +0 -8
  163. data/ext/mathfunc/test/test_sph.rb +0 -9
  164. data/ext/narray/README +0 -22
  165. data/ext/narray/ca_wrap_narray.c +0 -500
  166. data/ext/narray/carray_narray.c +0 -21
  167. data/ext/narray/extconf.rb +0 -57
  168. data/ext/narray/lib/autoload/autoload_math_narray.rb +0 -1
  169. data/ext/narray/lib/autoload/autoload_math_narray_miss.rb +0 -11
  170. data/ext/narray/lib/math/narray.rb +0 -17
  171. data/ext/narray/lib/math/narray_miss.rb +0 -45
  172. data/lib/carray/autoload/autoload_graphics_gnuplot.rb +0 -2
  173. data/lib/carray/autoload/autoload_io_csv.rb +0 -14
  174. data/lib/carray/autoload/autoload_io_pg.rb +0 -6
  175. data/lib/carray/autoload/autoload_io_sqlite3.rb +0 -12
  176. data/lib/carray/autoload/autoload_io_table.rb +0 -1
  177. data/lib/carray/autoload/autoload_math_interp.rb +0 -4
  178. data/lib/carray/base/basic.rb +0 -1090
  179. data/lib/carray/base/obsolete.rb +0 -131
  180. data/lib/carray/graphics/gnuplot.rb +0 -2131
  181. data/lib/carray/graphics/zimg.rb +0 -296
  182. data/lib/carray/io/csv.rb +0 -572
  183. data/lib/carray/io/pg.rb +0 -101
  184. data/lib/carray/io/sqlite3.rb +0 -215
  185. data/lib/carray/math/interp.rb +0 -57
  186. data/lib/carray/math/interp/adapter_gsl_spline.rb +0 -47
  187. data/mt19937ar.c +0 -182
  188. data/mt19937ar.h +0 -86
  189. data/rdoc_main.rb +0 -27
  190. data/rdoc_math.rb +0 -5
  191. data/rdoc_stat.rb +0 -31
  192. data/test/test_narray.rb +0 -64
  193. data/test/test_random.rb +0 -15
  194. data/utils/create_rdoc.sh +0 -9
  195. data/utils/make_tgz.sh +0 -3
@@ -81,13 +81,13 @@ class TestCArrayOrder < Test::Unit::TestCase
81
81
  [0,1,2]]), a.order(-1))
82
82
  end
83
83
 
84
- def test_uniq
85
- a = CArray.int(100).random!(10)
86
-
87
- # ---
88
- assert_equal(a.to_a.uniq, a.uniq.to_a)
89
-
90
- end
84
+ # def test_uniq
85
+ # a = CArray.int(100).random!(10)
86
+ #
87
+ # # ---
88
+ # assert_equal(a.to_a.uniq, a.uniq.to_a)
89
+ #
90
+ # end
91
91
 
92
92
  def test_search
93
93
  # ---
@@ -87,19 +87,19 @@ class TestCArrayRefStore < Test::Unit::TestCase
87
87
  assert_equal(CA_INT([[1,1,1],[1,1,5],[6,7,8]]), a)
88
88
  end
89
89
 
90
- def test_access_mapping
91
- # ---
92
- a = CArray.int(3,3).seq!;
93
- m = a.shuffle
94
- assert_equal(10*m, (10*a)[m])
95
-
96
- # ---
97
- a = CArray.int(3,3).seq!
98
- b = 10*a
99
- m = a.shuffle
100
- a[m] = (10*m)
101
- assert_equal(b, a)
102
- end
90
+ # def test_access_mapping
91
+ # # ---
92
+ # a = CArray.int(3,3).seq!;
93
+ # m = a.shuffle
94
+ # assert_equal(10*m, (10*a)[m])
95
+
96
+ # ---
97
+ # a = CArray.int(3,3).seq!
98
+ # b = 10*a
99
+ # m = a.shuffle
100
+ # a[m] = (10*m)
101
+ # assert_equal(b, a)
102
+ # end
103
103
 
104
104
  def test_access_grid
105
105
  # ---
@@ -93,13 +93,13 @@ class TestCArrayStat < Test::Unit::TestCase
93
93
  assert_equal(1, a.max_addr(:mask_limit => 2))
94
94
  end
95
95
 
96
- def test_max_and_min_addr
97
- a = CArray.float(100).span!(1..100).shuffle
98
- addr1 = a.max_addr
99
- addr2 = (-a).min_addr
100
- assert_equal(addr1, addr2)
101
- assert_equal(100, a[addr1])
102
- end
96
+ # def test_max_and_min_addr
97
+ # a = CArray.float(100).span!(1..100).shuffle
98
+ # addr1 = a.max_addr
99
+ # addr2 = (-a).min_addr
100
+ # assert_equal(addr1, addr2)
101
+ # assert_equal(100, a[addr1])
102
+ # end
103
103
 
104
104
  def test_sum
105
105
  # ---
@@ -403,12 +403,4 @@ class TestCArrayStat < Test::Unit::TestCase
403
403
  assert_equal(false, a.any_close?(1, 0.00001))
404
404
  end
405
405
 
406
- def test_shuffle!
407
- # ---
408
- a = CArray.int(10).seq!(1)
409
- b = a.shuffle
410
- assert_equal(a.sum, b.sum)
411
- assert_equal(a.mean, b.mean)
412
- end
413
-
414
406
  end
File without changes
@@ -7,8 +7,6 @@ class_list = [
7
7
  Numeric,
8
8
  Float,
9
9
  Integer,
10
- Bignum,
11
- Fixnum,
12
10
  Rational,
13
11
  ]
14
12
 
@@ -23,6 +21,7 @@ class_list.each do |klass|
23
21
  orig_s[klass] = klass.singleton_methods
24
22
  end
25
23
 
24
+ $CARRAY_NO_AUTOLOAD = true
26
25
  require "carray"
27
26
 
28
27
  class_list.each do |klass|
@@ -38,15 +37,26 @@ end
38
37
  cnst_intr = (Object.constants - cnst_orig)
39
38
 
40
39
  require "pp"
41
- pp (cnst_intr.sort)
42
40
 
41
+ puts "Global Constants"
42
+ puts "----------"
43
+ pp (cnst_intr.sort)
44
+ puts
43
45
 
44
46
  class_list.each do |klass|
45
- puts klass
46
- p intr[klass].sort
47
- p intr_s[klass].sort
47
+ puts "#{klass}"
48
+ puts "----------"
49
+ unless intr_s[klass].empty?
50
+ puts "### Singleton Methods"
51
+ pp intr_s[klass].sort
52
+ end
53
+ unless intr[klass].empty?
54
+ puts "### Instance Methods"
55
+ pp intr[klass].sort
56
+ end
57
+ puts
48
58
  end
49
59
 
50
- p CA.singleton_methods.sort
60
+ #pp CA.singleton_methods.sort
51
61
 
52
62
 
metadata CHANGED
@@ -1,57 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carray
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.5
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroki Motoyoshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-01 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: narray
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 0.6.1.1
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 0.6.1.1
27
- - !ruby/object:Gem::Dependency
28
- name: narray_miss
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '1.3'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '1.3'
41
- - !ruby/object:Gem::Dependency
42
- name: sqlite3
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '1.3'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '1.3'
11
+ date: 2020-07-01 00:00:00.000000000 Z
12
+ dependencies: []
55
13
  description: |2
56
14
  CArray is a uniform multi-dimensional rectangular array class.
57
15
  It provides the various types of sub-arrays and references
@@ -60,181 +18,116 @@ description: |2
60
18
  email: ''
61
19
  executables: []
62
20
  extensions:
63
- - extconf.rb
64
- - ext/imagemap/extconf.rb
65
- - ext/narray/extconf.rb
66
- - ext/mathfunc/extconf.rb
67
- - ext/fortio/extconf.rb
68
- - ext/calculus/extconf.rb
21
+ - ext/extconf.rb
69
22
  extra_rdoc_files: []
70
23
  files:
71
- - COPYING
72
- - GPL
73
- - Gemfile
74
- - Gemfile.lock
75
- - LEGAL
76
- - NOTE
24
+ - LICENSES
77
25
  - README.md
78
26
  - Rakefile
79
- - TODO
80
- - ca_iter_block.c
81
- - ca_iter_dimension.c
82
- - ca_iter_window.c
83
- - ca_obj_array.c
84
- - ca_obj_bitarray.c
85
- - ca_obj_bitfield.c
86
- - ca_obj_block.c
87
- - ca_obj_fake.c
88
- - ca_obj_farray.c
89
- - ca_obj_field.c
90
- - ca_obj_grid.c
91
- - ca_obj_mapping.c
92
- - ca_obj_object.c
93
- - ca_obj_reduce.c
94
- - ca_obj_refer.c
95
- - ca_obj_repeat.c
96
- - ca_obj_select.c
97
- - ca_obj_shift.c
98
- - ca_obj_transpose.c
99
- - ca_obj_unbound_repeat.c
100
- - ca_obj_window.c
101
27
  - carray.gemspec
102
- - carray.h
103
- - carray_access.c
104
- - carray_attribute.c
105
- - carray_call_cfunc.c
106
- - carray_cast.c
107
- - carray_cast_func.rb
108
- - carray_class.c
109
- - carray_conversion.c
110
- - carray_copy.c
111
- - carray_core.c
112
- - carray_element.c
113
- - carray_generate.c
114
- - carray_iterator.c
115
- - carray_loop.c
116
- - carray_mask.c
117
- - carray_math.rb
118
- - carray_numeric.c
119
- - carray_operator.c
120
- - carray_order.c
121
- - carray_random.c
122
- - carray_sort_addr.c
123
- - carray_stat.c
124
- - carray_stat_proc.rb
125
- - carray_test.c
126
- - carray_undef.c
127
- - carray_utils.c
128
- - devel/guess_shape.rb
129
- - ext/calculus/carray_calculus.c
130
- - ext/calculus/carray_interp.c
131
- - ext/calculus/extconf.rb
132
- - ext/calculus/lib/autoload/autoload_math_calculus.rb
133
- - ext/calculus/lib/math/calculus.rb
134
- - ext/calculus/lib/math/interp/adapter_interp1d.rb
135
- - ext/fortio/extconf.rb
136
- - ext/fortio/lib/carray/autoload/autoload_fortran_format.rb
137
- - ext/fortio/lib/carray/io/fortran_format.rb
138
- - ext/fortio/lib/fortio.rb
139
- - ext/fortio/lib/fortio/fortran_format.rb
140
- - ext/fortio/lib/fortio/fortran_format.tab.rb
141
- - ext/fortio/lib/fortio/fortran_format.y
142
- - ext/fortio/lib/fortio/fortran_namelist.rb
143
- - ext/fortio/lib/fortio/fortran_namelist.tab.rb
144
- - ext/fortio/lib/fortio/fortran_namelist.y
145
- - ext/fortio/lib/fortio/fortran_sequential.rb
146
- - ext/fortio/ruby_fortio.c
147
- - ext/fortio/test/test_H.rb
148
- - ext/fortio/test/test_T.rb
149
- - ext/fortio/test/test_fortran_format.rb
150
- - ext/fortio/test/test_namelist.rb
151
- - ext/fortio/test/test_namelist_write.rb
152
- - ext/fortio/test/test_sequential.rb
153
- - ext/fortio/test/test_sequential2.rb
154
- - ext/fortio/work/test.rb
155
- - ext/fortio/work/test_e.rb
156
- - ext/fortio/work/test_ep.rb
157
- - ext/fortio/work/test_parse.rb
158
- - ext/imagemap/carray_imagemap.c
159
- - ext/imagemap/doc/call_graph.dot
160
- - ext/imagemap/draw.c
161
- - ext/imagemap/extconf.rb
162
- - ext/imagemap/lib/autoload/autoload_graphics_imagemap.rb
163
- - ext/imagemap/lib/graphics/imagemap.rb
164
- - ext/imagemap/lib/image_map.rb
165
- - ext/imagemap/test/swath_index.rb
166
- - ext/imagemap/test/swath_warp.rb
167
- - ext/imagemap/test/test.rb
168
- - ext/imagemap/test/test_image.rb
169
- - ext/imagemap/test/test_line.rb
170
- - ext/imagemap/test/test_rotate.rb
171
- - ext/imagemap/test/test_triangle.rb
172
- - ext/imagemap/test/test_warp.rb
173
- - ext/mathfunc/carray_mathfunc.c
174
- - ext/mathfunc/extconf.rb
175
- - ext/mathfunc/lib/autoload/autoload_math_mathfunc.rb
176
- - ext/mathfunc/lib/math/mathfunc.rb
177
- - ext/mathfunc/test/test_hypot.rb
178
- - ext/mathfunc/test/test_j0.rb
179
- - ext/mathfunc/test/test_jn.rb
180
- - ext/mathfunc/test/test_sph.rb
181
- - ext/narray/README
182
- - ext/narray/ca_wrap_narray.c
183
- - ext/narray/carray_narray.c
184
- - ext/narray/extconf.rb
185
- - ext/narray/lib/autoload/autoload_math_narray.rb
186
- - ext/narray/lib/autoload/autoload_math_narray_miss.rb
187
- - ext/narray/lib/math/narray.rb
188
- - ext/narray/lib/math/narray_miss.rb
189
- - extconf.rb
28
+ - ext/ca_iter_block.c
29
+ - ext/ca_iter_dimension.c
30
+ - ext/ca_iter_window.c
31
+ - ext/ca_obj_array.c
32
+ - ext/ca_obj_bitarray.c
33
+ - ext/ca_obj_bitfield.c
34
+ - ext/ca_obj_block.c
35
+ - ext/ca_obj_fake.c
36
+ - ext/ca_obj_farray.c
37
+ - ext/ca_obj_field.c
38
+ - ext/ca_obj_grid.c
39
+ - ext/ca_obj_mapping.c
40
+ - ext/ca_obj_object.c
41
+ - ext/ca_obj_reduce.c
42
+ - ext/ca_obj_refer.c
43
+ - ext/ca_obj_repeat.c
44
+ - ext/ca_obj_select.c
45
+ - ext/ca_obj_shift.c
46
+ - ext/ca_obj_transpose.c
47
+ - ext/ca_obj_unbound_repeat.c
48
+ - ext/ca_obj_window.c
49
+ - ext/carray.h
50
+ - ext/carray_access.c
51
+ - ext/carray_attribute.c
52
+ - ext/carray_call_cfunc.c
53
+ - ext/carray_cast.c
54
+ - ext/carray_cast_func.rb
55
+ - ext/carray_class.c
56
+ - ext/carray_conversion.c
57
+ - ext/carray_copy.c
58
+ - ext/carray_core.c
59
+ - ext/carray_data_type.c
60
+ - ext/carray_element.c
61
+ - ext/carray_generate.c
62
+ - ext/carray_iterator.c
63
+ - ext/carray_loop.c
64
+ - ext/carray_mask.c
65
+ - ext/carray_math.rb
66
+ - ext/carray_mathfunc.c
67
+ - ext/carray_numeric.c
68
+ - ext/carray_operator.c
69
+ - ext/carray_order.c
70
+ - ext/carray_sort_addr.c
71
+ - ext/carray_stat.c
72
+ - ext/carray_stat_proc.rb
73
+ - ext/carray_test.c
74
+ - ext/carray_undef.c
75
+ - ext/carray_utils.c
76
+ - ext/extconf.rb
77
+ - ext/mkmath.rb
78
+ - ext/ruby_carray.c
79
+ - ext/ruby_ccomplex.c
80
+ - ext/ruby_float_func.c
81
+ - ext/version.h
82
+ - ext/version.rb
190
83
  - lib/carray.rb
84
+ - lib/carray/autoload.rb
191
85
  - lib/carray/autoload/autoload_base.rb
192
- - lib/carray/autoload/autoload_graphics_gnuplot.rb
193
- - lib/carray/autoload/autoload_graphics_zimg.rb
194
- - lib/carray/autoload/autoload_io_csv.rb
86
+ - lib/carray/autoload/autoload_gem_cairo.rb
87
+ - lib/carray/autoload/autoload_gem_ffi.rb
88
+ - lib/carray/autoload/autoload_gem_gnuplot.rb
89
+ - lib/carray/autoload/autoload_gem_io_csv.rb
90
+ - lib/carray/autoload/autoload_gem_io_pg.rb
91
+ - lib/carray/autoload/autoload_gem_io_sqlite3.rb
92
+ - lib/carray/autoload/autoload_gem_narray.rb
93
+ - lib/carray/autoload/autoload_gem_numo_narray.rb
94
+ - lib/carray/autoload/autoload_gem_opencv.rb
95
+ - lib/carray/autoload/autoload_gem_random.rb
96
+ - lib/carray/autoload/autoload_gem_rmagick.rb
97
+ - lib/carray/autoload/autoload_gem_zimg.rb
195
98
  - lib/carray/autoload/autoload_io_imagemagick.rb
196
- - lib/carray/autoload/autoload_io_pg.rb
197
- - lib/carray/autoload/autoload_io_sqlite3.rb
198
- - lib/carray/autoload/autoload_io_table.rb
199
99
  - lib/carray/autoload/autoload_math_histogram.rb
200
- - lib/carray/autoload/autoload_math_interp.rb
201
100
  - lib/carray/autoload/autoload_math_recurrence.rb
202
101
  - lib/carray/autoload/autoload_object_iterator.rb
203
102
  - lib/carray/autoload/autoload_object_link.rb
204
103
  - lib/carray/autoload/autoload_object_pack.rb
205
- - lib/carray/base/autoload.rb
206
- - lib/carray/base/basic.rb
207
- - lib/carray/base/inspect.rb
208
- - lib/carray/base/iterator.rb
209
- - lib/carray/base/math.rb
210
- - lib/carray/base/obsolete.rb
211
- - lib/carray/base/serialize.rb
212
- - lib/carray/base/struct.rb
213
- - lib/carray/graphics/gnuplot.rb
214
- - lib/carray/graphics/zimg.rb
104
+ - lib/carray/basic.rb
105
+ - lib/carray/compose.rb
106
+ - lib/carray/construct.rb
107
+ - lib/carray/convert.rb
215
108
  - lib/carray/info.rb
216
- - lib/carray/io/csv.rb
109
+ - lib/carray/inspect.rb
217
110
  - lib/carray/io/imagemagick.rb
218
- - lib/carray/io/pg.rb
219
- - lib/carray/io/sqlite3.rb
220
- - lib/carray/io/table.rb
111
+ - lib/carray/iterator.rb
112
+ - lib/carray/mask.rb
113
+ - lib/carray/math.rb
221
114
  - lib/carray/math/histogram.rb
222
- - lib/carray/math/interp.rb
223
- - lib/carray/math/interp/adapter_gsl_spline.rb
224
115
  - lib/carray/math/recurrence.rb
225
116
  - lib/carray/mkmf.rb
226
117
  - lib/carray/object/ca_obj_iterator.rb
227
118
  - lib/carray/object/ca_obj_link.rb
228
119
  - lib/carray/object/ca_obj_pack.rb
229
- - mkmath.rb
230
- - mt19937ar.c
231
- - mt19937ar.h
232
- - rdoc_main.rb
233
- - rdoc_math.rb
234
- - rdoc_stat.rb
235
- - ruby_carray.c
236
- - ruby_ccomplex.c
237
- - ruby_float_func.c
120
+ - lib/carray/obsolete.rb
121
+ - lib/carray/ordering.rb
122
+ - lib/carray/serialize.rb
123
+ - lib/carray/string.rb
124
+ - lib/carray/struct.rb
125
+ - lib/carray/table.rb
126
+ - lib/carray/testing.rb
127
+ - lib/carray/time.rb
128
+ - lib/carray/transform.rb
129
+ - misc/Methods.ja.md
130
+ - misc/NOTE
238
131
  - spec/CABlockIterator/CABlockIterator_spec.rb
239
132
  - spec/CArray/bug/store_spec.rb
240
133
  - spec/CArray/index/repeat_spec.rb
@@ -281,9 +174,7 @@ files:
281
174
  - test/test_index.rb
282
175
  - test/test_mask.rb
283
176
  - test/test_math.rb
284
- - test/test_narray.rb
285
177
  - test/test_order.rb
286
- - test/test_random.rb
287
178
  - test/test_ref_store.rb
288
179
  - test/test_stat.rb
289
180
  - test/test_struct.rb
@@ -291,76 +182,31 @@ files:
291
182
  - utils/ca_ase.rb
292
183
  - utils/ca_methods.rb
293
184
  - utils/cast_checker.rb
294
- - utils/create_rdoc.sh
295
- - utils/diff_method.rb
296
185
  - utils/extract_rdoc.rb
297
- - utils/make_tgz.sh
186
+ - utils/guess_shape.rb
187
+ - utils/monkey_patch_methods.rb
298
188
  - utils/remove_resource_fork.sh
299
- - version.h
300
- - version.rb
301
189
  homepage: https://github.com/himotoyoshi/carray
302
- licenses: []
190
+ licenses:
191
+ - MIT
303
192
  metadata: {}
304
193
  post_install_message:
305
- rdoc_options:
306
- - "-m rdoc_main.rb"
307
- - rdoc_main.rb
308
- - rdoc_ext.rb
309
- - rdoc_math.rb
310
- - rdoc_stat.rb
311
- - lib/carray/info.rb
312
- - lib/carray/io/table.rb
313
- - lib/carray/io/sqlite3.rb
314
- - lib/carray/io/csv.rb
315
- - lib/carray/io/imagemagick.rb
316
- - lib/carray/io/pg.rb
317
- - lib/carray/math/interp.rb
318
- - lib/carray/math/interp/adapter_gsl_spline.rb
319
- - lib/carray/math/histogram.rb
320
- - lib/carray/math/recurrence.rb
321
- - lib/carray/object/ca_obj_iterator.rb
322
- - lib/carray/object/ca_obj_pack.rb
323
- - lib/carray/object/ca_obj_link.rb
324
- - lib/carray/autoload/autoload_io_table.rb
325
- - lib/carray/autoload/autoload_math_histogram.rb
326
- - lib/carray/autoload/autoload_io_csv.rb
327
- - lib/carray/autoload/autoload_io_pg.rb
328
- - lib/carray/autoload/autoload_math_interp.rb
329
- - lib/carray/autoload/autoload_io_imagemagick.rb
330
- - lib/carray/autoload/autoload_math_recurrence.rb
331
- - lib/carray/autoload/autoload_io_sqlite3.rb
332
- - lib/carray/autoload/autoload_graphics_zimg.rb
333
- - lib/carray/autoload/autoload_graphics_gnuplot.rb
334
- - lib/carray/autoload/autoload_base.rb
335
- - lib/carray/autoload/autoload_object_link.rb
336
- - lib/carray/autoload/autoload_object_pack.rb
337
- - lib/carray/autoload/autoload_object_iterator.rb
338
- - lib/carray/mkmf.rb
339
- - lib/carray/graphics/gnuplot.rb
340
- - lib/carray/graphics/zimg.rb
341
- - lib/carray/base/struct.rb
342
- - lib/carray/base/math.rb
343
- - lib/carray/base/inspect.rb
344
- - lib/carray/base/iterator.rb
345
- - lib/carray/base/basic.rb
346
- - lib/carray/base/autoload.rb
347
- - lib/carray/base/obsolete.rb
348
- - lib/carray/base/serialize.rb
194
+ rdoc_options: []
349
195
  require_paths:
350
196
  - lib
351
197
  required_ruby_version: !ruby/object:Gem::Requirement
352
198
  requirements:
353
199
  - - ">="
354
200
  - !ruby/object:Gem::Version
355
- version: 1.8.1
201
+ version: 2.4.0
356
202
  required_rubygems_version: !ruby/object:Gem::Requirement
357
203
  requirements:
358
204
  - - ">="
359
205
  - !ruby/object:Gem::Version
360
206
  version: '0'
361
207
  requirements: []
362
- rubygems_version: 3.0.3
208
+ rubygems_version: 3.1.2
363
209
  signing_key:
364
210
  specification_version: 4
365
- summary: Multi-dimesional array class
211
+ summary: Multi-dimesional array class for Ruby
366
212
  test_files: []