nmatrix-atlas 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. checksums.yaml +7 -0
  2. data/ext/nmatrix/data/complex.h +364 -0
  3. data/ext/nmatrix/data/data.h +638 -0
  4. data/ext/nmatrix/data/meta.h +64 -0
  5. data/ext/nmatrix/data/ruby_object.h +389 -0
  6. data/ext/nmatrix/math/asum.h +120 -0
  7. data/ext/nmatrix/math/cblas_enums.h +36 -0
  8. data/ext/nmatrix/math/cblas_templates_core.h +507 -0
  9. data/ext/nmatrix/math/gemm.h +241 -0
  10. data/ext/nmatrix/math/gemv.h +178 -0
  11. data/ext/nmatrix/math/getrf.h +255 -0
  12. data/ext/nmatrix/math/getrs.h +121 -0
  13. data/ext/nmatrix/math/imax.h +79 -0
  14. data/ext/nmatrix/math/laswp.h +165 -0
  15. data/ext/nmatrix/math/long_dtype.h +49 -0
  16. data/ext/nmatrix/math/math.h +744 -0
  17. data/ext/nmatrix/math/nrm2.h +160 -0
  18. data/ext/nmatrix/math/rot.h +117 -0
  19. data/ext/nmatrix/math/rotg.h +106 -0
  20. data/ext/nmatrix/math/scal.h +71 -0
  21. data/ext/nmatrix/math/trsm.h +332 -0
  22. data/ext/nmatrix/math/util.h +148 -0
  23. data/ext/nmatrix/nm_memory.h +60 -0
  24. data/ext/nmatrix/nmatrix.h +408 -0
  25. data/ext/nmatrix/ruby_constants.h +106 -0
  26. data/ext/nmatrix/storage/common.h +176 -0
  27. data/ext/nmatrix/storage/dense/dense.h +128 -0
  28. data/ext/nmatrix/storage/list/list.h +137 -0
  29. data/ext/nmatrix/storage/storage.h +98 -0
  30. data/ext/nmatrix/storage/yale/class.h +1139 -0
  31. data/ext/nmatrix/storage/yale/iterators/base.h +142 -0
  32. data/ext/nmatrix/storage/yale/iterators/iterator.h +130 -0
  33. data/ext/nmatrix/storage/yale/iterators/row.h +449 -0
  34. data/ext/nmatrix/storage/yale/iterators/row_stored.h +139 -0
  35. data/ext/nmatrix/storage/yale/iterators/row_stored_nd.h +168 -0
  36. data/ext/nmatrix/storage/yale/iterators/stored_diagonal.h +123 -0
  37. data/ext/nmatrix/storage/yale/math/transpose.h +110 -0
  38. data/ext/nmatrix/storage/yale/yale.h +202 -0
  39. data/ext/nmatrix/types.h +54 -0
  40. data/ext/nmatrix/util/io.h +115 -0
  41. data/ext/nmatrix/util/sl_list.h +143 -0
  42. data/ext/nmatrix/util/util.h +78 -0
  43. data/ext/nmatrix_atlas/extconf.rb +250 -0
  44. data/ext/nmatrix_atlas/math_atlas.cpp +1206 -0
  45. data/ext/nmatrix_atlas/math_atlas/cblas_templates_atlas.h +72 -0
  46. data/ext/nmatrix_atlas/math_atlas/clapack_templates.h +332 -0
  47. data/ext/nmatrix_atlas/math_atlas/geev.h +82 -0
  48. data/ext/nmatrix_atlas/math_atlas/gesdd.h +83 -0
  49. data/ext/nmatrix_atlas/math_atlas/gesvd.h +81 -0
  50. data/ext/nmatrix_atlas/math_atlas/inc.h +47 -0
  51. data/ext/nmatrix_atlas/nmatrix_atlas.cpp +44 -0
  52. data/lib/nmatrix/atlas.rb +213 -0
  53. data/lib/nmatrix/lapack_ext_common.rb +69 -0
  54. data/spec/00_nmatrix_spec.rb +730 -0
  55. data/spec/01_enum_spec.rb +190 -0
  56. data/spec/02_slice_spec.rb +389 -0
  57. data/spec/03_nmatrix_monkeys_spec.rb +78 -0
  58. data/spec/2x2_dense_double.mat +0 -0
  59. data/spec/4x4_sparse.mat +0 -0
  60. data/spec/4x5_dense.mat +0 -0
  61. data/spec/blas_spec.rb +193 -0
  62. data/spec/elementwise_spec.rb +303 -0
  63. data/spec/homogeneous_spec.rb +99 -0
  64. data/spec/io/fortran_format_spec.rb +88 -0
  65. data/spec/io/harwell_boeing_spec.rb +98 -0
  66. data/spec/io/test.rua +9 -0
  67. data/spec/io_spec.rb +149 -0
  68. data/spec/lapack_core_spec.rb +482 -0
  69. data/spec/leakcheck.rb +16 -0
  70. data/spec/math_spec.rb +730 -0
  71. data/spec/nmatrix_yale_resize_test_associations.yaml +2802 -0
  72. data/spec/nmatrix_yale_spec.rb +286 -0
  73. data/spec/plugins/atlas/atlas_spec.rb +242 -0
  74. data/spec/rspec_monkeys.rb +56 -0
  75. data/spec/rspec_spec.rb +34 -0
  76. data/spec/shortcuts_spec.rb +310 -0
  77. data/spec/slice_set_spec.rb +157 -0
  78. data/spec/spec_helper.rb +140 -0
  79. data/spec/stat_spec.rb +203 -0
  80. data/spec/test.pcd +20 -0
  81. data/spec/utm5940.mtx +83844 -0
  82. metadata +159 -0
metadata ADDED
@@ -0,0 +1,159 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nmatrix-atlas
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - John Woods
8
+ - Chris Wailes
9
+ - Aleksey Timin
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2015-08-25 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: nmatrix
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - '='
20
+ - !ruby/object:Gem::Version
21
+ version: 0.2.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - '='
27
+ - !ruby/object:Gem::Version
28
+ version: 0.2.0
29
+ description: For using linear algebra fuctions provided by ATLAS
30
+ email:
31
+ - john.o.woods@gmail.com
32
+ executables: []
33
+ extensions:
34
+ - ext/nmatrix_atlas/extconf.rb
35
+ extra_rdoc_files: []
36
+ files:
37
+ - ext/nmatrix/data/complex.h
38
+ - ext/nmatrix/data/data.h
39
+ - ext/nmatrix/data/meta.h
40
+ - ext/nmatrix/data/ruby_object.h
41
+ - ext/nmatrix/math/asum.h
42
+ - ext/nmatrix/math/cblas_enums.h
43
+ - ext/nmatrix/math/cblas_templates_core.h
44
+ - ext/nmatrix/math/gemm.h
45
+ - ext/nmatrix/math/gemv.h
46
+ - ext/nmatrix/math/getrf.h
47
+ - ext/nmatrix/math/getrs.h
48
+ - ext/nmatrix/math/imax.h
49
+ - ext/nmatrix/math/laswp.h
50
+ - ext/nmatrix/math/long_dtype.h
51
+ - ext/nmatrix/math/math.h
52
+ - ext/nmatrix/math/nrm2.h
53
+ - ext/nmatrix/math/rot.h
54
+ - ext/nmatrix/math/rotg.h
55
+ - ext/nmatrix/math/scal.h
56
+ - ext/nmatrix/math/trsm.h
57
+ - ext/nmatrix/math/util.h
58
+ - ext/nmatrix/nm_memory.h
59
+ - ext/nmatrix/nmatrix.h
60
+ - ext/nmatrix/ruby_constants.h
61
+ - ext/nmatrix/storage/common.h
62
+ - ext/nmatrix/storage/dense/dense.h
63
+ - ext/nmatrix/storage/list/list.h
64
+ - ext/nmatrix/storage/storage.h
65
+ - ext/nmatrix/storage/yale/class.h
66
+ - ext/nmatrix/storage/yale/iterators/base.h
67
+ - ext/nmatrix/storage/yale/iterators/iterator.h
68
+ - ext/nmatrix/storage/yale/iterators/row.h
69
+ - ext/nmatrix/storage/yale/iterators/row_stored.h
70
+ - ext/nmatrix/storage/yale/iterators/row_stored_nd.h
71
+ - ext/nmatrix/storage/yale/iterators/stored_diagonal.h
72
+ - ext/nmatrix/storage/yale/math/transpose.h
73
+ - ext/nmatrix/storage/yale/yale.h
74
+ - ext/nmatrix/types.h
75
+ - ext/nmatrix/util/io.h
76
+ - ext/nmatrix/util/sl_list.h
77
+ - ext/nmatrix/util/util.h
78
+ - ext/nmatrix_atlas/extconf.rb
79
+ - ext/nmatrix_atlas/math_atlas.cpp
80
+ - ext/nmatrix_atlas/math_atlas/cblas_templates_atlas.h
81
+ - ext/nmatrix_atlas/math_atlas/clapack_templates.h
82
+ - ext/nmatrix_atlas/math_atlas/geev.h
83
+ - ext/nmatrix_atlas/math_atlas/gesdd.h
84
+ - ext/nmatrix_atlas/math_atlas/gesvd.h
85
+ - ext/nmatrix_atlas/math_atlas/inc.h
86
+ - ext/nmatrix_atlas/nmatrix_atlas.cpp
87
+ - lib/nmatrix/atlas.rb
88
+ - lib/nmatrix/lapack_ext_common.rb
89
+ - spec/00_nmatrix_spec.rb
90
+ - spec/01_enum_spec.rb
91
+ - spec/02_slice_spec.rb
92
+ - spec/03_nmatrix_monkeys_spec.rb
93
+ - spec/2x2_dense_double.mat
94
+ - spec/4x4_sparse.mat
95
+ - spec/4x5_dense.mat
96
+ - spec/blas_spec.rb
97
+ - spec/elementwise_spec.rb
98
+ - spec/homogeneous_spec.rb
99
+ - spec/io/fortran_format_spec.rb
100
+ - spec/io/harwell_boeing_spec.rb
101
+ - spec/io/test.rua
102
+ - spec/io_spec.rb
103
+ - spec/lapack_core_spec.rb
104
+ - spec/leakcheck.rb
105
+ - spec/math_spec.rb
106
+ - spec/nmatrix_yale_resize_test_associations.yaml
107
+ - spec/nmatrix_yale_spec.rb
108
+ - spec/plugins/atlas/atlas_spec.rb
109
+ - spec/rspec_monkeys.rb
110
+ - spec/rspec_spec.rb
111
+ - spec/shortcuts_spec.rb
112
+ - spec/slice_set_spec.rb
113
+ - spec/spec_helper.rb
114
+ - spec/stat_spec.rb
115
+ - spec/test.pcd
116
+ - spec/utm5940.mtx
117
+ homepage: http://sciruby.com
118
+ licenses:
119
+ - BSD 3-clause
120
+ metadata: {}
121
+ post_install_message:
122
+ rdoc_options: []
123
+ require_paths:
124
+ - lib
125
+ required_ruby_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '1.9'
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ requirements: []
136
+ rubyforge_project:
137
+ rubygems_version: 2.4.5
138
+ signing_key:
139
+ specification_version: 4
140
+ summary: ATLAS backend for nmatrix
141
+ test_files:
142
+ - spec/00_nmatrix_spec.rb
143
+ - spec/01_enum_spec.rb
144
+ - spec/02_slice_spec.rb
145
+ - spec/03_nmatrix_monkeys_spec.rb
146
+ - spec/blas_spec.rb
147
+ - spec/elementwise_spec.rb
148
+ - spec/homogeneous_spec.rb
149
+ - spec/io/fortran_format_spec.rb
150
+ - spec/io/harwell_boeing_spec.rb
151
+ - spec/io_spec.rb
152
+ - spec/lapack_core_spec.rb
153
+ - spec/math_spec.rb
154
+ - spec/nmatrix_yale_spec.rb
155
+ - spec/rspec_spec.rb
156
+ - spec/shortcuts_spec.rb
157
+ - spec/slice_set_spec.rb
158
+ - spec/stat_spec.rb
159
+ - spec/plugins/atlas/atlas_spec.rb