sparse_matrix 1.5.0 → 1.6.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 (56) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +0 -2
  3. data/README.md +5 -0
  4. data/documentacion/Gemfile.html +114 -0
  5. data/documentacion/Gemfile_lock.html +179 -0
  6. data/documentacion/Guardfile.html +144 -0
  7. data/documentacion/LICENSE_txt.html +131 -0
  8. data/documentacion/Object.html +224 -0
  9. data/documentacion/README_md.html +169 -0
  10. data/documentacion/Rakefile.html +119 -0
  11. data/documentacion/SparseMatrix/AbstractMatrix.html +418 -0
  12. data/documentacion/SparseMatrix/DenseMatrix.html +462 -0
  13. data/documentacion/SparseMatrix/Fraction.html +749 -0
  14. data/documentacion/SparseMatrix/SparseMatrix.html +553 -0
  15. data/documentacion/SparseMatrix/SparseVector.html +292 -0
  16. data/documentacion/SparseMatrix.html +226 -0
  17. data/documentacion/created.rid +13 -0
  18. data/documentacion/documentacion/created_rid.html +109 -0
  19. data/documentacion/images/add.png +0 -0
  20. data/documentacion/images/arrow_up.png +0 -0
  21. data/documentacion/images/brick.png +0 -0
  22. data/documentacion/images/brick_link.png +0 -0
  23. data/documentacion/images/bug.png +0 -0
  24. data/documentacion/images/bullet_black.png +0 -0
  25. data/documentacion/images/bullet_toggle_minus.png +0 -0
  26. data/documentacion/images/bullet_toggle_plus.png +0 -0
  27. data/documentacion/images/date.png +0 -0
  28. data/documentacion/images/delete.png +0 -0
  29. data/documentacion/images/find.png +0 -0
  30. data/documentacion/images/loadingAnimation.gif +0 -0
  31. data/documentacion/images/macFFBgHack.png +0 -0
  32. data/documentacion/images/package.png +0 -0
  33. data/documentacion/images/page_green.png +0 -0
  34. data/documentacion/images/page_white_text.png +0 -0
  35. data/documentacion/images/page_white_width.png +0 -0
  36. data/documentacion/images/plugin.png +0 -0
  37. data/documentacion/images/ruby.png +0 -0
  38. data/documentacion/images/tag_blue.png +0 -0
  39. data/documentacion/images/tag_green.png +0 -0
  40. data/documentacion/images/transparent.png +0 -0
  41. data/documentacion/images/wrench.png +0 -0
  42. data/documentacion/images/wrench_orange.png +0 -0
  43. data/documentacion/images/zoom.png +0 -0
  44. data/documentacion/index.html +106 -0
  45. data/documentacion/js/darkfish.js +155 -0
  46. data/documentacion/js/jquery.js +18 -0
  47. data/documentacion/js/navigation.js +142 -0
  48. data/documentacion/js/search.js +94 -0
  49. data/documentacion/js/search_index.js +1 -0
  50. data/documentacion/js/searcher.js +228 -0
  51. data/documentacion/rdoc.css +595 -0
  52. data/documentacion/sparse_matrix_gemspec.html +138 -0
  53. data/documentacion/table_of_contents.html +178 -0
  54. data/lib/sparse_matrix/version.rb +1 -1
  55. data/lib/sparse_matrix.rb +194 -162
  56. metadata +51 -1
@@ -0,0 +1,224 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class Object - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "./";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="class">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="./index.html">Home</a>
28
+ <a href="./table_of_contents.html#classes">Classes</a>
29
+ <a href="./table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+
47
+
48
+ <div id="file-metadata">
49
+ <nav id="file-list-section" class="section">
50
+ <h3 class="section-header">Defined In</h3>
51
+ <ul>
52
+ <li>spec/sparsematrix_spec.rb
53
+ </ul>
54
+ </nav>
55
+
56
+
57
+ </div>
58
+
59
+ <div id="class-metadata">
60
+
61
+ <nav id="parent-class-section" class="section">
62
+ <h3 class="section-header">Parent</h3>
63
+
64
+ <p class="link">BasicObject
65
+
66
+ </nav>
67
+
68
+ <!-- Included Modules -->
69
+ <nav id="includes-section" class="section">
70
+ <h3 class="section-header">Included Modules</h3>
71
+
72
+ <ul class="link-list">
73
+
74
+
75
+ <li><a class="include" href="SparseMatrix.html">SparseMatrix</a>
76
+
77
+
78
+ </ul>
79
+ </nav>
80
+
81
+
82
+
83
+ </div>
84
+
85
+ <div id="project-metadata">
86
+ <nav id="fileindex-section" class="section project-section">
87
+ <h3 class="section-header">Pages</h3>
88
+
89
+ <ul>
90
+
91
+ <li class="file"><a href="./Gemfile.html">Gemfile</a>
92
+
93
+ <li class="file"><a href="./Gemfile_lock.html">Gemfile.lock</a>
94
+
95
+ <li class="file"><a href="./Guardfile.html">Guardfile</a>
96
+
97
+ <li class="file"><a href="./LICENSE_txt.html">LICENSE</a>
98
+
99
+ <li class="file"><a href="./README_md.html">README</a>
100
+
101
+ <li class="file"><a href="./Rakefile.html">Rakefile</a>
102
+
103
+ <li class="file"><a href="./documentacion/created_rid.html">created.rid</a>
104
+
105
+ <li class="file"><a href="./sparse_matrix_gemspec.html">sparse_matrix.gemspec</a>
106
+
107
+ </ul>
108
+ </nav>
109
+
110
+ <nav id="classindex-section" class="section project-section">
111
+ <h3 class="section-header">Class and Module Index</h3>
112
+
113
+ <ul class="link-list">
114
+
115
+ <li><a href="./Object.html">Object</a>
116
+
117
+ <li><a href="./SparseMatrix.html">SparseMatrix</a>
118
+
119
+ <li><a href="./SparseMatrix/AbstractMatrix.html">SparseMatrix::AbstractMatrix</a>
120
+
121
+ <li><a href="./SparseMatrix/DenseMatrix.html">SparseMatrix::DenseMatrix</a>
122
+
123
+ <li><a href="./SparseMatrix/Fraction.html">SparseMatrix::Fraction</a>
124
+
125
+ <li><a href="./SparseMatrix/SparseMatrix.html">SparseMatrix::SparseMatrix</a>
126
+
127
+ <li><a href="./SparseMatrix/SparseVector.html">SparseMatrix::SparseVector</a>
128
+
129
+ </ul>
130
+ </nav>
131
+
132
+ </div>
133
+ </nav>
134
+
135
+ <div id="documentation">
136
+ <h1 class="class">class Object</h1>
137
+
138
+ <div id="description" class="description">
139
+
140
+ </div><!-- description -->
141
+
142
+
143
+
144
+
145
+ <section id="5Buntitled-5D" class="documentation-section">
146
+
147
+
148
+
149
+
150
+
151
+ <!-- Constants -->
152
+ <section id="constants-list" class="section">
153
+ <h3 class="section-header">Constants</h3>
154
+ <dl>
155
+
156
+ <dt id="AA">AA
157
+
158
+ <dd class="description">
159
+
160
+
161
+ <dt id="DM">DM
162
+
163
+ <dd class="description">
164
+
165
+
166
+ <dt id="DMA">DMA
167
+
168
+ <dd class="description">
169
+
170
+
171
+ <dt id="DMB">DMB
172
+
173
+ <dd class="description">
174
+
175
+
176
+ <dt id="FA">FA
177
+
178
+ <dd class="description">
179
+
180
+
181
+ <dt id="FB">FB
182
+
183
+ <dd class="description">
184
+
185
+
186
+ <dt id="FRAC">FRAC
187
+
188
+ <dd class="description">
189
+
190
+
191
+ <dt id="SM">SM
192
+
193
+ <dd class="description">
194
+
195
+
196
+ <dt id="SV">SV
197
+
198
+ <dd class="description">
199
+
200
+
201
+ <dt id="SVF">SVF
202
+
203
+ <dd class="description">
204
+
205
+
206
+ </dl>
207
+ </section>
208
+
209
+
210
+
211
+
212
+ <!-- Methods -->
213
+
214
+ </section><!-- 5Buntitled-5D -->
215
+
216
+ </div><!-- documentation -->
217
+
218
+
219
+ <footer id="validator-badges">
220
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
221
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.1.
222
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
223
+ </footer>
224
+
@@ -0,0 +1,169 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>README - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "./";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
21
+
22
+
23
+ <body class="file">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="./index.html">Home</a>
28
+ <a href="./table_of_contents.html#classes">Classes</a>
29
+ <a href="./table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+
47
+ <div id="table-of-contents">
48
+ <nav class="section">
49
+ <h3 class="section-header">Table of Contents</h3>
50
+ <ul>
51
+ <li><a href="#label-SparseMatrix+%7BBuild+Status%7D%5Bhttps%3A%2F%2Ftravis-ci.org%2Fkevinrobayna%2FSparseMatrix%5D">SparseMatrix <a href="https://travis-ci.org/kevinrobayna/SparseMatrix.png?branch=master">{Build Status</a>]</a>
52
+ <li><a href="#label-RubyGems">RubyGems</a>
53
+ <li><a href="#label-Tree">Tree</a>
54
+ <li><a href="#label-Installation">Installation</a>
55
+ <li><a href="#label-Authors">Authors</a>
56
+ </ul>
57
+ </nav>
58
+ </div>
59
+
60
+
61
+ <div id="project-metadata">
62
+ <nav id="fileindex-section" class="section project-section">
63
+ <h3 class="section-header">Pages</h3>
64
+
65
+ <ul>
66
+
67
+ <li class="file"><a href="./Gemfile.html">Gemfile</a>
68
+
69
+ <li class="file"><a href="./Gemfile_lock.html">Gemfile.lock</a>
70
+
71
+ <li class="file"><a href="./Guardfile.html">Guardfile</a>
72
+
73
+ <li class="file"><a href="./LICENSE_txt.html">LICENSE</a>
74
+
75
+ <li class="file"><a href="./README_md.html">README</a>
76
+
77
+ <li class="file"><a href="./Rakefile.html">Rakefile</a>
78
+
79
+ <li class="file"><a href="./documentacion/created_rid.html">created.rid</a>
80
+
81
+ <li class="file"><a href="./sparse_matrix_gemspec.html">sparse_matrix.gemspec</a>
82
+
83
+ </ul>
84
+ </nav>
85
+
86
+ <nav id="classindex-section" class="section project-section">
87
+ <h3 class="section-header">Class and Module Index</h3>
88
+
89
+ <ul class="link-list">
90
+
91
+ <li><a href="./Object.html">Object</a>
92
+
93
+ <li><a href="./SparseMatrix.html">SparseMatrix</a>
94
+
95
+ <li><a href="./SparseMatrix/AbstractMatrix.html">SparseMatrix::AbstractMatrix</a>
96
+
97
+ <li><a href="./SparseMatrix/DenseMatrix.html">SparseMatrix::DenseMatrix</a>
98
+
99
+ <li><a href="./SparseMatrix/Fraction.html">SparseMatrix::Fraction</a>
100
+
101
+ <li><a href="./SparseMatrix/SparseMatrix.html">SparseMatrix::SparseMatrix</a>
102
+
103
+ <li><a href="./SparseMatrix/SparseVector.html">SparseMatrix::SparseVector</a>
104
+
105
+ </ul>
106
+ </nav>
107
+
108
+ </div>
109
+ </nav>
110
+
111
+ <div id="documentation" class="description">
112
+
113
+ <h1 id="label-SparseMatrix+%7BBuild+Status%7D%5Bhttps%3A%2F%2Ftravis-ci.org%2Fkevinrobayna%2FSparseMatrix%5D"><a href="SparseMatrix.html">SparseMatrix</a> <a href="https://travis-ci.org/kevinrobayna/SparseMatrix.png?branch=master">{Build Status</a>]<span><a href="#label-SparseMatrix+%7BBuild+Status%7D%5Bhttps%3A%2F%2Ftravis-ci.org%2Fkevinrobayna%2FSparseMatrix%5D">&para;</a> <a href="#documentation">&uarr;</a></span></h1>
114
+
115
+ <p>Build a sparce matrix from dense matrix</p>
116
+
117
+ <h2 id="label-RubyGems">RubyGems<span><a href="#label-RubyGems">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
118
+
119
+ <pre>https://rubygems.org/gems/sparse_matrix</pre>
120
+
121
+ <h2 id="label-Tree">Tree<span><a href="#label-Tree">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
122
+
123
+ <pre>.
124
+ ├── Gemfile
125
+ ├── Gemfile.lock
126
+ ├── Guardfile
127
+ ├── LICENSE.txt
128
+ ├── README.md
129
+ ├── Rakefile
130
+ ├── lib
131
+ │   ├── sparse_matrix
132
+ │   │   └── version.rb
133
+ │   └── sparse_matrix.rb
134
+ ├── pkg
135
+ │   └── sparse_matrix-0.0.1.gem
136
+ ├── sparse_matrix.gemspec
137
+ └── spec
138
+    ├── spec_helper.rb
139
+    └── sparsematrix_spec.rb</pre>
140
+
141
+ <h2 id="label-Installation">Installation<span><a href="#label-Installation">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
142
+
143
+ <p>Add this line to your application&#39;s Gemfile:</p>
144
+
145
+ <pre>gem &#39;sparse_matrix&#39;</pre>
146
+
147
+ <p>And then execute:</p>
148
+
149
+ <pre>$ bundle</pre>
150
+
151
+ <p>Or install it yourself as:</p>
152
+
153
+ <pre>$ gem install sparse_matrix</pre>
154
+
155
+ <h2 id="label-Authors">Authors<span><a href="#label-Authors">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
156
+
157
+ <pre>Kevin Robayna
158
+ Jose Antonio Rodriguez Leandro</pre>
159
+
160
+ </div>
161
+
162
+
163
+
164
+ <footer id="validator-badges">
165
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
166
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.1.
167
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
168
+ </footer>
169
+
@@ -0,0 +1,119 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>Rakefile - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "./";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
21
+
22
+
23
+ <body class="file">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="./index.html">Home</a>
28
+ <a href="./table_of_contents.html#classes">Classes</a>
29
+ <a href="./table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+
47
+
48
+ <div id="project-metadata">
49
+ <nav id="fileindex-section" class="section project-section">
50
+ <h3 class="section-header">Pages</h3>
51
+
52
+ <ul>
53
+
54
+ <li class="file"><a href="./Gemfile.html">Gemfile</a>
55
+
56
+ <li class="file"><a href="./Gemfile_lock.html">Gemfile.lock</a>
57
+
58
+ <li class="file"><a href="./Guardfile.html">Guardfile</a>
59
+
60
+ <li class="file"><a href="./LICENSE_txt.html">LICENSE</a>
61
+
62
+ <li class="file"><a href="./README_md.html">README</a>
63
+
64
+ <li class="file"><a href="./Rakefile.html">Rakefile</a>
65
+
66
+ <li class="file"><a href="./documentacion/created_rid.html">created.rid</a>
67
+
68
+ <li class="file"><a href="./sparse_matrix_gemspec.html">sparse_matrix.gemspec</a>
69
+
70
+ </ul>
71
+ </nav>
72
+
73
+ <nav id="classindex-section" class="section project-section">
74
+ <h3 class="section-header">Class and Module Index</h3>
75
+
76
+ <ul class="link-list">
77
+
78
+ <li><a href="./Object.html">Object</a>
79
+
80
+ <li><a href="./SparseMatrix.html">SparseMatrix</a>
81
+
82
+ <li><a href="./SparseMatrix/AbstractMatrix.html">SparseMatrix::AbstractMatrix</a>
83
+
84
+ <li><a href="./SparseMatrix/DenseMatrix.html">SparseMatrix::DenseMatrix</a>
85
+
86
+ <li><a href="./SparseMatrix/Fraction.html">SparseMatrix::Fraction</a>
87
+
88
+ <li><a href="./SparseMatrix/SparseMatrix.html">SparseMatrix::SparseMatrix</a>
89
+
90
+ <li><a href="./SparseMatrix/SparseVector.html">SparseMatrix::SparseVector</a>
91
+
92
+ </ul>
93
+ </nav>
94
+
95
+ </div>
96
+ </nav>
97
+
98
+ <div id="documentation" class="description">
99
+
100
+ <p>#!/usr/bin/env rake require “bundler/gem_tasks”</p>
101
+
102
+ <p>$:.unshift File.dirname(__FILE__) + &#39;lib&#39; require
103
+ &#39;rspec/core/rake_task&#39; RSpec::Core::RakeTask.new task :default
104
+ =&gt; :spec desc “Ejecucion de pruebas rspec” task :spec do</p>
105
+
106
+ <pre>sh &quot;rspec --color --format documentation -Ilib -Ispec spec/sparsematrix_spec.rb&quot;</pre>
107
+
108
+ <p>end</p>
109
+
110
+ </div>
111
+
112
+
113
+
114
+ <footer id="validator-badges">
115
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
116
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.1.
117
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
118
+ </footer>
119
+