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.
- checksums.yaml +4 -4
- data/.travis.yml +0 -2
- data/README.md +5 -0
- data/documentacion/Gemfile.html +114 -0
- data/documentacion/Gemfile_lock.html +179 -0
- data/documentacion/Guardfile.html +144 -0
- data/documentacion/LICENSE_txt.html +131 -0
- data/documentacion/Object.html +224 -0
- data/documentacion/README_md.html +169 -0
- data/documentacion/Rakefile.html +119 -0
- data/documentacion/SparseMatrix/AbstractMatrix.html +418 -0
- data/documentacion/SparseMatrix/DenseMatrix.html +462 -0
- data/documentacion/SparseMatrix/Fraction.html +749 -0
- data/documentacion/SparseMatrix/SparseMatrix.html +553 -0
- data/documentacion/SparseMatrix/SparseVector.html +292 -0
- data/documentacion/SparseMatrix.html +226 -0
- data/documentacion/created.rid +13 -0
- data/documentacion/documentacion/created_rid.html +109 -0
- data/documentacion/images/add.png +0 -0
- data/documentacion/images/arrow_up.png +0 -0
- data/documentacion/images/brick.png +0 -0
- data/documentacion/images/brick_link.png +0 -0
- data/documentacion/images/bug.png +0 -0
- data/documentacion/images/bullet_black.png +0 -0
- data/documentacion/images/bullet_toggle_minus.png +0 -0
- data/documentacion/images/bullet_toggle_plus.png +0 -0
- data/documentacion/images/date.png +0 -0
- data/documentacion/images/delete.png +0 -0
- data/documentacion/images/find.png +0 -0
- data/documentacion/images/loadingAnimation.gif +0 -0
- data/documentacion/images/macFFBgHack.png +0 -0
- data/documentacion/images/package.png +0 -0
- data/documentacion/images/page_green.png +0 -0
- data/documentacion/images/page_white_text.png +0 -0
- data/documentacion/images/page_white_width.png +0 -0
- data/documentacion/images/plugin.png +0 -0
- data/documentacion/images/ruby.png +0 -0
- data/documentacion/images/tag_blue.png +0 -0
- data/documentacion/images/tag_green.png +0 -0
- data/documentacion/images/transparent.png +0 -0
- data/documentacion/images/wrench.png +0 -0
- data/documentacion/images/wrench_orange.png +0 -0
- data/documentacion/images/zoom.png +0 -0
- data/documentacion/index.html +106 -0
- data/documentacion/js/darkfish.js +155 -0
- data/documentacion/js/jquery.js +18 -0
- data/documentacion/js/navigation.js +142 -0
- data/documentacion/js/search.js +94 -0
- data/documentacion/js/search_index.js +1 -0
- data/documentacion/js/searcher.js +228 -0
- data/documentacion/rdoc.css +595 -0
- data/documentacion/sparse_matrix_gemspec.html +138 -0
- data/documentacion/table_of_contents.html +178 -0
- data/lib/sparse_matrix/version.rb +1 -1
- data/lib/sparse_matrix.rb +194 -162
- metadata +51 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58561bc7b4369a420f9518e3d68b25a6dfab2feb
|
4
|
+
data.tar.gz: 00ed579f42d05db9baa53fac03f4b8afe0388370
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c6315023ef848eb8c114d1d9c69ab5879f57d49b9e6dacae15df62ca4cd4513e171672a87257a8bb2aa87283d431261b13461ea9491cdc142970c083ddb273c
|
7
|
+
data.tar.gz: 18392a9935a362517d3ce092eed9cae9ce15d68a33fd92183609823bede31cb23ccf243c2c27ea7561056bd596d95e4bc193df37dfddf309f1fc9b5945582bc7
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -37,6 +37,11 @@ And then execute:
|
|
37
37
|
Or install it yourself as:
|
38
38
|
|
39
39
|
$ gem install sparse_matrix
|
40
|
+
##How to Use
|
41
|
+
require 'sparse_matrix'
|
42
|
+
DM = DenseMatrix.new(2,2,[[1.0,2.0],[4.0,5.0]])
|
43
|
+
SM = SparseMatrix::SparseMatrix.new(2,2,[[2.0,0.0],[4.0,0.0]])
|
44
|
+
SM+DM
|
40
45
|
## Authors
|
41
46
|
Kevin Robayna
|
42
47
|
Jose Antonio Rodriguez Leandro
|
@@ -0,0 +1,114 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>Gemfile - 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>source '<a href="https://rubygems.org">rubygems.org</a>'</p>
|
101
|
+
|
102
|
+
<p># Specify your gem's dependencies in <a
|
103
|
+
href="sparse_matrix_gemspec.html">sparse_matrix.gemspec</a> gemspec</p>
|
104
|
+
|
105
|
+
</div>
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
<footer id="validator-badges">
|
110
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
111
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.1.
|
112
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
113
|
+
</footer>
|
114
|
+
|
@@ -0,0 +1,179 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>Gemfile.lock - 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>PATH</p>
|
101
|
+
|
102
|
+
<pre>remote: .
|
103
|
+
specs:
|
104
|
+
sparse_matrix (1.5.0)</pre>
|
105
|
+
|
106
|
+
<p>GEM</p>
|
107
|
+
|
108
|
+
<pre>remote: https://rubygems.org/
|
109
|
+
specs:
|
110
|
+
celluloid (0.15.2)
|
111
|
+
timers (~> 1.1.0)
|
112
|
+
coderay (1.0.9)
|
113
|
+
diff-lcs (1.2.5)
|
114
|
+
ffi (1.9.3)
|
115
|
+
formatador (0.2.4)
|
116
|
+
guard (2.2.2)
|
117
|
+
formatador (>= 0.2.4)
|
118
|
+
listen (~> 2.1)
|
119
|
+
lumberjack (~> 1.0)
|
120
|
+
pry (>= 0.9.12)
|
121
|
+
thor (>= 0.18.1)
|
122
|
+
guard-bundler (2.0.0)
|
123
|
+
bundler (~> 1.0)
|
124
|
+
guard (~> 2.2)
|
125
|
+
guard-gitpusher (0.2.0)
|
126
|
+
guard (>= 0.2.0)
|
127
|
+
guard-rspec (4.0.4)
|
128
|
+
guard (>= 2.1.1)
|
129
|
+
rspec (~> 2.14)
|
130
|
+
listen (2.2.0)
|
131
|
+
celluloid (>= 0.15.2)
|
132
|
+
rb-fsevent (>= 0.9.3)
|
133
|
+
rb-inotify (>= 0.9)
|
134
|
+
lumberjack (1.0.4)
|
135
|
+
method_source (0.8.2)
|
136
|
+
pry (0.9.12.2)
|
137
|
+
coderay (~> 1.0.5)
|
138
|
+
method_source (~> 0.8)
|
139
|
+
slop (~> 3.4)
|
140
|
+
rake (10.1.0)
|
141
|
+
rb-fsevent (0.9.3)
|
142
|
+
rb-inotify (0.9.2)
|
143
|
+
ffi (>= 0.5.0)
|
144
|
+
rspec (2.14.1)
|
145
|
+
rspec-core (~> 2.14.0)
|
146
|
+
rspec-expectations (~> 2.14.0)
|
147
|
+
rspec-mocks (~> 2.14.0)
|
148
|
+
rspec-core (2.14.7)
|
149
|
+
rspec-expectations (2.14.4)
|
150
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
151
|
+
rspec-mocks (2.14.4)
|
152
|
+
slop (3.4.6)
|
153
|
+
thor (0.18.1)
|
154
|
+
timers (1.1.0)</pre>
|
155
|
+
|
156
|
+
<p>PLATFORMS</p>
|
157
|
+
|
158
|
+
<pre>ruby</pre>
|
159
|
+
|
160
|
+
<p>DEPENDENCIES</p>
|
161
|
+
|
162
|
+
<pre>bundler (~> 1.3)
|
163
|
+
guard
|
164
|
+
guard-bundler
|
165
|
+
guard-gitpusher
|
166
|
+
guard-rspec
|
167
|
+
rake
|
168
|
+
sparse_matrix!</pre>
|
169
|
+
|
170
|
+
</div>
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
<footer id="validator-badges">
|
175
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
176
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.1.
|
177
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
178
|
+
</footer>
|
179
|
+
|
@@ -0,0 +1,144 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>Guardfile - 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># A sample <a href="Guardfile.html">Guardfile</a> # More info at <a
|
101
|
+
href="https://github.com/guard/guard#readme">github.com/guard/guard#readme</a></p>
|
102
|
+
|
103
|
+
<p>guard :bundler do</p>
|
104
|
+
|
105
|
+
<pre>watch('Gemfile')
|
106
|
+
# Uncomment next line if your Gemfile contains the `gemspec' command.
|
107
|
+
# watch(/^.+\.gemspec/)</pre>
|
108
|
+
|
109
|
+
<p>end</p>
|
110
|
+
|
111
|
+
<p>guard :rspec do</p>
|
112
|
+
|
113
|
+
<pre class="ruby"><span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/.+_spec\.rb$}</span>)
|
114
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^lib/(.+)\.rb$}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-node">"spec/lib/#{m[1]}_spec.rb"</span> }
|
115
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-string">'spec/spec_helper.rb'</span>) { <span class="ruby-string">"spec"</span> }
|
116
|
+
|
117
|
+
<span class="ruby-comment"># Rails example</span>
|
118
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^app/(.+)\.rb$}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-node">"spec/#{m[1]}_spec.rb"</span> }
|
119
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^app/(.*)(\.erb|\.haml|\.slim)$}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-node">"spec/#{m[1]}#{m[2]}_spec.rb"</span> }
|
120
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^app/controllers/(.+)_(controller)\.rb$}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> [<span class="ruby-node">"spec/routing/#{m[1]}_routing_spec.rb"</span>, <span class="ruby-node">"spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb"</span>, <span class="ruby-node">"spec/acceptance/#{m[1]}_spec.rb"</span>] }
|
121
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/support/(.+)\.rb$}</span>) { <span class="ruby-string">"spec"</span> }
|
122
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-string">'config/routes.rb'</span>) { <span class="ruby-string">"spec/routing"</span> }
|
123
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-string">'app/controllers/application_controller.rb'</span>) { <span class="ruby-string">"spec/controllers"</span> }
|
124
|
+
|
125
|
+
<span class="ruby-comment"># Capybara features specs</span>
|
126
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^app/views/(.+)/.*\.(erb|haml|slim)$}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-node">"spec/features/#{m[1]}_spec.rb"</span> }
|
127
|
+
|
128
|
+
<span class="ruby-comment"># Turnip features and steps</span>
|
129
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/acceptance/(.+)\.feature$}</span>)
|
130
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/acceptance/steps/(.+)_steps\.rb$}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-constant">Dir</span>[<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-node">"**/#{m[1]}.feature"</span>)][<span class="ruby-value">0</span>] <span class="ruby-operator">||</span> <span class="ruby-string">'spec/acceptance'</span> }
|
131
|
+
</pre>
|
132
|
+
|
133
|
+
<p>end</p>
|
134
|
+
|
135
|
+
</div>
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
<footer id="validator-badges">
|
140
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
141
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.1.
|
142
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
143
|
+
</footer>
|
144
|
+
|
@@ -0,0 +1,131 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>LICENSE - 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>Copyright © 2013 KevinRobayna</p>
|
101
|
+
|
102
|
+
<p>MIT License</p>
|
103
|
+
|
104
|
+
<p>Permission is hereby granted, free of charge, to any person obtaining a
|
105
|
+
copy of this software and associated documentation files (the “Software”),
|
106
|
+
to deal in the Software without restriction, including without limitation
|
107
|
+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
108
|
+
and/or sell copies of the Software, and to permit persons to whom the
|
109
|
+
Software is furnished to do so, subject to the following conditions:</p>
|
110
|
+
|
111
|
+
<p>The above copyright notice and this permission notice shall be included in
|
112
|
+
all copies or substantial portions of the Software.</p>
|
113
|
+
|
114
|
+
<p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
115
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
116
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
117
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
118
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
119
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
120
|
+
DEALINGS IN THE SOFTWARE.</p>
|
121
|
+
|
122
|
+
</div>
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
<footer id="validator-badges">
|
127
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
128
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.1.
|
129
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
130
|
+
</footer>
|
131
|
+
|