nmatrix 0.1.0.rc1 → 0.1.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -1
- data/Gemfile +1 -4
- data/History.txt +64 -2
- data/Manifest.txt +6 -4
- data/README.rdoc +8 -5
- data/Rakefile +0 -2
- data/ext/nmatrix/data/data.cpp +2 -1
- data/ext/nmatrix/data/data.h +3 -2
- data/ext/nmatrix/extconf.rb +4 -9
- data/ext/nmatrix/math.cpp +65 -0
- data/ext/nmatrix/math/math.h +1 -0
- data/ext/nmatrix/nmatrix.h +2 -2
- data/ext/nmatrix/ruby_constants.cpp +3 -1
- data/ext/nmatrix/ruby_constants.h +3 -1
- data/ext/nmatrix/ruby_nmatrix.c +153 -8
- data/ext/nmatrix/util/sl_list.cpp +6 -2
- data/lib/nmatrix/io/point_cloud.rb +182 -0
- data/lib/nmatrix/math.rb +35 -5
- data/lib/nmatrix/nmatrix.rb +70 -26
- data/lib/nmatrix/shortcuts.rb +18 -1
- data/lib/nmatrix/version.rb +1 -1
- data/nmatrix.gemspec +2 -2
- data/spec/00_nmatrix_spec.rb +220 -176
- data/spec/01_enum_spec.rb +29 -29
- data/spec/02_slice_spec.rb +85 -85
- data/spec/blas_spec.rb +18 -18
- data/spec/elementwise_spec.rb +44 -44
- data/spec/io_spec.rb +31 -24
- data/spec/lapack_spec.rb +34 -34
- data/spec/math_spec.rb +61 -46
- data/spec/nmatrix_yale_spec.rb +35 -35
- data/spec/rspec_spec.rb +2 -2
- data/spec/shortcuts_spec.rb +66 -48
- data/spec/slice_set_spec.rb +31 -31
- data/spec/stat_spec.rb +40 -40
- data/spec/test.pcd +20 -0
- metadata +5 -2
data/spec/test.pcd
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
VERSION .7
|
2
|
+
FIELDS x y z intensity
|
3
|
+
SIZE 4 8 8 4
|
4
|
+
TYPE F U F I
|
5
|
+
COUNT 1 1 1 1
|
6
|
+
WIDTH 256 # comment here to challenge this thing
|
7
|
+
HEIGHT 256
|
8
|
+
VIEWPOINT 0 0 0 1 0 0 0
|
9
|
+
POINTS 10
|
10
|
+
DATA ASCII
|
11
|
+
207.008 207.058 1174 0
|
12
|
+
207.008 205.441 1174 0
|
13
|
+
207.008 203.823 1174 0
|
14
|
+
207.008 202.206 1174 0
|
15
|
+
207.008 200.589 1174 0
|
16
|
+
207.008 198.972 1174 0
|
17
|
+
207.008 197.354 1174 0
|
18
|
+
207.008 195.737 1174 0
|
19
|
+
207.008 194.12 1174 0
|
20
|
+
207.008 153.689 1174 0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nmatrix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Woods
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2014-03-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rdoc
|
@@ -199,6 +199,7 @@ files:
|
|
199
199
|
- lib/nmatrix/io/market.rb
|
200
200
|
- lib/nmatrix/io/mat5_reader.rb
|
201
201
|
- lib/nmatrix/io/mat_reader.rb
|
202
|
+
- lib/nmatrix/io/point_cloud.rb
|
202
203
|
- lib/nmatrix/lapack.rb
|
203
204
|
- lib/nmatrix/math.rb
|
204
205
|
- lib/nmatrix/monkeys.rb
|
@@ -231,6 +232,7 @@ files:
|
|
231
232
|
- spec/slice_set_spec.rb
|
232
233
|
- spec/spec_helper.rb
|
233
234
|
- spec/stat_spec.rb
|
235
|
+
- spec/test.pcd
|
234
236
|
- spec/utm5940.mtx
|
235
237
|
homepage: http://sciruby.com
|
236
238
|
licenses:
|
@@ -286,4 +288,5 @@ test_files:
|
|
286
288
|
- spec/slice_set_spec.rb
|
287
289
|
- spec/spec_helper.rb
|
288
290
|
- spec/stat_spec.rb
|
291
|
+
- spec/test.pcd
|
289
292
|
- spec/utm5940.mtx
|