carray 1.3.5 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSES +22 -0
- data/README.md +18 -21
- data/Rakefile +31 -0
- data/carray.gemspec +13 -26
- data/{ca_iter_block.c → ext/ca_iter_block.c} +13 -13
- data/{ca_iter_dimension.c → ext/ca_iter_dimension.c} +16 -16
- data/{ca_iter_window.c → ext/ca_iter_window.c} +10 -10
- data/{ca_obj_array.c → ext/ca_obj_array.c} +60 -55
- data/{ca_obj_bitarray.c → ext/ca_obj_bitarray.c} +12 -12
- data/{ca_obj_bitfield.c → ext/ca_obj_bitfield.c} +7 -7
- data/{ca_obj_block.c → ext/ca_obj_block.c} +42 -42
- data/{ca_obj_fake.c → ext/ca_obj_fake.c} +7 -7
- data/{ca_obj_farray.c → ext/ca_obj_farray.c} +18 -18
- data/{ca_obj_field.c → ext/ca_obj_field.c} +15 -15
- data/{ca_obj_grid.c → ext/ca_obj_grid.c} +27 -27
- data/{ca_obj_mapping.c → ext/ca_obj_mapping.c} +9 -9
- data/{ca_obj_object.c → ext/ca_obj_object.c} +37 -37
- data/{ca_obj_reduce.c → ext/ca_obj_reduce.c} +1 -1
- data/{ca_obj_refer.c → ext/ca_obj_refer.c} +33 -33
- data/{ca_obj_repeat.c → ext/ca_obj_repeat.c} +43 -43
- data/{ca_obj_select.c → ext/ca_obj_select.c} +2 -2
- data/{ca_obj_shift.c → ext/ca_obj_shift.c} +23 -23
- data/{ca_obj_transpose.c → ext/ca_obj_transpose.c} +23 -23
- data/{ca_obj_unbound_repeat.c → ext/ca_obj_unbound_repeat.c} +55 -55
- data/{ca_obj_window.c → ext/ca_obj_window.c} +26 -26
- data/{carray.h → ext/carray.h} +77 -51
- data/{carray_access.c → ext/carray_access.c} +133 -91
- data/{carray_attribute.c → ext/carray_attribute.c} +12 -12
- data/{carray_call_cfunc.c → ext/carray_call_cfunc.c} +0 -0
- data/{carray_cast.c → ext/carray_cast.c} +6 -6
- data/{carray_cast_func.rb → ext/carray_cast_func.rb} +0 -0
- data/{carray_class.c → ext/carray_class.c} +0 -0
- data/{carray_conversion.c → ext/carray_conversion.c} +11 -13
- data/{carray_copy.c → ext/carray_copy.c} +19 -19
- data/{carray_core.c → ext/carray_core.c} +2 -2
- data/ext/carray_data_type.c +66 -0
- data/{carray_element.c → ext/carray_element.c} +9 -9
- data/{carray_generate.c → ext/carray_generate.c} +67 -1
- data/{carray_iterator.c → ext/carray_iterator.c} +40 -38
- data/{carray_loop.c → ext/carray_loop.c} +24 -24
- data/{carray_mask.c → ext/carray_mask.c} +17 -6
- data/{carray_math.rb → ext/carray_math.rb} +25 -25
- data/ext/{mathfunc/carray_mathfunc.c → carray_mathfunc.c} +0 -0
- data/{carray_numeric.c → ext/carray_numeric.c} +1 -1
- data/{carray_operator.c → ext/carray_operator.c} +32 -9
- data/{carray_order.c → ext/carray_order.c} +2 -153
- data/{carray_sort_addr.c → ext/carray_sort_addr.c} +0 -0
- data/{carray_stat.c → ext/carray_stat.c} +5 -5
- data/{carray_stat_proc.rb → ext/carray_stat_proc.rb} +23 -23
- data/{carray_test.c → ext/carray_test.c} +22 -21
- data/{carray_undef.c → ext/carray_undef.c} +0 -0
- data/{carray_utils.c → ext/carray_utils.c} +0 -0
- data/{extconf.rb → ext/extconf.rb} +0 -5
- data/{mkmath.rb → ext/mkmath.rb} +12 -2
- data/{ruby_carray.c → ext/ruby_carray.c} +9 -2
- data/{ruby_ccomplex.c → ext/ruby_ccomplex.c} +0 -0
- data/{ruby_float_func.c → ext/ruby_float_func.c} +0 -0
- data/{version.h → ext/version.h} +5 -5
- data/{version.rb → ext/version.rb} +0 -0
- data/lib/carray.rb +49 -7
- data/lib/carray/{base/autoload.rb → autoload.rb} +48 -6
- data/lib/carray/autoload/autoload_base.rb +1 -5
- data/lib/carray/autoload/autoload_gem_cairo.rb +9 -0
- data/lib/carray/autoload/autoload_gem_ffi.rb +9 -0
- data/lib/carray/autoload/autoload_gem_gnuplot.rb +2 -0
- data/lib/carray/autoload/autoload_gem_io_csv.rb +14 -0
- data/lib/carray/autoload/autoload_gem_io_pg.rb +6 -0
- data/lib/carray/autoload/autoload_gem_io_sqlite3.rb +12 -0
- data/lib/carray/autoload/autoload_gem_narray.rb +10 -0
- data/lib/carray/autoload/autoload_gem_numo_narray.rb +15 -0
- data/lib/carray/autoload/autoload_gem_opencv.rb +16 -0
- data/lib/carray/autoload/autoload_gem_random.rb +8 -0
- data/lib/carray/autoload/autoload_gem_rmagick.rb +23 -0
- data/lib/carray/autoload/{autoload_graphics_zimg.rb → autoload_gem_zimg.rb} +0 -0
- data/lib/carray/basic.rb +193 -0
- data/lib/carray/compose.rb +291 -0
- data/lib/carray/construct.rb +445 -0
- data/lib/carray/convert.rb +115 -0
- data/lib/carray/{base/inspect.rb → inspect.rb} +6 -6
- data/lib/carray/io/imagemagick.rb +1 -1
- data/lib/carray/{base/iterator.rb → iterator.rb} +3 -3
- data/lib/carray/mask.rb +91 -0
- data/lib/carray/{base/math.rb → math.rb} +17 -47
- data/lib/carray/math/histogram.rb +7 -7
- data/lib/carray/mkmf.rb +8 -0
- data/lib/carray/object/ca_obj_pack.rb +8 -8
- data/lib/carray/obsolete.rb +272 -0
- data/lib/carray/ordering.rb +157 -0
- data/lib/carray/{base/serialize.rb → serialize.rb} +28 -53
- data/lib/carray/string.rb +190 -0
- data/lib/carray/{base/struct.rb → struct.rb} +20 -20
- data/lib/carray/{io/table.rb → table.rb} +1 -9
- data/lib/carray/testing.rb +56 -0
- data/lib/carray/time.rb +78 -0
- data/lib/carray/transform.rb +100 -0
- data/misc/Methods.ja.md +182 -0
- data/{NOTE → misc/NOTE} +0 -0
- data/test/test_ALL.rb +0 -2
- data/test/test_order.rb +7 -7
- data/test/test_ref_store.rb +13 -13
- data/test/test_stat.rb +7 -15
- data/{devel → utils}/guess_shape.rb +0 -0
- data/utils/{diff_method.rb → monkey_patch_methods.rb} +17 -7
- metadata +100 -254
- data/COPYING +0 -56
- data/GPL +0 -340
- data/Gemfile +0 -8
- data/Gemfile.lock +0 -33
- data/LEGAL +0 -50
- data/TODO +0 -5
- data/carray_random.c +0 -531
- data/ext/calculus/carray_calculus.c +0 -931
- data/ext/calculus/carray_interp.c +0 -358
- data/ext/calculus/extconf.rb +0 -12
- data/ext/calculus/lib/autoload/autoload_math_calculus.rb +0 -2
- data/ext/calculus/lib/math/calculus.rb +0 -119
- data/ext/calculus/lib/math/interp/adapter_interp1d.rb +0 -31
- data/ext/fortio/extconf.rb +0 -3
- data/ext/fortio/lib/carray/autoload/autoload_fortran_format.rb +0 -5
- data/ext/fortio/lib/carray/io/fortran_format.rb +0 -43
- data/ext/fortio/lib/fortio.rb +0 -3
- data/ext/fortio/lib/fortio/fortran_format.rb +0 -605
- data/ext/fortio/lib/fortio/fortran_format.tab.rb +0 -536
- data/ext/fortio/lib/fortio/fortran_format.y +0 -215
- data/ext/fortio/lib/fortio/fortran_namelist.rb +0 -151
- data/ext/fortio/lib/fortio/fortran_namelist.tab.rb +0 -470
- data/ext/fortio/lib/fortio/fortran_namelist.y +0 -213
- data/ext/fortio/lib/fortio/fortran_sequential.rb +0 -345
- data/ext/fortio/ruby_fortio.c +0 -182
- data/ext/fortio/test/test_H.rb +0 -5
- data/ext/fortio/test/test_T.rb +0 -7
- data/ext/fortio/test/test_fortran_format.rb +0 -86
- data/ext/fortio/test/test_namelist.rb +0 -25
- data/ext/fortio/test/test_namelist_write.rb +0 -10
- data/ext/fortio/test/test_sequential.rb +0 -13
- data/ext/fortio/test/test_sequential2.rb +0 -13
- data/ext/fortio/work/test.rb +0 -10
- data/ext/fortio/work/test_e.rb +0 -19
- data/ext/fortio/work/test_ep.rb +0 -10
- data/ext/fortio/work/test_parse.rb +0 -12
- data/ext/imagemap/carray_imagemap.c +0 -495
- data/ext/imagemap/doc/call_graph.dot +0 -28
- data/ext/imagemap/draw.c +0 -567
- data/ext/imagemap/extconf.rb +0 -13
- data/ext/imagemap/lib/autoload/autoload_graphics_imagemap.rb +0 -1
- data/ext/imagemap/lib/graphics/imagemap.rb +0 -273
- data/ext/imagemap/lib/image_map.rb +0 -4
- data/ext/imagemap/test/swath_index.rb +0 -83
- data/ext/imagemap/test/swath_warp.rb +0 -99
- data/ext/imagemap/test/test.rb +0 -23
- data/ext/imagemap/test/test_image.rb +0 -42
- data/ext/imagemap/test/test_line.rb +0 -14
- data/ext/imagemap/test/test_rotate.rb +0 -17
- data/ext/imagemap/test/test_triangle.rb +0 -20
- data/ext/imagemap/test/test_warp.rb +0 -26
- data/ext/mathfunc/extconf.rb +0 -18
- data/ext/mathfunc/lib/autoload/autoload_math_mathfunc.rb +0 -1
- data/ext/mathfunc/lib/math/mathfunc.rb +0 -15
- data/ext/mathfunc/test/test_hypot.rb +0 -5
- data/ext/mathfunc/test/test_j0.rb +0 -22
- data/ext/mathfunc/test/test_jn.rb +0 -8
- data/ext/mathfunc/test/test_sph.rb +0 -9
- data/ext/narray/README +0 -22
- data/ext/narray/ca_wrap_narray.c +0 -500
- data/ext/narray/carray_narray.c +0 -21
- data/ext/narray/extconf.rb +0 -57
- data/ext/narray/lib/autoload/autoload_math_narray.rb +0 -1
- data/ext/narray/lib/autoload/autoload_math_narray_miss.rb +0 -11
- data/ext/narray/lib/math/narray.rb +0 -17
- data/ext/narray/lib/math/narray_miss.rb +0 -45
- data/lib/carray/autoload/autoload_graphics_gnuplot.rb +0 -2
- data/lib/carray/autoload/autoload_io_csv.rb +0 -14
- data/lib/carray/autoload/autoload_io_pg.rb +0 -6
- data/lib/carray/autoload/autoload_io_sqlite3.rb +0 -12
- data/lib/carray/autoload/autoload_io_table.rb +0 -1
- data/lib/carray/autoload/autoload_math_interp.rb +0 -4
- data/lib/carray/base/basic.rb +0 -1090
- data/lib/carray/base/obsolete.rb +0 -131
- data/lib/carray/graphics/gnuplot.rb +0 -2131
- data/lib/carray/graphics/zimg.rb +0 -296
- data/lib/carray/io/csv.rb +0 -572
- data/lib/carray/io/pg.rb +0 -101
- data/lib/carray/io/sqlite3.rb +0 -215
- data/lib/carray/math/interp.rb +0 -57
- data/lib/carray/math/interp/adapter_gsl_spline.rb +0 -47
- data/mt19937ar.c +0 -182
- data/mt19937ar.h +0 -86
- data/rdoc_main.rb +0 -27
- data/rdoc_math.rb +0 -5
- data/rdoc_stat.rb +0 -31
- data/test/test_narray.rb +0 -64
- data/test/test_random.rb +0 -15
- data/utils/create_rdoc.sh +0 -9
- data/utils/make_tgz.sh +0 -3
data/test/test_order.rb
CHANGED
@@ -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
|
# ---
|
data/test/test_ref_store.rb
CHANGED
@@ -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
|
# ---
|
data/test/test_stat.rb
CHANGED
@@ -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
|
-
|
47
|
-
|
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
|
-
|
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.
|
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:
|
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
|
-
-
|
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
|
-
-
|
103
|
-
-
|
104
|
-
-
|
105
|
-
-
|
106
|
-
-
|
107
|
-
-
|
108
|
-
-
|
109
|
-
-
|
110
|
-
-
|
111
|
-
-
|
112
|
-
-
|
113
|
-
-
|
114
|
-
-
|
115
|
-
-
|
116
|
-
-
|
117
|
-
-
|
118
|
-
-
|
119
|
-
-
|
120
|
-
-
|
121
|
-
-
|
122
|
-
-
|
123
|
-
-
|
124
|
-
-
|
125
|
-
-
|
126
|
-
-
|
127
|
-
-
|
128
|
-
-
|
129
|
-
- ext/
|
130
|
-
- ext/
|
131
|
-
- ext/
|
132
|
-
- ext/
|
133
|
-
- ext/
|
134
|
-
- ext/
|
135
|
-
- ext/
|
136
|
-
- ext/
|
137
|
-
- ext/
|
138
|
-
- ext/
|
139
|
-
- ext/
|
140
|
-
- ext/
|
141
|
-
- ext/
|
142
|
-
- ext/
|
143
|
-
- ext/
|
144
|
-
- ext/
|
145
|
-
- ext/
|
146
|
-
- ext/
|
147
|
-
- ext/
|
148
|
-
- ext/
|
149
|
-
- ext/
|
150
|
-
- ext/
|
151
|
-
- ext/
|
152
|
-
- ext/
|
153
|
-
- ext/
|
154
|
-
- ext/
|
155
|
-
- ext/
|
156
|
-
- ext/
|
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/
|
193
|
-
- lib/carray/autoload/
|
194
|
-
- lib/carray/autoload/
|
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/
|
206
|
-
- lib/carray/
|
207
|
-
- lib/carray/
|
208
|
-
- lib/carray/
|
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/
|
109
|
+
- lib/carray/inspect.rb
|
217
110
|
- lib/carray/io/imagemagick.rb
|
218
|
-
- lib/carray/
|
219
|
-
- lib/carray/
|
220
|
-
- lib/carray/
|
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
|
-
-
|
230
|
-
-
|
231
|
-
-
|
232
|
-
-
|
233
|
-
-
|
234
|
-
-
|
235
|
-
-
|
236
|
-
-
|
237
|
-
-
|
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/
|
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:
|
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.
|
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: []
|